ARB
Classes | Macros | Typedefs | Functions | Variables
adcomm.cxx File Reference
#include <unistd.h>
#include <csignal>
#include <cerrno>
#include <sys/socket.h>
#include <netinet/in.h>
#include <netinet/tcp.h>
#include "gb_key.h"
#include "gb_comm.h"
#include "gb_localdata.h"
#include <SigHandler.h>
#include <arb_signal.h>
#include <arb_file.h>
Include dependency graph for adcomm.cxx:

Go to the source code of this file.

Classes

struct  gbcms_delete_list
 
struct  Socinf
 
struct  gb_server_data
 
struct  gbcms_create
 

Macros

#define FD_SET_TYPE
 
#define debug_printf(a, b)
 
#define GBCMS_TRANSACTION_TIMEOUT   60*60
 
#define MAX_QUEUE_LEN   5
 
#define GBCM_COMMAND_UNFOLD   (GBTUM_MAGIC_NUMBER)
 
#define GBCM_COMMAND_GET_UPDATA   (GBTUM_MAGIC_NUMBER+1)
 
#define GBCM_COMMAND_PUT_UPDATE   (GBTUM_MAGIC_NUMBER+2)
 
#define GBCM_COMMAND_UPDATED   (GBTUM_MAGIC_NUMBER+3)
 
#define GBCM_COMMAND_BEGIN_TRANSACTION   (GBTUM_MAGIC_NUMBER+4)
 
#define GBCM_COMMAND_COMMIT_TRANSACTION   (GBTUM_MAGIC_NUMBER+5)
 
#define GBCM_COMMAND_ABORT_TRANSACTION   (GBTUM_MAGIC_NUMBER+6)
 
#define GBCM_COMMAND_INIT_TRANSACTION   (GBTUM_MAGIC_NUMBER+7)
 
#define GBCM_COMMAND_FIND   (GBTUM_MAGIC_NUMBER+8)
 
#define GBCM_COMMAND_CLOSE   (GBTUM_MAGIC_NUMBER+9)
 
#define GBCM_COMMAND_KEY_ALLOC   (GBTUM_MAGIC_NUMBER+11)
 
#define GBCM_COMMAND_UNDO   (GBTUM_MAGIC_NUMBER+12)
 
#define GBCM_COMMAND_DONT_WAIT   (GBTUM_MAGIC_NUMBER+13)
 
#define GBCM_COMMAND_SEND   (GBTUM_MAGIC_NUMBER+0x1000)
 
#define GBCM_COMMAND_SEND_COUNT   (GBTUM_MAGIC_NUMBER+0x2000)
 
#define GBCM_COMMAND_SETDEEP   (GBTUM_MAGIC_NUMBER+0x3000)
 
#define GBCM_COMMAND_SETINDEX   (GBTUM_MAGIC_NUMBER+0x4000)
 
#define GBCM_COMMAND_PUT_UPDATE_KEYS   (GBTUM_MAGIC_NUMBER+0x5000)
 
#define GBCM_COMMAND_PUT_UPDATE_CREATE   (GBTUM_MAGIC_NUMBER+0x6000)
 
#define GBCM_COMMAND_PUT_UPDATE_DELETE   (GBTUM_MAGIC_NUMBER+0x7000)
 
#define GBCM_COMMAND_PUT_UPDATE_UPDATE   (GBTUM_MAGIC_NUMBER+0x8000)
 
#define GBCM_COMMAND_PUT_UPDATE_END   (GBTUM_MAGIC_NUMBER+0x9000)
 
#define GBCM_COMMAND_TRANSACTION_RETURN   (GBTUM_MAGIC_NUMBER+0x100000)
 
#define GBCM_COMMAND_FIND_ERG   (GBTUM_MAGIC_NUMBER+0x108000)
 
#define GBCM_COMMAND_KEY_ALLOC_RES   (GBTUM_MAGIC_NUMBER+0x10b000)
 
#define GBCM_COMMAND_UNDO_CMD   (GBTUM_MAGIC_NUMBER+0x10a0001)
 
#define CLIENT_ERROR(reason)   clientserver_error("client", reason, __LINE__)
 
