1 /** @file ntlv.h
2  * Name Type Length Value data field wrapper.
3  */
4 #ifndef	RAZORBACK_STRING_LIST_H
5 #define	RAZORBACK_STRING_LIST_H
6 #include <razorback/visibility.h>
7 #include <razorback/types.h>
8 
9 #ifdef __cplusplus
10 extern "C" {
11 #endif
12 
13 SO_PUBLIC extern struct List * StringList_Create(void);
14 /** Add a new entry to a user data list
15  * @param *p_pList The destination
16  * @param string The string to add.
17  * @return true on success, false on failure.
18  */
19 SO_PUBLIC extern bool StringList_Add (struct List *p_pList, const char *string);
20 
21 
22 #if 0
23 SO_PUBLIC extern bool NTLVList_Get (struct List *p_pList, uuid_t uuidName,
24                           uuid_t uuidType, uint32_t *p_iSize,
25                           const uint8_t ** p_pData);
26 #endif
27 /** Get the size of the items in a list
28  * @param *p_pList The list
29  * @return The size of the items in the list.
30  */
31 SO_PUBLIC extern uint32_t StringList_Size (struct List *list);
32 
33 #ifdef __cplusplus
34 }
35 #endif
36 #endif
37