OSSP CVS Repository

ossp - Difference in ossp-pkg/cfg/cfg.h versions 1.7 and 1.8
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/cfg/cfg.h 1.7 -> 1.8

--- cfg.h        2002/07/10 14:46:28     1.7
+++ cfg.h        2002/07/12 19:59:33     1.8
@@ -72,11 +72,11 @@
     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_SRCNAME,    /* RW: pointer to the source name */
-    CFG_NODE_ATTR_SRCPOS      /* RW: position offset into source */
+    CFG_NODE_ATTR_DATA        /* RW: pointer to the node annotation data */
 } cfg_node_attr_t;
 
 /* list of data types */
@@ -135,8 +135,7 @@
 
 /* node traversing/locating */
 cfg_rc_t   cfg_node_root   (cfg_t  *cfg, cfg_node_t **node);
-cfg_rc_t   cfg_node_goto   (cfg_t  *cfg, cfg_node_t  *node, const char *spec, cfg_node_t **node2);
-cfg_rc_t   cfg_node_select (cfg_t  *cfg, cfg_node_t  *node, const char *spec, cfg_node_t **node2);
+cfg_rc_t   cfg_node_select (cfg_t  *cfg, cfg_node_t  *node, cfg_node_t **node2, const char *spec, ...);
 cfg_rc_t   cfg_node_find   (cfg_t  *cfg, cfg_node_t  *node, cfg_rc_t (*cb_fct_cmp)(cfg_t *, cfg_node_t *, void *), void *cb_ctx_cmp, cfg_node_t **cont);
 cfg_rc_t   cfg_node_apply  (cfg_t  *cfg, cfg_node_t  *node, cfg_rc_t (*cb_fct_cmp)(cfg_t *, cfg_node_t *, void *), void *cb_ctx_cmp, cfg_rc_t (*cb_fct_cb)(cfg_t *, cfg_node_t *, void *), void *cb_ctx_cb);
 cfg_rc_t   cfg_node_cmp    (cfg_t  *cfg, cfg_node_t  *node, void *token);

CVSTrac 2.0.1