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

ven42.c File Reference


Detailed Description

Client RunTime: remote_sql_functions.

Author:
JoergM
See also:
create/extract/read/write remote sql_packets

Definition in file ven42.c.

#include "gen00.h"
#include "heo00.h"
#include "vsp001c.h"
#include "gen003.h"
#include "hsp77.h"
#include "gen500.h"
#include "gen42.h"
#include "hen42.h"
#include "gen43.h"
#include "heo46.h"
#include "hen40.h"
#include "RunTime/RTE_saveUNIXcalls.h"

Go to the source code of this file.

Defines

#define MF__   "sql42_unpack_int4"
#define MF__   "sql42_unpack_int2"
#define MF__   "sql42_recv_con"
#define MF__   "sql42_send_conpkt"
#define MF__   "en42SocketSendPacket"
#define MF__   "sql42_extpkt"
#define MF__   "sql42_crepkt"
#define MF__   "sql42_get_long"
#define MF__   "sql42_put_long"
#define MF__   "sql42_get_int4"
#define MF__   "sql42_put_int4"
#define MF__   "sql42_get_int1"
#define MF__   "sql42_put_int1"
#define MF__   "sql42_get_string"
#define MF__   "sql42_put_string"
#define MOD__   "ven42.c:"

Functions

externC void en42FillErrText (tsp00_ErrTextc VAR_ARRAY_REF pErrText, char const *format,...)
tsp00_Longuint en42SocketSendPacket (void *SendHandle, char *pData, int Len, tsp00_ErrTextc pErrText)
void sql42_create_conpkt (rte_header *header, int messclass, tsp00_Int4 myref, tsp00_Int4 peerref, int retcode, int service, long maxsegsiz, long maxdata, long pktsize, long minreply, char *mydb, char *peerdb)
void sql42_extract_conpkt (rte_header *header, int *messclass, tsp00_Int4 *myref, tsp00_Int4 *peerref, int *retcode, int *service, long *maxsegsiz, long *maxdata, long *pktsize, long *minreply, int *swap_type, char *mydb, char *peerdb)
void sql42_get_int1 (rte_header *header, char type, tsp00_Uint1 *valuep)
void sql42_get_int4 (rte_header *header, char type, tsp00_Int4 *valuep)
void sql42_get_long (rte_header *header, char type, long *valuep)
void sql42_get_string (rte_header *header, char type, int size, char *str)
tsp00_Uint1 sql42_new_swap_type ()
void sql42_put_int1 (rte_header *header, char type, tsp00_Uint1 value)
void sql42_put_int4 (rte_header *header, char type, tsp00_Int4 value)
void sql42_put_long (rte_header *header, char type, long value)
void sql42_put_string (rte_header *header, char type, char *str)
static int sql42_rcvpkt (int sd, rte_header *header, int swap_type, long siz, tsp00_ErrTextc pErrText, char *cache_buf, long *cache_lgt)
int sql42_recv_conpkt (int sd, rte_header *header, int *statep, tsp00_ErrTextc pErrText)
int sql42_send_conpkt (int sd, rte_header *header, tsp00_ErrTextc VAR_ARRAY_REF pErrText)
static int sql42_set_tcp_nodelay_flag (int sd)
void sql42_unpack_int2 (int typ, tsp00_Int2 src, tsp00_Int2 *dst)
void sql42_unpack_int4 (char typ, tsp00_Int4 src, tsp00_Int4 *dst)
void sqldbgaddress (char *text, char *sap)


Generated by  Doxygen 1.6.0   Back to index