Back to home page

sPhenix code displayed by LXR

 
 

    


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

0001 /* 
0002 ** framePackets.h
0003 ** 
0004 ** Author: $Author: purschke $  
0005 **   Date: $Date: 2000/07/21 01:51:13 $ 
0006 ** 
0007 ** $Log: framePackets.h,v $
0008 ** Revision 1.1.1.1  2000/07/21 01:51:13  purschke
0009 ** mlp -- adding the new automakified "basic" module to CVS.
0010 **
0011 **
0012 ** Revision 1.4  1998/12/11 22:01:36  markacs
0013 ** (stephen markacs) adding log into cvs tags
0014 ** 
0015 */
0016 /*
0017 **  Routines that work with both frames and packets
0018 **
0019 **
0020 */
0021 #ifndef _FRAME_PACKETS_
0022 #define _FRAME_PACKETS_
0023 
0024 #include "phenixOnline.h"
0025 #include "framePublic.h"
0026 #include "packetPublic.h"
0027 
0028 /*
0029 **  Use C linkage for below structures
0030 */
0031 #ifdef __cplusplus
0032 extern "C" {
0033 #endif
0034   
0035   PTR_ret appendEmptyFramePacket (FRAME_ptr, PHDWORD, UINT);
0036   
0037   PTR_ret findFirstFramePacket (FRAME_ptr);
0038   PTR_ret findLastFramePacket (FRAME_ptr);
0039   LOGIC_ret isLastFramePacket (FRAME_ptr, PACKET_ptr);
0040   PTR_ret findFramePacketIndex (FRAME_ptr, UINT);
0041   PTR_ret findFramePacketId (FRAME_ptr, UINT);
0042   PTR_ret findNextFramePacketId (FRAME_ptr, PACKET_ptr, UINT);
0043   PTR_ret findNextFramePacket (FRAME_ptr, PACKET_ptr);
0044 
0045   VALUE_ret frameNumPackets (FRAME_ptr);
0046 
0047 #ifdef __cplusplus
0048                      }
0049 #endif
0050 
0051 #endif
0052 
0053 
0054 
0055