libweed 0.6.0

- Main Page
- Data Structures
- Files

- File List
- Globals

All Data Structures Files Functions Variables Typedefs Macros
Functions
weed-utils.h File Reference
`#include <weed/weed.h>`

Go to the source code of this file.

## Functions
int | weed_plant_has_leaf (weed_plant_t *plant, const char *key)
int | weed_set_int_value (weed_plant_t *plant, const char *key, int value)
int | weed_set_double_value (weed_plant_t *plant, const char *key, double value)
int | weed_set_boolean_value (weed_plant_t *plant, const char *key, int value)
int | weed_set_int64_value (weed_plant_t *plant, const char *key, int64_t value)
int | weed_set_string_value (weed_plant_t *plant, const char *key, const char *value)
int | weed_set_plantptr_value (weed_plant_t *plant, const char *key, weed_plant_t *value)
int | weed_set_voidptr_value (weed_plant_t *plant, const char *key, void *value)
int | weed_get_int_value (weed_plant_t *plant, const char *key, int *error)
double | weed_get_double_value (weed_plant_t *plant, const char *key, int *error)
int | weed_get_boolean_value (weed_plant_t *plant, const char *key, int *error)
int64_t | weed_get_int64_value (weed_plant_t *plant, const char *key, int *error)
char * | weed_get_string_value (weed_plant_t *plant, const char *key, int *error)
void * | weed_get_voidptr_value (weed_plant_t *plant, const char *key, int *error)
weed_plant_t * | weed_get_plantptr_value (weed_plant_t *plant, const char *key, int *error)
int * | weed_get_int_array (weed_plant_t *plant, const char *key, int *error)
double * | weed_get_double_array (weed_plant_t *plant, const char *key, int *error)
int * | weed_get_boolean_array (weed_plant_t *plant, const char *key, int *error)
int64_t * | weed_get_int64_array (weed_plant_t *plant, const char *key, int *error)
char ** | weed_get_string_array (weed_plant_t *plant, const char *key, int *error)
void ** | weed_get_voidptr_array (weed_plant_t *plant, const char *key, int *error)
weed_plant_t ** | weed_get_plantptr_array (weed_plant_t *plant, const char *key, int *error)
int | weed_set_int_array (weed_plant_t *plant, const char *key, int num_elems, int *values)
int | weed_set_double_array (weed_plant_t *plant, const char *key, int num_elems, double *values)
int | weed_set_boolean_array (weed_plant_t *plant, const char *key, int num_elems, int *values)
int | weed_set_int64_array (weed_plant_t *plant, const char *key, int num_elems, int64_t *values)
int | weed_set_string_array (weed_plant_t *plant, const char *key, int num_elems, char **values)
int | weed_set_voidptr_array (weed_plant_t *plant, const char *key, int num_elems, void **values)
int | weed_set_plantptr_array (weed_plant_t *plant, const char *key, int num_elems, weed_plant_t **values)
int | weed_leaf_copy (weed_plant_t *dest, const char *keyt, weed_plant_t *src, const char *keyf)
weed_plant_t * | weed_plant_copy (weed_plant_t *src)
int | weed_get_plant_type (weed_plant_t *plant)

## Function Documentation

int* weed_get_boolean_array | ( | weed_plant_t * | plant,
|  | const char * | key,
|  | int * | error
| ) |  |

int weed_get_boolean_value | ( | weed_plant_t * | plant,
|  | const char * | key,
|  | int * | error
| ) |  |

double* weed_get_double_array | ( | weed_plant_t * | plant,
|  | const char * | key,
|  | int * | error
| ) |  |

double weed_get_double_value | ( | weed_plant_t * | plant,
|  | const char * | key,
|  | int * | error
| ) |  |

int64_t* weed_get_int64_array | ( | weed_plant_t * | plant,
|  | const char * | key,
|  | int * | error
| ) |  |

int64_t weed_get_int64_value | ( | weed_plant_t * | plant,
|  | const char * | key,
|  | int * | error
| ) |  |

int* weed_get_int_array | ( | weed_plant_t * | plant,
|  | const char * | key,
|  | int * | error
| ) |  |

int weed_get_int_value | ( | weed_plant_t * | plant,
|  | const char * | key,
|  | int * | error
| ) |  |

int weed_get_plant_type | ( | weed_plant_t * | plant | ) |

weed_plant_t** weed_get_plantptr_array | ( | weed_plant_t * | plant,
|  | const char * | key,
|  | int * | error
| ) |  |

weed_plant_t* weed_get_plantptr_value | ( | weed_plant_t * | plant,
|  | const char * | key,
|  | int * | error
| ) |  |

char** weed_get_string_array | ( | weed_plant_t * | plant,
|  | const char * | key,
|  | int * | error
| ) |  |

char* weed_get_string_value | ( | weed_plant_t * | plant,
|  | const char * | key,
|  | int * | error
| ) |  |

void** weed_get_voidptr_array | ( | weed_plant_t * | plant,
|  | const char * | key,
|  | int * | error
| ) |  |

void* weed_get_voidptr_value | ( | weed_plant_t * | plant,
|  | const char * | key,
|  | int * | error
| ) |  |

int weed_leaf_copy | ( | weed_plant_t * | dest,
|  | const char * | keyt,
|  | weed_plant_t * | src,
|  | const char * | keyf
| ) |  |

weed_plant_t* weed_plant_copy | ( | weed_plant_t * | src | ) |

int weed_plant_has_leaf | ( | weed_plant_t * | plant,
|  | const char * | key
| ) |  |

int weed_set_boolean_array | ( | weed_plant_t * | plant,
|  | const char * | key,
|  | int | num_elems,
|  | int * | values
| ) |  |

int weed_set_boolean_value | ( | weed_plant_t * | plant,
|  | const char * | key,
|  | int | value
| ) |  |

int weed_set_double_array | ( | weed_plant_t * | plant,
|  | const char * | key,
|  | int | num_elems,
|  | double * | values
| ) |  |

int weed_set_double_value | ( | weed_plant_t * | plant,
|  | const char * | key,
|  | double | value
| ) |  |

int weed_set_int64_array | ( | weed_plant_t * | plant,
|  | const char * | key,
|  | int | num_elems,
|  | int64_t * | values
| ) |  |

int weed_set_int64_value | ( | weed_plant_t * | plant,
|  | const char * | key,
|  | int64_t | value
| ) |  |

int weed_set_int_array | ( | weed_plant_t * | plant,
|  | const char * | key,
|  | int | num_elems,
|  | int * | values
| ) |  |

int weed_set_int_value | ( | weed_plant_t * | plant,
|  | const char * | key,
|  | int | value
| ) |  |

int weed_set_plantptr_array | ( | weed_plant_t * | plant,
|  | const char * | key,
|  | int | num_elems,
|  | weed_plant_t ** | values
| ) |  |

int weed_set_plantptr_value | ( | weed_plant_t * | plant,
|  | const char * | key,
|  | weed_plant_t * | value
| ) |  |

int weed_set_string_array | ( | weed_plant_t * | plant,
|  | const char * | key,
|  | int | num_elems,
|  | char ** | values
| ) |  |

int weed_set_string_value | ( | weed_plant_t * | plant,
|  | const char * | key,
|  | const char * | value
| ) |  |

int weed_set_voidptr_array | ( | weed_plant_t * | plant,
|  | const char * | key,
|  | int | num_elems,
|  | void ** | values
| ) |  |

int weed_set_voidptr_value | ( | weed_plant_t * | plant,
|  | const char * | key,
|  | void * | value
| ) |  |