Logo Search packages:      
Sourcecode: maxdb-7.5.00 version File versions

veo420.c File Reference


Detailed Description

Author:
RaymondR area remote communication
See also:

Definition in file veo420.c.

#include <stdlib.h>
#include "gsp00.h"
#include "geo003.h"
#include "geo007_1.h"
#include "geo007_2.h"
#include "geo60.h"
#include "heo46.h"
#include "heo47.h"
#include "heo420.h"
#include "geo40.h"

Go to the source code of this file.

Classes

struct  teo40_OldRteConnectPacketRec

Defines

#define MF__   MOD__"eo420UnpackInt4"
#define MF__   MOD__"eo420UnpackInt2"
#define MF__   MOD__"eo420ExtractRteConnectPacket"
#define MF__   MOD__"eo420CreateRteConnectPacket"
#define MF__   MOD__"eo420CreateRteConnectPacketVarPart"
#define MF__   MOD__"eo420CreateRteConnectPacketHeader"
#define MF__   MOD__"eo420AddStringToConnectPacket"
#define MF__   MOD__"eo420_PutRemotePid"
#define MF__   MOD__"eo420_PutAcknowledge"
#define MF__   MOD__"eo420_PutPortNo"
#define MF__   MOD__"eo420_GetStringFromVarPart"
#define MF__   MOD__"eo420_GetAcknowledge"
#define MF__   MOD__"eo420_GetRemotePid"
#define MF__   MOD__"eo420_GetPortNo"
#define MF__   MOD__"eo420ReceivePacket"
#define MF__   MOD__"eo420ReceiveCommPacket"
#define MF__   MOD__"eo420SendReleasePacket"
#define MF__   MOD__"eo420SendRteHeader"
#define MF__   MOD__"eo420SendCommPacket"
#define MF__   MOD__"eo420ReceiveConnectPacket"
#define MF__   MOD__"eo420SendConnectPacket"
#define MF__   MOD__"eo420UnpackRteHeader"
#define MF__   MOD__"eo420InitConPktParamRec"
#define MF__   MOD__"eo420ServiceTypeToMessClass"
#define MIN_EO420(a, b)   (((a) < (b)) ? (a) : (b))
#define MOD__   "veo420 :"
#define RTE_USE_SOCK

Functions

