XMLSD(3)

NAME
xmlsd - xml validation library

SYNOPSIS
#include <xmlsd.h>
struct xmlsd_element *
xmlsd_add_element(struct xmlsd_element_list *xel, struct xmlsd_element *xe, const char *);
int
xmlsd_check_attributes(struct xmlsd_element *xe, struct xmlsd_v_attr *xva);
int
xmlsd_check_boolean(char *, int *);
int
xmlsd_check_path(struct xmlsd_element *xe, char *path);
struct xmlsd_element *
xmlsd_create(struct xmlsd_element_list *xel, const char *field);
void
xmlsd_free_element(struct xmlsd_element *xe);
char *
xmlsd_generate(struct xmlsd_element_list *xel, void *(*alloc_fn)(size_t), size_t *sz, int withhdr);
char *
xmlsd_get_attr(struct xmlsd_element *xe, char *key);
char *
xmlsd_get_value(struct xmlsd_element_list *xel, char *key, struct xmlsd_element **xe);
int
xmlsd_parse_file(FILE *stream, struct xmlsd_element_list *xel);
int
xmlsd_parse_fileds(int fd, struct xmlsd_element_list *xel);
int
xmlsd_parse_mem(char *mem, size_t sz, struct xmlsd_element_list *xel);
void
xmlsd_remove_element(struct xmlsd_element_list *xel, struct xmlsd_element *xe);
int
xmlsd_set_attr(struct xmlsd_element *xe, const char *, const char *);
int
xmlsd_set_attr_int32(struct xmlsd_element *xe, const char *, int32_t);
int
xmlsd_set_attr_int64(struct xmlsd_element *xe, const char *, int64_t);
int
xmlsd_set_attr_uint32(struct xmlsd_element *xe, const char *, uint32_t);
int
xmlsd_set_attr_uint64(struct xmlsd_element *xe, const char *, uint64_t);
int
xmlsd_set_attr_x32(struct xmlsd_element *xe, const char *, uint32_t);
int
xmlsd_set_attr_x64(struct xmlsd_element *xe, const char *, uint64_t);
int
xmlsd_set_value(struct xmlsd_element *xe, const char *value);
int
xmlsd_set_value_int32(struct xmlsd_element *xe, int32_t);
int
xmlsd_set_value_int64(struct xmlsd_element *xe, int64_t);
int
xmlsd_set_value_uint32(struct xmlsd_element *xe, uint32_t);
int
xmlsd_set_value_uint64(struct xmlsd_element *xe, uint64_t);
int
xmlsd_set_value_x32(struct xmlsd_element *xe, uint32_t);
int
xmlsd_set_value_x64(struct xmlsd_element *xe, uint64_t);
int
xmlsd_unwind(struct xmlsd_element_list *xel);
int
xmlsd_validate(struct xmlsd_element_list *xel, struct xmlsd_v_elements *xve);
void
xmlsd_version(int *major, int *minor, int *patch);

HISTORY
-nosplit xmlsd was written by Conformal Systems, LLC. <info@conformal.com>.