26 #ifndef _RNR_DLISTSTR_H 27 #define _RNR_DLISTSTR_H 34 #define DLIST_DNAME Str 35 #define DLIST_DTYPE char
53 return strcmp(sData1, sData2);
78 fprintf(fp,
"%s", sData);
99 #endif // _RNR_DLISTSTR_H static void DListStrDataDelete(char *sData)
Node data delete callback.
static int DListStrDataCmp(const char *sData1, const char *sData2)
Node data comparator callback.
Memory allocation and deallocation declarations.
#define C_DECLS_BEGIN
C declaration block begin in C.
Doubly linked list (dlist) of data pointers #defines, types, and declarations.
#define C_DECLS_END
C declaration block end in C.
static DListStr_T * DListStrNewDft()
Allocator and initializer new empty string dlist with default callbacks.
static void DListStrDataPrint(FILE *fp, char *sData)
Print node data callback.