sanskrit-iast/syllable.h

20 lines
439 B
C
Raw Normal View History

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);
unsigned int 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 */