OSSP CVS Repository

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

ossp-pkg/cfg/cfg_node.h 1.1 -> 1.2

--- cfg_node.h   2002/07/03 13:25:34     1.1
+++ cfg_node.h   2002/07/04 06:16:13     1.2
@@ -32,33 +32,7 @@
 #define __CFG_NODE_H__
 
 #include "cfg.h"
-
-typedef enum {
-    CFG_DATA_TYPE_PTR,
-    CFG_DATA_TYPE_CHAR,
-    CFG_DATA_TYPE_INT,
-    CFG_DATA_TYPE_LONG,
-    CFG_DATA_TYPE_FLOAT,
-    CFG_DATA_TYPE_DOUBLE
-} cfg_data_type_t;
-
-typedef union {
-    void  *p;
-    char   c;
-    int    i;
-    long   l;
-    float  f;
-    double d;
-} cfg_data_union_t;
-
-typedef struct {
-    cfg_data_type_t t;       /* data type       */
-    cfg_data_union_t u;      /* data storage    */
-    void (*d)(               /* data destructor */
-        cfg_data_type_t t,
-        cfg_data_union_t *u
-    );
-} cfg_data_t;
+#include "cfg_data.h"
 
 struct cfg_node_st {
     cfg_node_type_t type;    /* type of node */

CVSTrac 2.0.1