X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fdata%2Fdictionary.h;h=570ee4620b8f2920048cd24279caccfcd36dbd83;hb=8021cf8974a46fe82af7b8952e448c0ea6858a48;hp=29f8d7caa30a7cf858019dad4ec63cc5dcc48afc;hpb=fad7434e2db08ed248228e03533b314b8335ef2f;p=pspp-builds.git diff --git a/src/data/dictionary.h b/src/data/dictionary.h index 29f8d7ca..570ee462 100644 --- a/src/data/dictionary.h +++ b/src/data/dictionary.h @@ -26,6 +26,7 @@ struct variable; struct dictionary; +struct string; struct dict_callbacks { @@ -123,8 +124,16 @@ void dict_unset_split_var (struct dictionary *d, const char *dict_get_label (const struct dictionary *); void dict_set_label (struct dictionary *, const char *); +/* Fixed length of lines in dictionary documents. */ +#define DOC_LINE_LENGTH 80 + const char *dict_get_documents (const struct dictionary *); void dict_set_documents (struct dictionary *, const char *); +void dict_clear_documents (struct dictionary *); +void dict_add_document_line (struct dictionary *, const char *); +size_t dict_get_document_line_cnt (const struct dictionary *); +void dict_get_document_line (const struct dictionary *, + size_t, struct string *); bool dict_create_vector (struct dictionary *, const char *name,