|
Defines |
#define | LINGOTEACH_H 1 |
Functions |
lingConfig * | ling_conf_init_config (lingchar *name, lingchar *file, const lingchar *lang_dtd, const lingchar *lesson_dtd) |
void | ling_conf_free_config (lingConfig *settings) |
lingchar ** | ling_lang_get_languages (lingConfig *settings) |
int | ling_lang_get_language_amount (lingConfig *settings) |
lingchar * | ling_lang_get_lang_translation (lingConfig *settings, lingchar *language, lingchar *translation) |
lingchar * | ling_lang_get_trans_language (lingConfig *settings, lingchar *translation, lingchar *language) |
lingchar ** | ling_lang_get_lang_translations (lingConfig *settings, lingchar **languages, lingchar *translation) |
lingLesson * | ling_lesson_new (void) |
void | ling_lesson_free (lingLesson *lesson) |
lingLesson * | ling_lesson_create (char *filename, lingConfig *settings) |
lingLesson * | ling_lesson_add (lingLesson *list, lingLesson *lesson) |
lingLesson * | ling_lesson_remove (lingLesson *lesson, lingLesson *node) |
char * | ling_lesson_get_path (lingLesson *lesson) |
char * | ling_lesson_set_path (lingLesson *lesson, char *path) |
int | ling_lesson_get_last_meaning_id (lingLesson *lesson) |
int | ling_lesson_get_meaning_amount (lingLesson *lesson) |
int | ling_lesson_get_translation_amount (lingLesson *lesson) |
lingbool | ling_lesson_save_lesson (lingLesson *lesson, char *filename) |
char * | ling_lesson_create_template (char *filename, int meanings, lingConfig *settings) |
lingMeaning * | ling_lesson_create_tree (lingLesson *lesson) |
lingMeaning * | ling_meaning_new (void) |
lingMInfo * | ling_meaning_info_new (void) |
lingMeaning * | ling_meaning_get_by_id (lingLesson *lesson, unsigned int id, lingchar *language) |
lingMInfo * | ling_meaning_get_information (lingMeaning *meaning) |
lingchar * | ling_meaning_get_description (lingMeaning *meaning) |
lingchar * | ling_meaning_get_phonetic (lingMeaning *meaning) |
void | ling_meaning_free (lingMeaning *meaning) |
lingMeaning * | ling_meaning_free_1 (lingMeaning *tree, lingMeaning *node) |
void | ling_meaning_info_free (lingMInfo *info) |
lingLesson * | ling_meaning_create_lesson (lingMeaning *meaning, lingConfig *settings, lingchar *type, lingchar *sound) |
lingMeaning * | ling_meaning_add (lingMeaning *tree, lingMeaning *meaning) |
lingMeaning * | ling_meaning_insert_after (lingMeaning *tree, lingMeaning *parent, lingMeaning *child) |
lingMeaning * | ling_meaning_replace (lingMeaning *tree, unsigned int id, lingMeaning *meaning) |
lingchar * | ling_meaning_get_sound (lingMeaning *meaning) |
lingchar ** | ling_meaning_get_images (lingMeaning *meaning) |
void * | ling_malloc (size_t size) |
void | ling_free (void *ptr) |
void | ling_strings_free (lingchar **array) |