Package libgenders-devel

Genders development libraries

http://genders.sf.net

Genders development headers and libraries for C.

Library Functions (Section 3)
genders_errnum
genders_errnum() returns the error code stored in handle. genders_strerror() returns a pointer to a string describing the error code errnum. Generally, an error...
genders_getattr
genders_getattr() gets the attributes and values for the node pointed to by node. If node is NULL, attributes and values are retrieved for the current node. The...
genders_getattr_all
genders_getattr_all() gets all the attributes found in the genders file associated with handle. The attributes are stored in the attribute list pointed to by...
genders_getnodename
genders_getnodename() retrieves the name of the node that the function is being called from. The node name returned is the shortened hostname of the node and is...
genders_getnodes
genders_getnodes() gets the names of nodes in the genders file that have the attribute specified by attr and the value specified by val. The nodes are stored in...
genders_getnumnodes
genders_getnumnodes(), genders_getnumattrs(), genders_getmaxattrs(), genders_getmaxnodelen(), genders_getmaxattrlen(), and genders_getmaxvallen() get statistics...
genders_handle_create
genders_handle_create() creates a genders handle for use with the genders C API. A genders handle is of type genders_t, which is defined in genders.h. The...
genders_handle_destroy
genders_handle_destroy() destroys the genders handle pointed to by handle and frees all allocated memory associated with it.
genders_index_attrvals
genders_index_attrvals() internally indexes attribute values in a genders handle so that genders searches can be done more quickly in the genders_getnodes(3)...
genders_isnode
genders_isnode() tests if the node pointed to by node is listed in the genders file. If node is NULL, the current node is tested. genders_isattr() tests if the...
genders_load_data
genders_load_data() read and parses the genders file indicated by filename. If filename is NULL, genders_load_data() will attempt to read and parse the default...
genders_nodelist_create
genders_nodelist_create(), genders_nodelist_clear(), genders_nodelist_destroy(), genders_attrlist_create(), genders_attrlist_clear()...
genders_parse
genders_parse() parses the genders file indicated by filename and outputs information to stream about parse errors in the genders file. If filename is NULL, the...
genders_query
genders_query() queries the genders database for a set of nodes based on the union, intersection, difference, or complement of genders attributes and values...
genders_testattr
genders_testattr() tests if the node pointed to by node contains the attribute pointed to by attr. If node is NULL, the current node is tested. If the attribute...
genders_testquery
genders_testquery() tests if the node pointed to by node meets the conditions specified in the query. If node is NULL, the current node is tested. Queries are...