Functions | |
| StringList_t * | slCreate (void) |
| Create a string list "object". | |
| void | slDelete (StringList_t *list) |
| Delete string list object. | |
| int | slGetNumEntries (StringList_t *list) |
| Return number of entries. | |
| int | slAddEntry (StringList_t *list, const char *string) |
| Adds a String to the end of the list. | |
| char * | slGetEntry (StringList_t *list, int index) |
| Returns an entry of the list. | |
| int | slRemoveEntry (StringList_t *list, int index) |
| Removes a String to the list. | |
| int | slFreeEntry (StringList_t *list, int index) |
| Removes a String to the list and frees the string's memory. | |
| StringList_t* slCreate | ( | void | ) |
Create a string list "object".
| void slDelete | ( | StringList_t * | list | ) |
Delete string list object.
| list | Pointer to the string list "object" structure |
| int slGetNumEntries | ( | StringList_t * | list | ) |
Return number of entries.
| list | Pointer to the string list "object" structure |
| int slAddEntry | ( | StringList_t * | list, | |
| const char * | string | |||
| ) |
Adds a String to the end of the list.
| list | Pointer to the list "object" structure | |
| string | The String to be saved |
| char* slGetEntry | ( | StringList_t * | list, | |
| int | index | |||
| ) |
Returns an entry of the list.
| list | Pointer to the list "object" structure | |
| index | The index in the list. If index is negative, the index is counted backwars, i.e. -1 is the last string |
| int slRemoveEntry | ( | StringList_t * | list, | |
| int | index | |||
| ) |
Removes a String to the list.
| list | Pointer to the StringList_t "object" structure | |
| index | The index in the list to be removed. If index is negative, the index is counted backwars, i.e. -1 is the last string |
| int slFreeEntry | ( | StringList_t * | list, | |
| int | index | |||
| ) |
Removes a String to the list and frees the string's memory.
| list | Pointer to the StringList_t "object" structure | |
| index | The index in the list to be removed. If index is negative, the index is counted backwars, i.e. -1 is the last string |
Generated by
|
|