#include <libmemo.h>
Data Fields | |
memo_database * | db |
A database which contains the word. | |
unsigned long | db_last_change |
Last seen value of memo_database::last_change. | |
int | key |
Word's unique key. | |
unsigned | negative_answers |
Negative answers count. | |
unsigned | positive_answers |
Positive answers count. | |
memo_translation * | translations |
Linked list of translations' keys. | |
char * | value |
Word's value. |
Follows an active record pattern.
A database which contains the word.
unsigned long memo_word::db_last_change |
Last seen value of memo_database::last_change.
It gets updated after each call to functions that update the word's row in the database.
int memo_word::key |
Word's unique key.
unsigned memo_word::negative_answers |
Negative answers count.
unsigned memo_word::positive_answers |
Positive answers count.
Linked list of translations' keys.
char* memo_word::value |
Word's value.