File indexing completed on 2025-08-03 08:20:41
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024 #include "phenixOnline.h"
0025 #include "packetV1Public.h"
0026 #include "errorBlock.h"
0027
0028 #ifndef _PACKETPUBLIC_
0029 #define _PACKETPUBLIC_
0030
0031
0032
0033
0034 #ifdef __cplusplus
0035 extern "C" {
0036 #endif
0037
0038
0039
0040
0041 typedef PHDWORD* PACKET_ptr ;
0042
0043
0044
0045
0046
0047
0048
0049
0050 typedef struct errorEntryV1 PACKETERROR;
0051
0052
0053
0054
0055 #define NUM_PACKET_VERSIONS 2
0056 #define CURRENT_PACKETHDR_VERSION 1
0057
0058 CONSTANT UINT numPacketVersions = NUM_PACKET_VERSIONS;
0059 CONSTANT UINT currentPacketHdrVersion = CURRENT_PACKETHDR_VERSION;
0060
0061
0062
0063
0064 enum PacketStructEnum {
0065 defaultStructure = 0,
0066 Unstructured = 0,
0067 Packets = 1,
0068 hitArray = 2,
0069 hitList = 3
0070 } ;
0071 typedef enum PacketStructEnum PACKETSTRUCTENUM;
0072
0073
0074
0075
0076 enum PacketStatusBits {
0077 errorBlockInvalid = 0
0078 } ;
0079
0080 #ifdef __cplusplus
0081 }
0082 #endif
0083
0084 #endif
0085