#define SERVER_ERROR(reason)   clientserver_error("server", reason, __LINE__)
 
#define COMM_ERROR(reason)   clientserver_error("communication", reason, __LINE__)
 
#define CLIENT_RECEIVE_ERROR()   CLIENT_ERROR("receive failed")
 
#define SERVER_RECEIVE_ERROR()   SERVER_ERROR("receive failed")
 
#define COMM_RECEIVE_ERROR()   COMM_ERROR("receive failed")
 
#define CLIENT_SEND_ERROR()   CLIENT_ERROR("send failed")
 
#define SERVER_SEND_ERROR()   SERVER_ERROR("send failed")
 
#define COMM_SEND_ERROR()   COMM_ERROR("send failed")
 
#define CLIENT_SEND_ERROR_AT_ITEM(gb_item)   CLIENT_ERROR(GBS_global_string("send failed (entry='%s')", GB_KEY(gb_item)))
 
#define RETURN_SERVER_FAULT_ON_BAD_ADDRESS(ptr)
 

Typedefs

typedef GBCM_ServerResult(* TalkingFunction )(int socket, long *hsin, void *sin, GBDATA *gbd)
 

Functions

static GBCM_ServerResult gbcms_talking (int con, long *hs, void *sin)
 
GB_ERROR clientserver_error (const char *clientserver, const char *what_failed, int sourceLine)
 
static void dumpError (GB_ERROR error)
 
static void g_bcms_delete_Socinf (Socinf *THIS)
 
static void gbcms_sighup (int)
 
GB_ERROR GBCMS_open (const char *path, long timeout, GBDATA *gb_main)
 
void GBCMS_shutdown (GBDATA *gbd)
 
template<typename T >
void write_into_comm_buffer (long &buffer, T &t)
 
static __ATTR__USERESULT GB_ERROR gbcm_write_bin (int socket, GBDATA *gbd, long *buffer, long deep, int send_headera)
 
static GBCM_ServerResult gbcm_read_bin (int socket, GBCONTAINER *gbc, long *buffer, long mode, GBDATA *gb_source, void *cs_main)
 
static void gbcms_shift_delete_list (void *hsi, void *soi)
 
static GBCM_ServerResult gbcms_write_deleted (int socket, long hsin, long client_clock, long *buffer)
 
static GBCM_ServerResult gbcms_write_updated (int socket, GBDATA *gbd, long hsin, long client_clock, long *buffer)
 
static GBCM_ServerResult gbcms_write_keys (int socket, GBDATA *gbd)
 
static GBCM_ServerResult gbcms_talking_unfold (int socket, long *, void *, GBDATA *gb_in)
 
static GBCM_ServerResult gbcms_talking_get_update (int, long *, void *, GBDATA *)
 
static GBCM_ServerResult gbcms_talking_put_update (int socket, long *, void *, GBDATA *)
 
static GBCM_ServerResult gbcms_talking_updated (int, long *, void *, GBDATA *)
 
static GBCM_ServerResult gbcms_talking_init_transaction (int socket, long *hsin, void *sin, GBDATA *)
 
static GBCM_ServerResult gbcms_talking_begin_transaction (int socket, long *hsin, void *sin, GBDATA *long_client_clock)
 
static GBCM_ServerResult commit_or_abort_transaction (int socket, GBDATA *gbd, ARB_TRANS_TYPE commit_or_abort)
 
static GBCM_ServerResult gbcms_talking_commit_transaction (int socket, long *, void *, GBDATA *gbd)
 
static GBCM_ServerResult gbcms_talking_abort_transaction (int socket, long *, void *, GBDATA *gbd)
 
static GBCM_ServerResult gbcms_talking_close (int, long *, void *, GBDATA *)
 
static GBCM_ServerResult gbcms_talking_undo (int socket, long *, void *, GBDATA *gbd)
 
static GBCM_ServerResult gbcms_talking_find (int socket, long *, void *, GBDATA *gbd)
 
static GBCM_ServerResult gbcms_talking_key_alloc (int socket, long *, void *, GBDATA *gbd)
 
static GBCM_ServerResult gbcms_talking_disable_wait_for_new_request (int, long *hsin, void *, GBDATA *)
 
