13 #include "int_sizes.h"
47 int nvpair_parse_stream_limited(
struct nvpair *n, FILE * stream,
char ** attr_list,
int attr_len);
118 NVPAIR_MODE_TIMESTAMP
130 nvpair_align_t align;
170 void nvpair_print_html_header(FILE * stream,
struct nvpair_header *h);
172 void nvpair_print_html_with_link(
struct nvpair *n, FILE * stream,
struct nvpair_header *h,
const char *linkname,
const char *linktext);
174 void nvpair_print_html_footer(FILE * stream,
struct nvpair_header *h);
176 void nvpair_print_table_header(FILE * stream,
struct nvpair_header *h);
178 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.
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_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.
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.