Getters on string_list.
More...
Getters on string_list.
- Since
- version
1.0.0
Getters on string_list:
| ssize_t string_list_index |
( |
string_list * |
list, |
|
|
const char * |
s |
|
) |
| |
|
related |
Index of a string in a string list.
- Since
- version
1.0.0
- Parameters
-
| list | String list. |
| s | String to append. |
- Returns
- Index of the first occurence of the string if it exists.
- Return values
-
| -1 | if the string does not exist. |
| const char * string_list_parameter |
( |
string_list * |
list, |
|
|
ssize_t |
place |
|
) |
| |
|
related |
Get the string at an index.
- Since
- version
1.0.0
- Parameters
-
| list | String list. |
| place | Index. |
- Returns
- The string at the index.
- Return values
-
| NULL | if the index is too big. |