static GBCM_ServerResult gbcms_talking_obsolete (int, long *, void *, GBDATA *)
 
bool GBCMS_accept_calls (GBDATA *gbd, bool wait_extra_time)
 
GB_ERROR gbcm_unfold_client (GBCONTAINER *gbc, long deep, long index_pos)
 
GB_ERROR gbcmc_begin_sendupdate (GBDATA *gbd)
 
GB_ERROR gbcmc_end_sendupdate (GBDATA *gbd)
 
GB_ERROR gbcmc_sendupdate_create (GBDATA *gbd)
 
GB_ERROR gbcmc_sendupdate_delete (GBDATA *gbd)
 
GB_ERROR gbcmc_sendupdate_update (GBDATA *gbd, int send_headera)
 
static __ATTR__USERESULT GB_ERROR gbcmc_read_keys (int socket, GBDATA *gbd)
 
GB_ERROR gbcmc_begin_transaction (GBDATA *gbd)
 
GB_ERROR gbcmc_init_transaction (GBCONTAINER *gbc)
 
GB_ERROR gbcmc_commit_transaction (GBDATA *gbd)
 
GB_ERROR gbcmc_abort_transaction (GBDATA *gbd)
 
GB_ERROR gbcms_add_to_delete_list (GBDATA *gbd)
 
void GB_set_remote_action (GBDATA *gbd, bool in_action)
 
bool GB_inside_remote_action (GBDATA *gbd)
 
long GB_read_clients (GBDATA *gbd)
 
bool GB_is_server (GBDATA *gbd)
 
static __ATTR__USERESULT GB_ERROR gbcmc_unfold_list (int socket, GBDATA *gbd)
 
static void invalid_use_in_server (const char *function)
 
GBDATAGBCMC_find (GBDATA *gbd, const char *key, GB_TYPES type, const char *str, GB_CASE case_sens, GB_SEARCH_TYPE gbs)
 
long gbcmc_key_alloc (GBDATA *gbd, const char *key)
 
GB_ERROR gbcmc_send_undo_commands (GBDATA *gbd, enum gb_undo_commands command)
 
chargbcmc_send_undo_info_commands (GBDATA *gbd, enum gb_undo_commands command)
 
GB_ERROR GB_tell_server_dont_wait (GBDATA *gbd)
 
GB_ERROR gbcm_login (GBCONTAINER *gb_main, const char *loginname)
 
GBCM_ServerResult gbcmc_close (gbcmc_comm *link)
 
GB_ERROR gbcm_logout (GB_MAIN_TYPE *Main, const char *loginname)
 
GB_ERROR GB_install_pid (int mode)
 

Variables

static GBCONTAINERgbcms_gb_main
 
static TalkingFunction aisc_talking_functions []
 

Macro Definition Documentation

#define FD_SET_TYPE
#define debug_printf (   a,
 
)

Definition at line 34 of file adcomm.cxx.

Referenced by gbcm_read_bin(), and gbcm_write_bin().

#define GBCMS_TRANSACTION_TIMEOUT   60*60

Definition at line 36 of file adcomm.cxx.

Referenced by gbcms_talking_begin_transaction(), and gbcms_talking_init_transaction().

#define MAX_QUEUE_LEN   5

Definition at line 37 of file adcomm.cxx.

Referenced by GBCMS_open().

#define GBCM_COMMAND_UNFOLD   (GBTUM_MAGIC_NUMBER)

Definition at line 39 of file adcomm.cxx.

Referenced by gbcm_unfold_client().

#define GBCM_COMMAND_GET_UPDATA   (GBTUM_MAGIC_NUMBER+1)

Definition at line 40 of file adcomm.cxx.

#define GBCM_COMMAND_PUT_UPDATE   (GBTUM_MAGIC_NUMBER+2)

Definition at line 41 of file adcomm.cxx.

Referenced by gbcmc_begin_sendupdate().

#define GBCM_COMMAND_UPDATED   (GBTUM_MAGIC_NUMBER+3)

Definition at line 42 of file adcomm.cxx.

#define GBCM_COMMAND_BEGIN_TRANSACTION   (GBTUM_MAGIC_NUMBER+4)

Definition at line 43 of file adcomm.cxx.

