13 #include "int_sizes.h"
47 int nvpair_parse_stream_limited(
struct nvpair *n, FILE * stream,
char ** attr_list,
int attr_len);
144 NVPAIR_MODE_TIMESTAMP
156 nvpair_align_t align;
196 void nvpair_print_html_header(FILE * stream,
struct nvpair_header *h);
198 void nvpair_print_html_with_link(
struct nvpair *n, FILE * stream,
struct nvpair_header *h,
const char *linkname,
const char *linktext);
200 void nvpair_print_html_footer(FILE * stream,
struct nvpair_header *h);
202 void nvpair_print_table_header(FILE * stream,
struct nvpair_header *h);
204 void nvpair_print_table_footer(FILE * stream,
struct nvpair_header *h);
void nvpair_print_xml(struct nvpair *n, FILE *stream)
Print an entire nvpair in XML form.
struct nvpair * nvpair_create()
Create an empty nvpair.
void nvpair_print_old_classads(struct nvpair *n, FILE *stream)
Print an entire nvpair in old ClassAd form.
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.
void nvpair_print_json(struct nvpair *n, FILE *stream)
Print an entire nvpair in JSON form.
void nvpair_print_text(struct nvpair *n, FILE *stream)
Print an entire nvpair in text form.
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.
void nvpair_print_html_solo(struct nvpair *n, FILE *stream)
Print an entire nvpair in HTML form.
INT64_T nvpair_lookup_integer(struct nvpair *n, const char *name)
Lookup a property in integer form.
void nvpair_print_new_classads(struct nvpair *n, FILE *stream)
Print an entire nvpair in new ClassAd 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.