Index: ossp-pkg/cfg/cfg.h RCS File: /v/ossp/cvs/ossp-pkg/cfg/cfg.h,v rcsdiff -q -kk '-r1.8' '-r1.9' -u '/v/ossp/cvs/ossp-pkg/cfg/cfg.h,v' 2>/dev/null --- cfg.h 2002/07/12 19:59:33 1.8 +++ cfg.h 2002/07/16 13:48:25 1.9 @@ -64,19 +64,19 @@ /* list of node attributes */ typedef enum { - CFG_NODE_ATTR_PARENT, /* RW: pointer to parent node */ - CFG_NODE_ATTR_LBROTH, /* RW: pointer to left brother node */ - CFG_NODE_ATTR_RBROTH, /* RW: pointer to right brother node */ - CFG_NODE_ATTR_CHILD1, /* RW: pointer to first child node */ - CFG_NODE_ATTR_CHILDL, /* RO: pointer to last child */ - CFG_NODE_ATTR_CHILDS, /* RO: number of child nodes */ - CFG_NODE_ATTR_NODES, /* RO: number of total nodes (recursive) */ - CFG_NODE_ATTR_DEPTH, /* RO: number of nodes back to root node */ - CFG_NODE_ATTR_SRCNAME, /* RW: pointer to the source name */ - CFG_NODE_ATTR_SRCPOS, /* RW: position offset into source */ - CFG_NODE_ATTR_TYPE, /* RW: type of node */ - CFG_NODE_ATTR_TOKEN, /* RW: pointer to the node token string */ - CFG_NODE_ATTR_DATA /* RW: pointer to the node annotation data */ + CFG_NODE_ATTR_PARENT, /* RW: (cfg_node_t *) pointer to parent node */ + CFG_NODE_ATTR_LBROTH, /* RW: (cfg_node_t *) pointer to left brother node */ + CFG_NODE_ATTR_RBROTH, /* RW: (cfg_node_t *) pointer to right brother node */ + CFG_NODE_ATTR_CHILD1, /* RW: (cfg_node_t *) pointer to first child node */ + CFG_NODE_ATTR_CHILDL, /* RO: (cfg_node_t *) pointer to last child */ + CFG_NODE_ATTR_CHILDS, /* RO: (int) number of child nodes */ + CFG_NODE_ATTR_NODES, /* RO: (int) number of total nodes (recursive) */ + CFG_NODE_ATTR_DEPTH, /* RO: (int) number of nodes back to root node */ + CFG_NODE_ATTR_SRCNAME, /* RW: (char *) pointer to the source name */ + CFG_NODE_ATTR_SRCPOS, /* RW: (int) position offset into source */ + CFG_NODE_ATTR_TYPE, /* RW: (cfg_node_type_t) type of node */ + CFG_NODE_ATTR_TOKEN, /* RW: (char *) pointer to the node token string */ + CFG_NODE_ATTR_DATA /* RW: (cfg_data_t *) pointer to the node annotation data */ } cfg_node_attr_t; /* list of data types */