Referenced by gbcmc_begin_transaction().

#define GBCM_COMMAND_COMMIT_TRANSACTION   (GBTUM_MAGIC_NUMBER+5)

Definition at line 44 of file adcomm.cxx.

Referenced by gbcmc_commit_transaction().

#define GBCM_COMMAND_ABORT_TRANSACTION   (GBTUM_MAGIC_NUMBER+6)

Definition at line 45 of file adcomm.cxx.

Referenced by gbcmc_abort_transaction().

#define GBCM_COMMAND_INIT_TRANSACTION   (GBTUM_MAGIC_NUMBER+7)

Definition at line 46 of file adcomm.cxx.

Referenced by gbcmc_init_transaction().

#define GBCM_COMMAND_FIND   (GBTUM_MAGIC_NUMBER+8)

Definition at line 47 of file adcomm.cxx.

Referenced by GBCMC_find().

#define GBCM_COMMAND_CLOSE   (GBTUM_MAGIC_NUMBER+9)

Definition at line 48 of file adcomm.cxx.

Referenced by gbcmc_close().

#define GBCM_COMMAND_KEY_ALLOC   (GBTUM_MAGIC_NUMBER+11)

Definition at line 49 of file adcomm.cxx.

Referenced by gbcmc_key_alloc().

#define GBCM_COMMAND_UNDO   (GBTUM_MAGIC_NUMBER+12)

Definition at line 50 of file adcomm.cxx.

Referenced by gbcmc_send_undo_commands(), and gbcmc_send_undo_info_commands().

#define GBCM_COMMAND_DONT_WAIT   (GBTUM_MAGIC_NUMBER+13)

Definition at line 51 of file adcomm.cxx.

Referenced by GB_tell_server_dont_wait().

#define GBCM_COMMAND_SEND   (GBTUM_MAGIC_NUMBER+0x1000)

Definition at line 53 of file adcomm.cxx.

Referenced by gbcm_read_bin(), and gbcm_write_bin().

#define GBCM_COMMAND_SEND_COUNT   (GBTUM_MAGIC_NUMBER+0x2000)

Definition at line 54 of file adcomm.cxx.

Referenced by gbcm_unfold_client(), and gbcms_talking_unfold().

#define GBCM_COMMAND_SETDEEP   (GBTUM_MAGIC_NUMBER+0x3000)

Definition at line 55 of file adcomm.cxx.

Referenced by gbcm_unfold_client(), and gbcms_talking_unfold().

#define GBCM_COMMAND_SETINDEX   (GBTUM_MAGIC_NUMBER+0x4000)

Definition at line 56 of file adcomm.cxx.

Referenced by gbcm_unfold_client(), and gbcms_talking_unfold().

#define GBCM_COMMAND_PUT_UPDATE_KEYS   (GBTUM_MAGIC_NUMBER+0x5000)

Definition at line 57 of file adcomm.cxx.

Referenced by gbcmc_begin_transaction(), and gbcms_write_keys().

#define GBCM_COMMAND_PUT_UPDATE_CREATE   (GBTUM_MAGIC_NUMBER+0x6000)
#define GBCM_COMMAND_PUT_UPDATE_DELETE   (GBTUM_MAGIC_NUMBER+0x7000)
#define GBCM_COMMAND_PUT_UPDATE_UPDATE   (GBTUM_MAGIC_NUMBER+0x8000)
#define GBCM_COMMAND_PUT_UPDATE_END   (GBTUM_MAGIC_NUMBER+0x9000)
#define GBCM_COMMAND_TRANSACTION_RETURN   (GBTUM_MAGIC_NUMBER+0x100000)
#define GBCM_COMMAND_FIND_ERG   (GBTUM_MAGIC_NUMBER+0x108000)

Definition at line 63 of file adcomm.cxx.

Referenced by GBCMC_find(), and gbcms_talking_find().

#define GBCM_COMMAND_KEY_ALLOC_RES   (GBTUM_MAGIC_NUMBER+0x10b000)

Definition at line 64 of file adcomm.cxx.

Referenced by gbcmc_key_alloc(), and gbcms_talking_key_alloc().

