Back to home page

sPhenix code displayed by LXR

 
 

    


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

0001 /* 
0002 ** packetRoutines.h
0003 ** 
0004 ** Author: $Author: purschke $  
0005 **   Date: $Date: 2000/07/21 01:51:17 $ 
0006 ** 
0007 ** $Log: packetRoutines.h,v $
0008 ** Revision 1.1.1.1  2000/07/21 01:51:17  purschke
0009 ** mlp -- adding the new automakified "basic" module to CVS.
0010 **
0011 **
0012 ** Revision 1.4  1998/12/11 22:01:48  markacs
0013 ** (stephen markacs) adding log into cvs tags
0014 ** 
0015 */
0016 /*
0017 **
0018 **  packetRoutines.h
0019 **
0020 **
0021 **      Function prototypes for routines that perform more sophisticated
0022 **      manipulation of packets than provided for by routines in packets.cpp.
0023 */
0024 
0025 #ifndef _PACKET_ROUTINES_
0026 #define _PACKET_ROUTINES_
0027 
0028 #include "phenixOnline.h"
0029 #include "packetPublic.h"
0030 
0031 /*
0032 **  Use C linkage for below structures
0033 */
0034 #ifdef __cplusplus
0035 extern "C" {
0036 #endif
0037 
0038 PTR_ret makeEmptyPacket (PACKET_ptr, UINT, UINT);
0039 
0040 PTR_ret makeUnstructPacket (PACKET_ptr, UINT, UINT, UINT, UINT);
0041 
0042 LOGIC_ret appendPacketError (PACKET_ptr, UINT, ERRORENTRYV1_ptr);
0043 
0044 PTR_ret reservePacketDebugData (PACKET_ptr, UINT, UINT);
0045 
0046 PTR_ret startUnstructDataWrite (PACKET_ptr, UINT, PHDWORD);
0047 
0048 PTR_ret finishUnstructDataWrite (PACKET_ptr, UINT, PHDWORD);
0049 
0050 VALUE_ret storePacketHits (PACKET_ptr, UINT, UINT*, BYTE*, UINT, UINT);
0051 
0052 VALUE_ret fetchPacketHits (PACKET_ptr, UINT**, BYTE**, UINT*);
0053 
0054 #ifdef __cplusplus
0055 } 
0056 #endif
0057 /* end of ifdef __cplusplus */
0058 
0059 #endif
0060 /* end of ifndef _PACKET_ROUTINES_ */
0061 
0062 
0063 
0064 
0065 
0066 
0067 
0068 
0069 
0070 
0071 
0072 
0073 
0074