00001 00002 typedef enum node_type_i node_type; 00005 enum node_type_i { 00006 fsx_FILE, 00007 fsx_DIR, 00008 fsx_SYMLINK, 00009 fsx_ROOT_METADATA, 00010 fsx_METADATA, 00011 fsx_ROOT_CONTENT, 00012 fsx_CONTENT, 00013 fsx_ATTRIBUTE, 00014 fsx_NS, 00015 fsx_TEXT 00016 }; 00017 00018 typedef struct node_i node_xpsh; 00021 struct node_i { 00023 node_xpsh *parent; 00025 node_xpsh *nextSibling; 00027 node_xpsh *prevSibling; 00029 node_xpsh *firstChild; 00031 node_xpsh *firstAttribute; 00033 node_xpsh *NS; 00035 node_xpsh *NSDecl; 00037 node_type type; 00039 char *name; 00041 char *value; 00042 };