#define GBCM_COMMAND_UNDO_CMD   (GBTUM_MAGIC_NUMBER+0x10a0001)
#define CLIENT_ERROR (   reason)    clientserver_error("client", reason, __LINE__)
#define SERVER_ERROR (   reason)    clientserver_error("server", reason, __LINE__)

Definition at line 76 of file adcomm.cxx.

#define COMM_ERROR (   reason)    clientserver_error("communication", reason, __LINE__)

Definition at line 77 of file adcomm.cxx.

#define CLIENT_RECEIVE_ERROR ( )    CLIENT_ERROR("receive failed")
#define SERVER_RECEIVE_ERROR ( )    SERVER_ERROR("receive failed")

Definition at line 80 of file adcomm.cxx.

#define COMM_RECEIVE_ERROR ( )    COMM_ERROR("receive failed")

Definition at line 81 of file adcomm.cxx.

#define CLIENT_SEND_ERROR ( )    CLIENT_ERROR("send failed")
#define SERVER_SEND_ERROR ( )    SERVER_ERROR("send failed")

Definition at line 84 of file adcomm.cxx.

#define COMM_SEND_ERROR ( )    COMM_ERROR("send failed")

Definition at line 85 of file adcomm.cxx.

Referenced by gbcm_write_bin().

#define CLIENT_SEND_ERROR_AT_ITEM (   gb_item)    CLIENT_ERROR(GBS_global_string("send failed (entry='%s')", GB_KEY(gb_item)))
#define RETURN_SERVER_FAULT_ON_BAD_ADDRESS (   ptr)
Value:
do { \
if (error) { \
GB_warningf("%s (%s, #%i)", error, __FILE__, __LINE__); \
} \
} while (0)
const char * GB_ERROR
Definition: arb_core.h:25
void GB_warningf(const char *templat,...)
Definition: arb_msg.cxx:490
static void error(const char *msg)
Definition: mkptypes.cxx:96
GB_write_int const char GB_write_autoconv_string WRITE_SKELETON(write_pointer, GBDATA *,"%p", GB_write_pointer) char *AW_awa if)(!gb_var) return strdup("")
Definition: AW_awar.cxx:166
#define GBTUM_MAGIC_NUMBER
Definition: gb_local.h:25
GB_ERROR GBK_test_address(long *address, long key)
Definition: arb_signal.cxx:58

Definition at line 361 of file adcomm.cxx.

Referenced by commit_or_abort_transaction(), gbcm_read_bin(), gbcms_talking_find(), gbcms_talking_key_alloc(), gbcms_talking_put_update(), and gbcms_talking_unfold().

Typedef Documentation

typedef GBCM_ServerResult(* TalkingFunction)(int socket, long *hsin, void *sin, GBDATA *gbd)

Definition at line 1142 of file adcomm.cxx.

Function Documentation

static GBCM_ServerResult gbcms_talking ( int  con,
long hs,
void *  sin 
)
static
GB_ERROR clientserver_error ( const char clientserver,
const char what_failed,
int  sourceLine 
)
inline

Definition at line 70 of file adcomm.cxx.

References GB_get_arb_revision_tag(), and GBS_global_string().

static void dumpError ( GB_ERROR  error)
static

Definition at line 89 of file adcomm.cxx.

References fflush(), fputc(), and fputs().

Referenced by gbcms_talking_unfold(), and gbcms_write_updated().

static void g_bcms_delete_Socinf ( Socinf THIS)
static

Definition at line 113 of file adcomm.cxx.

References Socinf::next, NULp, and Socinf::username.

Referenced by GBCMS_accept_calls().

static void gbcms_sighup ( int  )
static
GB_ERROR GBCMS_open ( const char path,
long  timeout,
GBDATA gb_main 
)
void GBCMS_shutdown ( GBDATA gbd)
template<typename T >
void write_into_comm_buffer ( long buffer,
T t 
)
inline

Definition at line 271 of file adcomm.cxx.

References STATIC_ASSERT, and T.

Referenced by gbcm_write_bin().

