266 IBM Content Manager OnDemand Guide
#define ARCCSXIT_FIELD_TYPE_INTEGER    (ArcCSXitFieldType) 0x49           
#define ARCCSXIT_FIELD_TYPE_SMALLINT   (ArcCSXitFieldType) 0x4E           
#define ARCCSXIT_FIELD_TYPE_STRING     (ArcCSXitFieldType) 0x53           
                                                                          
typedef ArcU8 ArcCSXitFieldTypeQual;                                      
#define ARCCSXIT_FIELD_TYPE_QUAL_BASE        (ArcCSXitFieldTypeQual) 0x42 
#define ARCCSXIT_FIELD_TYPE_QUAL_DATETIME    (ArcCSXitFieldTypeQual) 0x43 
#define ARCCSXIT_FIELD_TYPE_QUAL_DATE        (ArcCSXitFieldTypeQual) 0x44 
#define ARCCSXIT_FIELD_TYPE_QUAL_TIME        (ArcCSXitFieldTypeQual) 0x54 
#define ARCCSXIT_FIELD_TYPE_QUAL_TZ_DATETIME (ArcCSXitFieldTypeQual) 0x5A 
                                                                          
typedef struct _ArcCSXitField                                             
{                                                                         
   char                  *db_name;                                        
   ArcCSXitFieldType     type;          
   ArcCSXitFieldTypeQual qual;          
   union                                
   {                                    
      ArcI16        n;                  
      ArcI32        i;                  
      ArcI64        b;                  
      double        d;                  
      char          *str;               
      ArcDateTime   dt;                 
      ArcDecimal64  d64;                
      ArcDecimal128 d128;               
   } u;                                 
} ArcCSXitField;                        
                                    
typedef struct _ArcCSXitFieldU      
{                                   
   ArcChar               *db_name;  
   ArcCSXitFieldType     type;      
   ArcCSXitFieldTypeQual qual;      
   union                            
   {                                
      ArcI16        n;              
      ArcI32        i;              
      ArcI64        b;              
      double        d;              
      ArcChar       *str;           
      ArcDateTime   dt;             
      ArcDecimal64  d64;            
      ArcDecimal128 d128;                  
   } u;                                    
} ArcCSXitFieldU;                          
                                           
typedef struct _ArcCSXitDocFields          
{                                          
   ArcI32        flds_num;                 
   ArcCSXitField *flds;                    
} ArcCSXitDocFields;                       
                                           
#define ARCCSXIT_DOCNAME_SIZE 11           
                                           
typedef struct _ArcCSXitDocHandle          
{                                          
   char   nameÝARCCSXIT_DOCNAME_SIZE + 1¨; 
   ArcU32 doc_off;                   
   ArcU32 doc_len;