#define IMAGE_TYPE 1 #define TEXT_TYPE 2 #define AUDIO_TYPE 3 #define MOTION_TYPE 4 #define VIDEO_TYPE 5 #define MIXED_TYPE 6 #define LOCATION_SENSI 1 #define CONTENT_SENSI 2 #define TIME_SENSI 3 #define SPATIAL_LINK 1 #define TEMPORAL_LINK 2 #define STRUCTURAL_LINK 3 #define EMPTY_FLAG 0 #define OLD_FLAG 1 /* for IC_ID */ #define NEW_FLAG 2 /* for IC_TYPE */ typedef struct node { char *LName; int LType; char *LObj; struct node *next; }LINK; typedef struct icnode { char *IC_type; char *ID_list; char *Msg_type; char *Content; char *cgi; /* cgi program */ int Flag; char *flag; }IC; typedef struct{ char *TName; /* TAO Name */ int TType; /* TAO Type */ char *TTpl; /* TAO template */ char *TTpl_in; /* TAO template input */ LINK *TLink; /* TAO Links */ IC *TIC; /* TAO associated Index Cell */ char *DB_access; /* TAO DB Access */ int TSens; /* TAO Sensitivity */ }TAO; typedef union { int intg; char * str; } YYSTYPE;