Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

/RawAPI/rawapitd.h

Go to the documentation of this file.
00001 //---------------------------------------------------------------
00002 //        Go4 Release Package v2.10-5 (build 21005) 
00003 //                      03-Nov-2005
00004 //---------------------------------------------------------------
00005 //       The GSI Online Offline Object Oriented (Go4) Project
00006 //       Experiment Data Processing at DVEE department, GSI
00007 //---------------------------------------------------------------
00008 //
00009 //Copyright (C) 2000- Gesellschaft f. Schwerionenforschung, GSI
00010 //                    Planckstr. 1, 64291 Darmstadt, Germany
00011 //Contact:            http://go4.gsi.de
00012 //----------------------------------------------------------------
00013 //This software can be used under the license agreements as stated
00014 //in Go4License.txt file which is part of the distribution.
00015 //----------------------------------------------------------------
00016 /*********************************************************************
00017  * rawapitd.h
00018  * ADSM definitions from dsmapitd.h, needed also for clients
00019  * if a new ADSM API version is introduced, the following definitions
00020  * must be updated according to those in the new dsmapitd.h
00021  * okay for v216 and v315
00022  *
00023  * created 19.10.98, Horst Goeringer
00024  *********************************************************************
00025  * 22. 7.2002, H.G.: okay for version 5.1
00026  *********************************************************************
00027  */
00028 
00029 #define DSM_MAX_DESCR_LENGTH          255       /* archive description    */
00030 #define DSM_MAX_OWNER_LENGTH          64        /* object owner name      */
00031 #define DSM_MAX_FSNAME_LENGTH         1024      /* filespace name         */
00032 #define DSM_MAX_HL_LENGTH             1024      /* object high level name */
00033 #define DSM_MAX_LL_LENGTH             256       /* object low level name  */
00034 
00035 #define  MEDIA_FIXED          0x10
00036 #define  MEDIA_LIBRARY        0x20
00037 #define  MEDIA_NETWORK        0x30
00038 #define  MEDIA_SHELF          0x40
00039 #define  MEDIA_OFFSITE        0x50
00040 #define  MEDIA_UNAVAILABLE    0xF0
00041 
00042 
00043 typedef enum
00044 {
00045         bFalse = 0x00,
00046         bTrue  = 0x01
00047 } bool_t;
00048 
00049 typedef          char  dsInt8_t;          /* v315 and higher */
00050 typedef unsigned char  dsUint8_t;         /* v315 and higher */
00051 
00052 typedef signed   char     int8   ;        /* v216 and below */
00053 typedef unsigned char     uint8  ;        /* v216 and below */
00054 
00055 
00056 /*-------------------------------------------------------------------------+
00057 |  Type definition for object name used on BindMC, Send, Delete, Query     |
00058 +-------------------------------------------------------------------------*/
00059 typedef struct S_dsmObjName
00060 {
00061     char   fs[DSM_MAX_FSNAME_LENGTH + 1] ;              /* Filespace name */
00062     char   hl[DSM_MAX_HL_LENGTH + 1] ;                 /* High level name */
00063     char   ll[DSM_MAX_LL_LENGTH + 1] ;                  /* Low level name */
00064     uint8  objType;          /* for object type values, see defines above */
00065 } dsmObjName;
00066 
00067 
00068 
00069 //----------------------------END OF GO4 SOURCE FILE ---------------------

Generated on Tue Nov 8 10:56:09 2005 for Go4-v2.10-5 by doxygen1.2.15