static __ATTR__USERESULT GB_ERROR gbcm_write_bin ( int  socket,
GBDATA gbd,
long buffer,
long  deep,
int  send_headera 
)
static
static GBCM_ServerResult gbcm_read_bin ( int  socket,
GBCONTAINER gbc,
long buffer,
long  mode,
GBDATA gb_source,
void *  cs_main 
)
static
static void gbcms_shift_delete_list ( void *  hsi,
void *  soi 
)
static
static GBCM_ServerResult gbcms_write_deleted ( int  socket,
long  hsin,
long  client_clock,
long buffer 
)
static
static GBCM_ServerResult gbcms_write_updated ( int  socket,
GBDATA gbd,
long  hsin,
long  client_clock,
long buffer 
)
static
static GBCM_ServerResult gbcms_write_keys ( int  socket,
GBDATA gbd 
)
static
static GBCM_ServerResult gbcms_talking_unfold ( int  socket,
long ,
void *  ,
GBDATA gb_in 
)
static
static GBCM_ServerResult gbcms_talking_get_update ( int  ,
long ,
void *  ,
GBDATA  
)
static

Definition at line 757 of file adcomm.cxx.

References GBCM_SERVER_OK.

static GBCM_ServerResult gbcms_talking_put_update ( int  socket,
long ,
void *  ,
GBDATA  
)
static
static GBCM_ServerResult gbcms_talking_updated ( int  ,
long ,
void *  ,
GBDATA  
)
static

Definition at line 817 of file adcomm.cxx.

References GBCM_SERVER_OK.

static GBCM_ServerResult gbcms_talking_init_transaction ( int  socket,
long hsin,
void *  sin,
GBDATA  
)
static
static GBCM_ServerResult gbcms_talking_begin_transaction ( int  socket,
long hsin,
void *  sin,
GBDATA long_client_clock 
)
static
static GBCM_ServerResult commit_or_abort_transaction ( int  socket,
GBDATA gbd,
ARB_TRANS_TYPE  commit_or_abort 
)
static
static GBCM_ServerResult gbcms_talking_commit_transaction ( int  socket,
long ,
void *  ,
GBDATA gbd 
)
static

Definition at line 973 of file adcomm.cxx.

References ARB_COMMIT, and commit_or_abort_transaction().

static GBCM_ServerResult gbcms_talking_abort_transaction ( int  socket,
long ,
void *  ,
GBDATA gbd 
)
static

Definition at line 978 of file adcomm.cxx.

References ARB_ABORT, and commit_or_abort_transaction().

static GBCM_ServerResult gbcms_talking_close ( int  ,
long ,
void *  ,
GBDATA  
)
static

Definition at line 983 of file adcomm.cxx.

References GBCM_SERVER_ABORTED.

static GBCM_ServerResult gbcms_talking_undo ( int  socket,
long ,
void *  ,
GBDATA gbd 
)
static
static GBCM_ServerResult gbcms_talking_find ( int  socket,
long ,
void *  ,
GBDATA gbd 
)
static
static GBCM_ServerResult gbcms_talking_key_alloc ( int  socket,
long ,
void *  ,
GBDATA gbd 
)
static
static GBCM_ServerResult gbcms_talking_disable_wait_for_new_request ( int  ,
long hsin,
void *  ,
GBDATA  
)
static

Definition at line 1128 of file adcomm.cxx.

References GBCM_SERVER_OK_WAIT, and gb_server_data::wait_for_new_request.

static GBCM_ServerResult gbcms_talking_obsolete ( int  ,
long ,
void *  ,
GBDATA  
)
static

Definition at line 1134 of file adcomm.cxx.

References fputs(), and GBCM_SERVER_FAULT.

