Delete trailing whitespace at end of lines.
[pspp-builds.git] / src / data / dictionary.h
index 29f8d7caa30a7cf858019dad4ec63cc5dcc48afc..e8f6fb170b662b853447ff0d8b5ad876e01eaed8 100644 (file)
@@ -26,6 +26,7 @@
 
 struct variable;
 struct dictionary;
+struct string;
 
 struct dict_callbacks
  {
@@ -89,7 +90,7 @@ bool dict_rename_vars (struct dictionary *,
 
 struct ccase;
 struct variable *dict_get_weight (const struct dictionary *);
-double dict_get_case_weight (const struct dictionary *, 
+double dict_get_case_weight (const struct dictionary *,
                             const struct ccase *, bool *);
 void dict_set_weight (struct dictionary *, struct variable *);
 
@@ -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,