13 #include "int_sizes.h"
struct nvpair * nvpair_create()
Create an empty nvpair.
void nvpair_export(struct nvpair *nv)
Export all items in the nvpair to the environment with setenv.
int nvpair_print_alloc(struct nvpair *n, char **text)
Print an nvpair to ASCII text, allocating the needed buffer.
const char * nvpair_lookup_string(struct nvpair *n, const char *name)
Lookup a property in string form.
void nvpair_insert_string(struct nvpair *n, const char *name, const char *value)
Insert a property in string form.
void nvpair_parse(struct nvpair *n, const char *text)
Load in an nvpair from ASCII text.
double nvpair_lookup_float(struct nvpair *n, const char *name)
Lookup a property in floating point form.
void nvpair_first_item(struct nvpair *nv)
Begin iteration over all items.
INT64_T nvpair_lookup_integer(struct nvpair *n, const char *name)
Lookup a property in integer form.
void nvpair_remove(struct nvpair *n, const char *name)
Remove a property from an nvpair.
int nvpair_parse_stream(struct nvpair *n, FILE *stream)
Load in an nvpair from a standard I/O stream.
Definition: nvpair_private.h:15
int nvpair_print(struct nvpair *n, char *text, int length)
Print an nvpair to ASCII text with a limit.
int nvpair_next_item(struct nvpair *nv, char **name, char **value)
Continue iteration over all items.
A general purpose hash table.
void nvpair_insert_integer(struct nvpair *n, const char *name, INT64_T value)
Insert a property in integer form.
void nvpair_insert_float(struct nvpair *n, const char *name, double value)
Insert a property in floating point form.
void nvpair_delete(struct nvpair *n)
Delete an nvpair.