ARB
Macros | Typedefs | Enumerations
gb_local.h File Reference
#include <arbdb.h>
#include "gb_prot.h"
Include dependency graph for gb_local.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define gb_assert(cond)   arb_assert(cond)
 
#define GB_MAX_USERS   4
 
#define GBTUM_MAGIC_NUMBER   0x17488400
 
#define GBTUM_MAGIC_NUMBER_FILTER   0xffffff00
 
#define GBTUM_MAGIC_REVERSED   0x00844817
 

Typedefs

typedef short GB_MAIN_IDX
 

Enumerations

enum  gb_undo_commands {
  _GBCMC_UNDOCOM_REQUEST_NOUNDO_KILL, _GBCMC_UNDOCOM_REQUEST_NOUNDO, _GBCMC_UNDOCOM_REQUEST_UNDO, _GBCMC_UNDOCOM_INFO_UNDO,
  _GBCMC_UNDOCOM_INFO_REDO, _GBCMC_UNDOCOM_UNDO, _GBCMC_UNDOCOM_REDO, _GBCMC_UNDOCOM_SET_MEM = 10000
}
 
enum  GB_CHANGE {
  GB_UNCHANGED = 0, GB_SON_CHANGED = 2, GB_NORMAL_CHANGE = 4, GB_CREATED = 5,
  GB_DELETED = 6, GB_DELETED_IN_MASTER = 7
}
 
enum  GB_COMPRESSION_TYPES {
  GB_COMPRESSION_NONE = 0, GB_COMPRESSION_RUNLENGTH = 1, GB_COMPRESSION_HUFFMANN = 2, GB_COMPRESSION_DICTIONARY = 4,
  GB_COMPRESSION_SEQUENCE = 8, GB_COMPRESSION_SORTBYTES = 16, GB_COMPRESSION_BITS = 32, GB_COMPRESSION_LAST = 128
}
 
enum  GBCM_ServerResult { GBCM_SERVER_OK = 0, GBCM_SERVER_FAULT = 1, GBCM_SERVER_ABORTED = 2, GBCM_SERVER_OK_WAIT = 3 }
 

Macro Definition Documentation

#define gb_assert (   cond)    arb_assert(cond)

Definition at line 18 of file gb_local.h.

#define GB_MAX_USERS   4

Definition at line 23 of file gb_local.h.

Referenced by GB_MAIN_TYPE::GB_MAIN_TYPE(), gbcm_login(), and gbcm_logout().

#define GBTUM_MAGIC_NUMBER   0x17488400
#define GBTUM_MAGIC_NUMBER_FILTER   0xffffff00

Definition at line 26 of file gb_local.h.

Referenced by gbcms_talking().

#define GBTUM_MAGIC_REVERSED   0x00844817

Definition at line 27 of file gb_local.h.

Referenced by is_binary_db_id().

Typedef Documentation

typedef short GB_MAIN_IDX

Definition at line 32 of file gb_local.h.

Enumeration Type Documentation

Enumerator
_GBCMC_UNDOCOM_REQUEST_NOUNDO_KILL 
_GBCMC_UNDOCOM_REQUEST_NOUNDO 
_GBCMC_UNDOCOM_REQUEST_UNDO 
_GBCMC_UNDOCOM_INFO_UNDO 
_GBCMC_UNDOCOM_INFO_REDO 
_GBCMC_UNDOCOM_UNDO 
_GBCMC_UNDOCOM_REDO 
_GBCMC_UNDOCOM_SET_MEM 

Definition at line 61 of file gb_local.h.

enum GB_CHANGE
Enumerator
GB_UNCHANGED 
GB_SON_CHANGED 
GB_NORMAL_CHANGE 
GB_CREATED 
GB_DELETED 
GB_DELETED_IN_MASTER 

Definition at line 73 of file gb_local.h.

Enumerator
GB_COMPRESSION_NONE 
GB_COMPRESSION_RUNLENGTH 
GB_COMPRESSION_HUFFMANN 
GB_COMPRESSION_DICTIONARY 
GB_COMPRESSION_SEQUENCE 
GB_COMPRESSION_SORTBYTES 
GB_COMPRESSION_BITS 
GB_COMPRESSION_LAST 

Definition at line 82 of file gb_local.h.

Enumerator
GBCM_SERVER_OK 
GBCM_SERVER_FAULT 
GBCM_SERVER_ABORTED 
GBCM_SERVER_OK_WAIT 

Definition at line 93 of file gb_local.h.