X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=string-list.h;h=494693898b89fe2f8145b483ea7e366e9b1192c1;hb=fd5c363da4635d81f29193ae19d8fa7b5657ab39;hp=a37cae599ab61d3d09b08a9cc67e99841cfa6ed6;hpb=c1807defb83299dd85117c0e6b94fb7d4ade97c7;p=git.git diff --git a/string-list.h b/string-list.h index a37cae599..494693898 100644 --- a/string-list.h +++ b/string-list.h @@ -12,6 +12,9 @@ struct string_list unsigned int strdup_strings:1; }; +#define STRING_LIST_INIT_NODUP { NULL, 0, 0, 0 } +#define STRING_LIST_INIT_DUP { NULL, 0, 0, 1 } + void print_string_list(const struct string_list *p, const char *text); void string_list_clear(struct string_list *list, int free_util);