Mayaqua/Memory: move and adapt entry list functions from Cedar/Proto_OpenVPN

This commit is contained in:
Davide Beatrici committed 2018-10-06 22:41:35 +02:00
1 parent 2271bf5fba
commit 9970d6f657
4 files changed
+92 -79

No files matched your search

+5
View File
@@ -380,6 +380,11 @@ LIST *NewListFast(COMPARE *cmp);
LIST *NewListEx(COMPARE *cmp, bool fast);
LIST *NewListEx2(COMPARE *cmp, bool fast, bool fast_malloc);
LIST *NewListSingle(void *p);
LIST *NewEntryList(char *src, char *key_separator, char *value_separator);
bool EntryListHasKey(LIST *o, char *key);
char *EntryListStrValue(LIST *o, char *key);
UINT EntryListIntValue(LIST *o, char *key);
void FreeEntryList(LIST *o);
LIST *CloneList(LIST *o);
void CopyToArray(LIST *o, void *p);
void *ToArray(LIST *o);