string-list.h File Reference

String list functions. More...

## Data Structures

struct | stp_param_string_t
| String parameter. More...

## Typedefs

typedef struct stp_string_list | stp_string_list_t
| The string_list opaque data type. More...

## Functions

stp_string_list_t * | stp_string_list_create (void)
void | stp_string_list_destroy (stp_string_list_t *list)
stp_param_string_t * | stp_string_list_param (const stp_string_list_t *list, size_t element)
stp_param_string_t * | stp_string_list_find (const stp_string_list_t *list, const char *name)
size_t | stp_string_list_count (const stp_string_list_t *list)
stp_string_list_t * | stp_string_list_create_copy (const stp_string_list_t *list)
void | stp_string_list_add_string (stp_string_list_t *list, const char *name, const char *text)
void | stp_string_list_add_string_unsafe (stp_string_list_t *list, const char *name, const char *text)
void | stp_string_list_remove_string (stp_string_list_t *list, const char *name)
stp_string_list_t * | stp_string_list_create_from_params (const stp_param_string_t *list, size_t count)
int | stp_string_list_is_present (const stp_string_list_t *list, const char *value)

## Detailed Description

String list functions.

## Typedef Documentation

## stp_string_list_t

typedef struct stp_string_list stp_string_list_t

The string_list opaque data type.

## Function Documentation

## stp_string_list_add_string()

void stp_string_list_add_string | ( | stp_string_list_t * | list,
|  | const char * | name,
|  | const char * | text
| ) |  |

## stp_string_list_add_string_unsafe()

void stp_string_list_add_string_unsafe | ( | stp_string_list_t * | list,
|  | const char * | name,
|  | const char * | text
| ) |  |

## stp_string_list_count()

size_t stp_string_list_count | ( | const stp_string_list_t * | list | ) |

## stp_string_list_create()

stp_string_list_t* stp_string_list_create | ( | void |  | ) |

## stp_string_list_create_copy()

stp_string_list_t* stp_string_list_create_copy | ( | const stp_string_list_t * | list | ) |

## stp_string_list_create_from_params()

stp_string_list_t* stp_string_list_create_from_params | ( | const stp_param_string_t * | list,
|  | size_t | count
| ) |  |

## stp_string_list_destroy()

void stp_string_list_destroy | ( | stp_string_list_t * | list | ) |

## stp_string_list_find()

stp_param_string_t* stp_string_list_find | ( | const stp_string_list_t * | list,
|  | const char * | name
| ) |  |

## stp_string_list_is_present()

int stp_string_list_is_present | ( | const stp_string_list_t * | list,
|  | const char * | value
| ) |  |

## stp_string_list_param()

stp_param_string_t* stp_string_list_param | ( | const stp_string_list_t * | list,
|  | size_t | element
| ) |  |

## stp_string_list_remove_string()

void stp_string_list_remove_string | ( | stp_string_list_t * | list,
|  | const char * | name
| ) |  |