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

veo40.c File Reference


Detailed Description

description ...

Author:
JoergM area TCP/IP routines via SAP NI ( network interface )
See also:
example.html ...

Definition in file veo40.c.

#include "sap/640/saptype.h"
#include "sap/640/saptypeb.h"
#include "sap/640/saptypec.h"
#include "sap/640/sapuc.h"
#include "sap/640/err.h"
#include "sap/640/nixx.h"
#include "sap/640/dptrace.h"
#include "sap/640/sapuc2.h"
#include "geo007_2.h"
#include "heo420.h"
#include "geo40.h"
#include "heo46.h"
#include "heo47.h"
#include "geo60.h"

Go to the source code of this file.

Defines

#define _INLINE   __inline
#define CTRC_TRUNC   1
#define DBGNI(_arg)
#define ERR_NI_UNKNOWN_RC   "NI: RC="
#define ERR_NIECONN_BROKEN   "connection broken"
#define ERR_NIECONN_PENDING   "NIECONN_PENDING"
#define ERR_NIECONN_REFUSED   "connection refused"
#define ERR_NIEHOST_UNKNOWN   "unknown Host"
#define ERR_NIEINTERN   "internal error"
#define ERR_NIEINVAL   "invalid parameter"
#define ERR_NIEPING   "ping received"
#define ERR_NIEROUT_CANCELED   "ROUT: comm. canceled"
#define ERR_NIEROUT_CONN_BROKEN   "ROUT: conn. broken"
#define ERR_NIEROUT_CONN_REFUSED   "ROUT: conn. refused"
#define ERR_NIEROUT_EXTERN   "ROUT: ext. lib error"
#define ERR_NIEROUT_HOST_UNKNOWN   "ROUT: unknown host"
#define ERR_NIEROUT_INFO_DENIED   "ROUT: info denied"
#define ERR_NIEROUT_INTERN   "ROUT: intern. error"
#define ERR_NIEROUT_MODE_DENIED   "ROUT: talkmode forbidden"
#define ERR_NIEROUT_NOCLIENT   "ROUT: client missing"
#define ERR_NIEROUT_OVERFLOW   "ROUT: client overflow"
#define ERR_NIEROUT_PERM_DENIED   "ROUT: perm. denied"
#define ERR_NIEROUT_SERV_UNKNOWN   "ROUT: unknown service"
#define ERR_NIEROUT_SHUTDOWN   "ROUT: shutdown"
#define ERR_NIEROUT_SNC_FAILURE   "ROUT: SNC Error"
#define ERR_NIEROUT_VERSION   "ROUT: bad version"
#define ERR_NIESERV_UNKNOWN   "unknown Service"
#define ERR_NIESERV_USED   "Service in use"
#define ERR_NIETIMEOUT   "timeout"
#define ERR_NIEVERSION   "bad version"
#define ERRMSG_NICOM_GET_SD_ERROR   "Can't get sd from NiHdl:"
#define IMPLEMENTATION_MODULE
#define MAX_LENGTH_OF_UNICODE_CHARACTER   4
#define MAX_PORT_LENGTH   6
#define MF__   MOD__"eo40NiReceive"
#define MF__   MOD__"eo40NiDataAvailable"
#define MOD__   "veo40.c:"
#define NI_DEFAULT_SERVICE   7269
#define SAPwithUNICODE

Functions

static void eo40GetServiceAsString (unsigned short *Service, int szServiceLen, SAP_UC *szService)
externC tsp00_Uint eo40NiAccept (void *NiListenHandle, void **NiCommHandle, char *ServerNode, int MaxServerNodeLen, tsp00_ErrTextc VAR_ARRAY_REF ErrText)
static void eo40NiBuildErrorString (tsp00_ErrTextc VAR_ARRAY_REF pErrText, char *ErrorMsgHeader, SAPRETURN SapRc)
externC tsp00_Uint eo40NiClose (void **NiHandle)
tsp00_Uint eo40NiConnectToServer (teo40_NiConnectInfoRecord *pNIConnInfo, tsp00_ErrTextc VAR_ARRAY_REF ErrText)
externC tsp00_Uint eo40NiDataAvailable (void *NiHandle, tsp00_ErrTextc VAR_ARRAY_REF pErrText)
static void * eo40NiDupHandle (void *NiHandle)
externC tsp00_Uint eo40NiFinish (tsp00_ErrTextc VAR_ARRAY_REF pErrText)
externC tsp00_Uint eo40NiHandleToSocket (void *NiHandle, int *Sd, tsp00_ErrTextc VAR_ARRAY_REF ErrText)
externC tsp00_Uint eo40NiInit (tsp00_Pathc VAR_ARRAY_REF TraceFile, int TraceLevel, tsp00_ErrTextc VAR_ARRAY_REF ErrText)
externC int eo40NiIsAvailable ()
int eo40NiIsValidHandle (void *NiHandle)
externC tsp00_Uint eo40NiListen (void **NiHandle, unsigned short *Service, tsp00_ErrTextc VAR_ARRAY_REF pErrText)
tsp00_Uint eo40NiReceive (void *RecvHandle, char *pData, tsp00_Uint ulMaxDataLen, tsp00_Uint *BytesReceived, tsp00_ErrTextc VAR_ARRAY_REF pErrText)
tsp00_Uint eo40NiSend (void *SendHandle, char *pData, int Len, tsp00_ErrTextc VAR_ARRAY_REF pErrText)

Variables

FILE * tf


Generated by  Doxygen 1.6.0   Back to index