Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-08-03 08:20:35

0001 // oncsdefs.h
0002 // $Log: oncsdefs.h,v $
0003 // Revision 1.4  2005/12/30 14:17:50  desmond
0004 // ejd remove unused variable nameserver
0005 //
0006 // Revision 1.3  2004/11/15 16:28:02  phnxoncs
0007 // chp: declare initialized char * as const char * (more apropriate and the Sun C compiler stops complaining
0008 //
0009 // Revision 1.2  2002/07/29 15:18:58  pinkenbu
0010 // Make COMMON/inc and newbasic have a consistent oncsdef.h
0011 //
0012 // Revision 1.9  2001/09/10 14:06:32  phoncs
0013 // ejd increase file limit
0014 //
0015 // Revision 1.8  2000/05/31 21:50:06  phoncs
0016 // Changed RESULT to RESULTS. Needed to relieve name clash with /export/software/oncs/R2.6.3/online_distribution/Dcm code. Sorry about that. Adler, May 31st, 2000
0017 //
0018 // Revision 1.7  2000/04/07 15:31:07  phoncs
0019 // ejd increase max objects definition
0020 //
0021 // Revision 1.6  2000/02/01 02:55:08  phoncs
0022 // mlp - check in modifications
0023 //
0024 // Revision 1.5  1999/11/09 15:05:37  phoncs
0025 // ejd add crate partition limit
0026 //
0027 /* general ONCS definitions
0028  * 
0029  * created: Oct 1, 1996
0030  * 
0031  * author:  Ed Desmond
0032  * Module = %M% Date = %D%  Version = %I%
0033  *
0034  * modifications:
0035  *      none
0036  *
0037  */
0038 
0039 #ifndef ONCSDEFS_H
0040 #define ONCSDEFS_H
0041 
0042 #define MAX_OBJ_REF 2000
0043 #define MAX_EVENTID 1000
0044 
0045 // message queue parameters
0046 #define MAX_MSGS    10
0047 #define MAX_MSG_LEN 1000
0048 #define DEF_MSG_TIMEOUT  400000
0049 
0050 
0051 // partition parameters
0052 #define MAX_PARTITIONS_CRATE 5
0053 // exit status
0054 
0055 
0056 #define SUCCESS 0
0057 #define FAILURE 1
0058 
0059 //
0060 // CHANGE; by CW Feb 17,98
0061 // typedef RESULT  long
0062 typedef long RESULTS;
0063 typedef long HRESULT;
0064 typedef int MSG_TIMEOUT;
0065 
0066 // offsets of device information in constructor arguements
0067 #define DEVICETYPE      0
0068 #define DEVICEEVENTID       1
0069 #define DEVICESUBEVENTID    2
0070 
0071 #define MAXDCM_PER_DCB 5
0072 
0073 
0074 #endif
0075