![]() |
librnr
1.14.5
RoadNarrows Robotics Common Library 1
|
Doubly linked list of character strings "inherited" from dlistvoid. More...
Go to the source code of this file.
Macros | |
| #define | DLIST_DNAME Str |
| dlist namespace name | |
| #define | DLIST_DTYPE char |
| dlist data type | |
Functions | |
| static int | DListStrDataCmp (const char *sData1, const char *sData2) |
| Node data comparator callback. More... | |
| static void | DListStrDataDelete (char *sData) |
| Node data delete callback. More... | |
| static void | DListStrDataPrint (FILE *fp, char *sData) |
| Print node data callback. More... | |
| static DListStr_T * | DListStrNewDft () |
| Allocator and initializer new empty string dlist with default callbacks. More... | |
Doubly linked list of character strings "inherited" from dlistvoid.
—
Definition in file dliststr.h.
|
inlinestatic |
Node data comparator callback.
| sData1 | Node 1 string data. |
| sData2 | Node 2 string data. |
Definition at line 51 of file dliststr.h.
Referenced by DListStrNewDft().
|
inlinestatic |
Node data delete callback.
| sData | Node string data. |
Definition at line 61 of file dliststr.h.
Referenced by DListStrNewDft().
|
inlinestatic |
Print node data callback.
| fp | File stream pointer. |
| sData | Node string data. |
Definition at line 74 of file dliststr.h.
References NULL.
Referenced by NewSearchPathDList().
|
inlinestatic |
Allocator and initializer new empty string dlist with default callbacks.
Default user string comparator function is strcmp(). Default string data deallocator function is delete().
Definition at line 91 of file dliststr.h.
References C_DECLS_END, DListStrDataCmp(), and DListStrDataDelete().
Referenced by NewSearchPathDList(), and test_dlist().