bool GBCMS_accept_calls ( GBDATA gbd,
bool  wait_extra_time 
)
GB_ERROR gbcm_unfold_client ( GBCONTAINER gbc,
long  deep,
long  index_pos 
)
GB_ERROR gbcmc_begin_sendupdate ( GBDATA gbd)
GB_ERROR gbcmc_end_sendupdate ( GBDATA gbd)
GB_ERROR gbcmc_sendupdate_create ( GBDATA gbd)
GB_ERROR gbcmc_sendupdate_delete ( GBDATA gbd)
GB_ERROR gbcmc_sendupdate_update ( GBDATA gbd,
int  send_headera 
)
static __ATTR__USERESULT GB_ERROR gbcmc_read_keys ( int  socket,
GBDATA gbd 
)
static
GB_ERROR gbcmc_begin_transaction ( GBDATA gbd)
GB_ERROR gbcmc_init_transaction ( GBCONTAINER gbc)
GB_ERROR gbcmc_commit_transaction ( GBDATA gbd)
GB_ERROR gbcmc_abort_transaction ( GBDATA gbd)
GB_ERROR gbcms_add_to_delete_list ( GBDATA gbd)
void GB_set_remote_action ( GBDATA gbd,
bool  in_action 
)
bool GB_inside_remote_action ( GBDATA gbd)
long GB_read_clients ( GBDATA gbd)
bool GB_is_server ( GBDATA gbd)
static __ATTR__USERESULT GB_ERROR gbcmc_unfold_list ( int  socket,
GBDATA gbd 
)
static
static void invalid_use_in_server ( const char function)
static
GBDATA* GBCMC_find ( GBDATA gbd,
const char key,
GB_TYPES  type,
const char str,
GB_CASE  case_sens,
GB_SEARCH_TYPE  gbs 
)
long gbcmc_key_alloc ( GBDATA gbd,
const char key 
)
GB_ERROR gbcmc_send_undo_commands ( GBDATA gbd,
enum gb_undo_commands  command 
)
char* gbcmc_send_undo_info_commands ( GBDATA gbd,
enum gb_undo_commands  command 
)
GB_ERROR GB_tell_server_dont_wait ( GBDATA gbd)
GB_ERROR gbcm_login ( GBCONTAINER gb_main,
const char loginname 
)
GBCM_ServerResult gbcmc_close ( gbcmc_comm link)
GB_ERROR gbcm_logout ( GB_MAIN_TYPE Main,
const char loginname 
)
GB_ERROR GB_install_pid ( int  mode)

Variable Documentation

GBCONTAINER* gbcms_gb_main
static

Definition at line 145 of file adcomm.cxx.

TalkingFunction aisc_talking_functions[]
static
Initial value:
= {
}
static GBCM_ServerResult gbcms_talking_undo(int socket, long *, void *, GBDATA *gbd)
Definition: adcomm.cxx:988
static GBCM_ServerResult gbcms_talking_commit_transaction(int socket, long *, void *, GBDATA *gbd)
Definition: adcomm.cxx:973
static GBCM_ServerResult gbcms_talking_unfold(int socket, long *, void *, GBDATA *gb_in)
Definition: adcomm.cxx:697
static GBCM_ServerResult gbcms_talking_put_update(int socket, long *, void *, GBDATA *)
Definition: adcomm.cxx:761
static GBCM_ServerResult gbcms_talking_disable_wait_for_new_request(int, long *hsin, void *, GBDATA *)
Definition: adcomm.cxx:1128
static GBCM_ServerResult gbcms_talking_init_transaction(int socket, long *hsin, void *sin, GBDATA *)
Definition: adcomm.cxx:821
static GBCM_ServerResult gbcms_talking_updated(int, long *, void *, GBDATA *)
Definition: adcomm.cxx:817
static GBCM_ServerResult gbcms_talking_key_alloc(int socket, long *, void *, GBDATA *gbd)
Definition: adcomm.cxx:1103
static GBCM_ServerResult gbcms_talking_get_update(int, long *, void *, GBDATA *)
Definition: adcomm.cxx:757
static GBCM_ServerResult gbcms_talking_abort_transaction(int socket, long *, void *, GBDATA *gbd)
Definition: adcomm.cxx:978
static GBCM_ServerResult gbcms_talking_find(int socket, long *, void *, GBDATA *gbd)
Definition: adcomm.cxx:1029
static GBCM_ServerResult gbcms_talking_begin_transaction(int socket, long *hsin, void *sin, GBDATA *long_client_clock)
Definition: adcomm.cxx:893
static GBCM_ServerResult gbcms_talking_close(int, long *, void *, GBDATA *)
Definition: adcomm.cxx:983
static GBCM_ServerResult gbcms_talking_obsolete(int, long *, void *, GBDATA *)
Definition: adcomm.cxx:1134

Definition at line 1144 of file adcomm.cxx.

Referenced by gbcms_talking().