]> wimlib.net Git - wimlib/blobdiff - include/wimlib/textfile.h
Add randomized testing program
[wimlib] / include / wimlib / textfile.h
index b4e3885a536e08968718387ab940a43a9ce9d98d..5854abb584fb887b035afc4932f1b65da23e3e84 100644 (file)
@@ -1,26 +1,26 @@
 #ifndef _WIMLIB_TEXTFILE_H_
 #define _WIMLIB_TEXTFILE_H_
 
-#include <wimlib/types.h>
+#include "wimlib/types.h"
 
-struct string_set {
+struct string_list {
        tchar **strings;
        size_t num_strings;
        size_t num_alloc_strings;
 };
 
-#define STRING_SET_INITIALIZER \
+#define STRING_LIST_INITIALIZER \
        { .strings = NULL, .num_strings = 0, .num_alloc_strings = 0, }
 
-#define STRING_SET(_strings) \
-       struct string_set _strings = STRING_SET_INITIALIZER
+#define STRING_LIST(_strings) \
+       struct string_list _strings = STRING_LIST_INITIALIZER
 
 typedef int (*line_mangle_t)(tchar *line, const tchar *filename,
                             unsigned long line_no);
 
 struct text_file_section {
        const tchar *name;
-       struct string_set *strings;
+       struct string_list *strings;
 };
 
 #define LOAD_TEXT_FILE_REMOVE_QUOTES 0x00000001