2018-04-25 19:30:49 +02:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0 */
|
|
|
|
|
2018-04-25 15:16:12 +02:00
|
|
|
#ifndef __SYLLABE_H
|
|
|
|
#define __SYLLABE_H
|
|
|
|
|
|
|
|
struct syllable {
|
|
|
|
char *data;
|
|
|
|
struct syllable *next;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct syllable *syllable_alloc();
|
|
|
|
void syllable_drop(struct syllable *syllable);
|
|
|
|
|
|
|
|
struct syllable *syllable_append(struct syllable *tail, const char *data);
|
|
|
|
|
2018-04-25 15:29:24 +02:00
|
|
|
unsigned long syllable_chain_length(struct syllable *head);
|
|
|
|
char *syllable_chain_to_string(struct syllable *head);
|
|
|
|
|
2018-04-25 15:16:12 +02:00
|
|
|
#endif /* __SYLLABE_H */
|