libamxc  1.10.3
C Generic Data Containers
amxc_utils.h File Reference

Go to the source code of this file.

Functions

int amxc_string_resolve_esc (amxc_string_t *const string)
 Resolves escaped characters in a string. More...
 
int amxc_string_esc (amxc_string_t *const string)
 Add escape characters to a string. More...
 
int amxc_string_resolve_env (amxc_string_t *const string)
 Resolves environment variables. More...
 
int amxc_string_resolve_var (amxc_string_t *const string, const amxc_var_t *const data)
 Resolves variant path variables. More...
 
int amxc_string_resolve (amxc_string_t *const string, const amxc_var_t *const data)
 Resolves variant paths and environment variables. More...
 
int amxc_string_set_resolved (amxc_string_t *string, const char *text, const amxc_var_t *const data)
 Sets the resolved string. More...
 
int amxc_string_new_resolved (amxc_string_t **string, const char *text, const amxc_var_t *const data)
 Sets the resolved string. More...
 
amxc_llist_it_tamxc_llist_add_string (amxc_llist_t *const llist, const char *text)
 Adds a string (char*) to a linked list of amxc_string_t structures. More...
 
void amxc_string_list_it_free (amxc_llist_it_t *it)
 Helper function to delete an item in a linked list. More...