static tsp00_Uint eo420_GetAcknowledge (teo003_RteConnectPacketRec *pConnectPacket, tsp00_Bool *pfAcknowledge)
static tsp00_Uint eo420_GetPortNo (teo003_RteConnectPacketRec *pConnectPacket, tsp00_Uint2 *pusServicePort)
static tsp00_Uint eo420_GetRemotePid (teo003_RteConnectPacketRec *pConnectPacket, teo001_Pid *pPID)
static tsp00_Uint eo420_GetStringFromVarPart (teo003_RteConnectPacketRec *pConnectPacket, char StringID, char *szString, tsp00_Uint MaxStringLen)
static tsp00_Int4 eo420_PutAcknowledge (char *VarPart, tsp00_Bool fAcknowledge)
static tsp00_Int4 eo420_PutPortNo (char *VarPart, tsp00_Uint2 usServicePort)
static tsp00_Int4 eo420_PutRemotePid (char *VarPart, teo001_Pid Pid)
static tsp00_Int4 eo420AddStringToConnectPacket (char *VarPart, char StingId, char *pszString)
static tsp00_Int4 eo420CreateRteConnectPacket (teo003_ConPktParamRecord *pConPktParamRec, teo003_RteConnectPacketRec *pConnectPacket)
static void eo420CreateRteConnectPacketHeader (teo003_ConPktParamRecord *pConPktParamRec, teo003_RteHeaderRecord *pRTEHeader)
static tsp00_Int4 eo420CreateRteConnectPacketVarPart (teo003_ConPktParamRecord *pConPktParamRec, char *VarPart)
externC tsp00_Bool eo420ExtractPingPacket (char *pData, tsp00_Uint length, tsp00_Uint1 *hops, char **peerName, char **versionString)
static tsp00_Uint eo420ExtractRteConnectPacket (teo003_ConPktParamRecord *pConPktParamRec, teo003_RteHeaderRecord *pRTEHeader, teo003_RteConnectPacketRec *pConnectPacket, tsp00_ErrTextc VAR_ARRAY_REF pErrText)
externC tsp00_Uint eo420FillPingPacket (char *pData, tsp00_Uint maxLength, tsp00_Uint1 hops, char *peerName, char *versionString, char *fillPattern)
externC tsp00_Uint eo420GetDBRootFromConPkt (teo003_RteConnectPacketRec *pConnectPacket, char *szDBRoot)
externC tsp00_Uint eo420GetServerPgmFromConPkt (teo003_RteConnectPacketRec *pConnectPacket, char *szServerPgm)
externC void eo420InitConPktParamRec (teo003_ConPktParamRecord *pConPktParamRec)
externC tsp00_Uint1 eo420NewSwapType ()
externC tsp00_Uint eo420ReceiveCommPacket (void *RecvHandle, RECV_PKT_FUNC_PTR_EO003 RecvFunc, tsp00_Uint ulSwapType, teo003_CommPacketRecord *pCommPacket, tsp00_Uint ulMaxDataLen, tsp00_Uint *pulDataLen, tsp00_Uint *pulSenderRef, tsp00_Uint *pulReceiverRef, tsp00_Uint *pulMessClass, tsp00_ErrTextc VAR_ARRAY_REF pErrText)
externC tsp00_Uint eo420ReceiveConnectPacket (void *RecvHandle, RECV_PKT_FUNC_PTR_EO003 RecvFunc, teo003_ConPktParamRecord *pConPktParamRec, tsp00_ErrTextc VAR_ARRAY_REF ErrText)
static tsp00_Uint eo420ReceivePacket (void *RecvHandle, RECV_PKT_FUNC_PTR_EO003 RecvFunc, tsp00_Uint ulSwapType, teo003_RteHeaderRecord *pRTEHeader, char *pData, tsp00_Uint ulMaxDataLen, tsp00_ErrTextc VAR_ARRAY_REF pErrText)
externC tsp00_Uint eo420SendCommPacket (void *SendHandle, SEND_PKT_FUNC_PTR_EO003 SendFunc, tsp00_Uint ulMaxSegmentSize, teo003_CommPacketRecord *pCommPacket, tsp00_Uint ulDataLen, tsp00_Uint ulSenderRef, tsp00_Uint ulReceiverRef, tsp00_Uint ulMessClass, tsp00_Uint ulCommState, tsp00_ErrTextc VAR_ARRAY_REF pErrText)
externC tsp00_Uint eo420SendConnectPacket (void *SendHandle, SEND_PKT_FUNC_PTR_EO003 SendFunc, teo003_ConPktParamRecord *pConPktParamRec, tsp00_ErrTextc VAR_ARRAY_REF pErrText)
externC tsp00_Uint eo420SendReleasePacket (void *SendHandle, SEND_PKT_FUNC_PTR_EO003 SendFunc, tsp00_Uint ulSenderRef, tsp00_Uint ulReceiverRef, tsp00_Uint ulMessClass, tsp00_Uint ulCommState)
externC tsp00_Uint eo420SendRteHeader (void *SendHandle, SEND_PKT_FUNC_PTR_EO003 SendFunc, tsp00_Uint ulSenderRef, tsp00_Uint ulReceiverRef, tsp00_Uint ulMessClass, tsp00_Uint ulCommState, tsp00_ErrTextc VAR_ARRAY_REF pErrText)
externC tsp00_Uint eo420ServiceTypeToMessClass (tsp00_Uint ulServiceType)
externC tsp00_Uint eo420SetNiSocketBufferSize (void *NiHandle, tsp00_Uint ulMinSendLen, tsp00_Uint *ulMaxSendLen, tsp00_ErrTextc VAR_ARRAY_REF ErrText)
externC tsp00_Uint eo420SetSocketBufferSize (teo00_Socket SocketHandle, tsp00_Uint ulMinSendLen, tsp00_Uint *ulMaxSendLen, tsp00_ErrTextc VAR_ARRAY_REF pErrText)
static tsp00_Uint eo420UnpackInt2 (tsp00_Uint ulSwapTyp, tsp00_Int2 Src, tsp00_Int2 *pDst, tsp00_ErrTextc VAR_ARRAY_REF pErrText)
static tsp00_Uint eo420UnpackInt4 (tsp00_Uint ulSwapTyp, tsp00_Int4 Src, tsp00_Int4 *pDst, tsp00_ErrTextc VAR_ARRAY_REF pErrText)
externC void eo420UnpackRteHeader (tsp00_Uint ulSwapType, teo003_RteHeaderRecord *pRTEHeader, tsp00_ErrTextc VAR_ARRAY_REF pErrText)
static tsp00_Uint1 LoadUint1 (tsp00_Uint1 const *pIn)
static tsp00_Uint2 LoadUint2 (tsp00_Uint2 const *pIn)
static tsp00_Uint4 LoadUint4 (tsp00_Uint4 const *pIn)
static tsp00_Uint8 LoadUint8 (tsp00_Uint8 const *pIn)
static void StoreUint1 (tsp00_Uint1 *const pOut, tsp00_Uint1 const value)
static void StoreUint2 (tsp00_Uint2 *const pOut, tsp00_Uint2 const value)
static void StoreUint4 (tsp00_Uint4 *const pOut, tsp00_Uint4 const value)
static void StoreUint8 (tsp00_Uint8 *const pOut, tsp00_Uint8 const value)


Generated by  Doxygen 1.6.0   Back to index