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

gos00.h File Reference


Detailed Description

Author:
RaymondR area
See also:

Definition in file gos00.h.

#include "gsp00.h"
#include "gsp100.h"
#include <windows.h>
#include <time.h>
#include <ctype.h>
#include <memory.h>
#include <errno.h>
#include <string.h>
#include <stdlib.h>
#include <signal.h>
#include <stddef.h>
#include <limits.h>
#include <math.h>
#include <stdio.h>
#include <process.h>
#include "geo60.h"

Go to the source code of this file.

Classes

struct  access_rights_record
struct  flag_comm_seg
struct  reg_entry_record
struct  user_access_rights_record

Defines

#define _INLINE   __inline
#define _Optlink
#define _System
#define _WIN32_WINNT   NEEDED_WIN32_WINNT
#define ABORT()   EXITPROCESS( (ULONG)-1)
#define ABORT_NO_CRASH_DUMP()   EXITPROCESS( (ULONG)-1)
#define ADABAS_SERVICE_ID   _T("ADABAS-")
#define ADABAS_SERVICE_ID_GW   _T("ADABAS GW-")
#define ALIGN(_val, _alignment)   ((((_val) - 1) / (_alignment) + 1 ) * (_alignment))
#define ALIGNMENT_VALUE   16
#define ALLOC_MEM(_p, _s)   sql57c_malloc(__LINE__,__FILE__,_p,_s)
#define ALLOCA(_s)   _alloca(_s)
#define ARRAY_SIZE(_A)   (sizeof(_A) / sizeof((_A)[0]))
#define ASYNC0_THRD_PRIO   THREAD_PRIORITY_NORMAL
#define ASYNCI_THRD_PRIO   THREAD_PRIORITY_HIGHEST
#define AUTOCLOSE   0x0001
#define BATCH_DIAG_FILE_ENV_VAR   _T("BATCHDIAGFILE")
#define BATCH_DIAGFILE_NAME   _T("batdiag")
#define BEEP(_Freq, _Dur)   Beep(_Freq, _Dur)
#define BLANKS_ONLY(_psz)   (strlen( _psz) == strspn( _psz, " " ))
#define CHAR_SET_ENV_VAR   _T("DBCHARSET")
#define CLEARLOCK(addr)   sql76_clearlock(addr)
#define CLOCK_THRD_PRIO   THREAD_PRIORITY_NORMAL
#define CLOSE_FILE(_hdl)   (CloseHandle((HANDLE)_hdl) ? NO_ERROR : GetLastError())
#define CLUSTER_SERVER_API_DLL_OS00   _T("clusapi.dll")
#define CLUSTERLOG_ENV_VAR   _T("CLUSTERLOG")
#define CMD_COMMAND_PARAMETER   _T("/C")
#define CMD_FILENAME   _T("cmd.exe")
#define CONSOLE_THRD_PRIO   THREAD_PRIORITY_ABOVE_NORMAL
#define COORDINATOR_THRD_PRIO   THREAD_PRIORITY_NORMAL
#define COPY(d, s, l)   (void) memcpy ( (char*)(d) , (char*)(s) , (CINT)(l) )
#define CR   '\r'
#define CREATE_EVENT_SEM_SHARED   1
#define CREATE_SAPDB_SERVICE   1UL
#define CREATE_THRD_SUSPENDED   CREATE_SUSPENDED
#define CREATE_THREAD(_pTid, _pHandle, _pFunc, _Arg, _Options, _StackSize)
#define DATABASE_OPERATOR_GROUP   _T("SAPDB Operators")
#define DB_FAST_KERN_FILE_NAME   _T("pgm\\kernel.exe")
#define DB_KERN_ICON_NAME   _T("pgm\\kernel.ico")
#define DB_KERN_PATH_NAME   _T("pgm\\")
#define DB_QUICK_KERN_FILE_NAME   _T("pgm\\quickknl.exe")
#define DB_SLOW_KERN_FILE_NAME   _T("pgm\\slowknl.exe")
#define DB_TEST_KERN_FILE_NAME   _T("pgm\\omststknl.exe")
#define DB_TITLE   _T("SAPDB")
#define DB_XSERVER_FILE_NAME   _T("serv.exe")
#define DBLOCALE_ENV_VAR   _T("DBLOCALE")
#define DBROOT_ENV_VAR   _T("DBROOT")
#define DBTERM_ENV_VAR   _T("DBTERM")
#define DCOM0_THRD_PRIO   THREAD_PRIORITY_NORMAL
#define DCOMI_THRD_PRIO   THREAD_PRIORITY_NORMAL
#define DEFAULT_TCPIP_DLL   _T("sqltcp.dll")
#define DEFAULT_TERMINATION_TIMEOUT   (60 * 20)
#define DEFAULT_UKT_THRD_PRIO   THREAD_PRIORITY_ABOVE_NORMAL
#define DELETE_FILE(_file)   (DeleteFile(_file) ? NO_ERROR : GetLastError())
#define DEV0_THRD_PRIO   THREAD_PRIORITY_NORMAL
#define DEV_WORKER_THRD_PRIO   THREAD_PRIORITY_HIGHEST
#define DEVI_THRD_PRIO   THREAD_PRIORITY_HIGHEST
#define DO_NOT_POST_SEM   1
#define DOMAIN_DATABASE_OPERATOR_GROUP   _T("Domain SAPDB Oper")
#define DR_WATSON_EXENAME   _T("DRWTSN32")
#define DT_COMx   5
#define DT_CON   1
#define DT_CONIN   2
#define DT_CONOUT   1
#define DT_DRIVE   8
#define DT_LPTx   4
#define DT_NUL   10
#define DT_OTHER   6
#define DT_PIPE   9
#define DT_PRN   3
#define DT_TAPE   7
#define DT_UNKNOWN   0
#define ENABLE_CONSOLE_OUTPUT   0x01
#define ENABLE_DIAGFILE_OUTPUT   0x04
#define ENABLE_EVENT_LOG_OUTPUT   0x02
#define ERR_TYPE   1
#define ERROR_END_OF_MEDIA   ERROR_HANDLE_EOF
#define ERROR_FILEMARK_DETECTED   ERROR_HANDLE_EOF
#define ERROR_NO_DATA_DETECTED   ERROR_HANDLE_EOF
#define EVENT_SOURCE_NAME   _T("SAPDB")
#define EXITPROCESS(_rc)   ExitProcess( (UINT)_rc );
#define EXITTHREAD(_rc, _handle)
#define FILE_ARCHIVE   FILE_ATTRIBUTE_ARCHIVE
#define FILE_COMPRESSED   FILE_ATTRIBUTE_COMPRESSED
#define FILE_DIRECTORY   FILE_ATTRIBUTE_DIRECTORY
#define FILE_ENCRYPTED   FILE_ATTRIBUTE_ENCRYPTED
#define FILE_HIDDEN   FILE_ATTRIBUTE_HIDDEN
#define FILE_NORMAL   FILE_ATTRIBUTE_NORMAL
#define FILE_NOT_CONTENT_INDEXED   FILE_ATTRIBUTE_NOT_CONTENT_INDEXED
#define FILE_OFFLINE   FILE_ATTRIBUTE_OFFLINE
#define FILE_READONLY   FILE_ATTRIBUTE_READONLY
#define FILE_REPARSE_POINT   FILE_ATTRIBUTE_REPARSE_POINT
#define FILE_SPARSE_FILE   FILE_ATTRIBUTE_SPARSE_FILE
#define FILE_SYSTEM   FILE_ATTRIBUTE_SYSTEM
#define FILE_TEMPORARY   FILE_ATTRIBUTE_TEMPORARY
#define FILENAMESIZE   64
#define FILL(d, s, l)   (void) memset ( (char*)(d) , (int)(s) , (CINT)(l) )
#define FORCE_AUTORESTART   0x0004
#define FREE_MEM(_p)   sql57c_free(__LINE__,__FILE__,_p)
#define FULL_BATCH_DIAGFILE_NAME   _T("%DBROOT%\\wrk\\batdiag")
#define FULL_USER_DIAGFILE_NAME   _T("%DBROOT%\\wrk\\appldiag")
#define GB   * ( 1024 MB )
#define GETENV(_pKey, _pVal)   (!(*_pVal = getenv(_pKey)) ? ERROR_ENVVAR_NOT_FOUND : NO_ERROR)
#define GETPROCESSID(ppid)   (*ppid = GetCurrentProcessId())
#define GROUP_NAME_OS00   _T("SAP DBTech")
#define HF_MAX   3
#define HF_MIN   1
#define HFS_END   4
#define HFS_EOF   6
#define HFS_ERROR   5
#define HFS_RESERVED   2
#define HFS_UNUSED   1
#define HFS_USED   3
#define HOSTNAME_ENV_VAR   _T("HOSTNAME")
#define HT   '\t'
#define HT_SIZE   8
#define IERR_TYPE   0
#define IGNORE_AUTORESTART   0x0002
#define INFO_TYPE   3
#define INTERLOCK(addr)   sql76_interlock(addr)
#define INVALID_HANDLE_VALUE   (HANDLE)-1
#define KB   * 1024
#define KBYTE_4   4096
#define KBYTE_64   65536
#define KERN_ERR_FILE_NAME   _T("kernel.err")
#define KERNEL_APPLIC_CLASS   _T("SAPDB Kernel")
#define KERNEL_APPLIC_NAME   _T("SAPDB - ")
#define KERNEL_TYPE_FAST   1
#define KERNEL_TYPE_QUICK   3
#define KERNEL_TYPE_SLOW   2
#define KERNEL_TYPE_TEST   4
#define KILL_THREAD(_Tid, _Handle)
#define L_DATABASE_OPERATOR_GROUP   L"SAPDB Operators"
#define L_DATABASE_OPERATOR_GROUP_DESC   L"Members can administer existing databases"
#define L_DOMAIN_DATABASE_OPERATOR_GROUP   L"Domain SAPDB Oper"
#define LF   '\n'
#define LOW_PROCESS_PRIORITY   0x0008
#define MAGIC_REC_LEN   8
#define MAIL_REQ   _T("\\\\.\\mailslot\\ADABAS\\REQ\\")
#define MAX_ALLOC_POOL_SIZE   ( 20 MB )
#define MAX_DIAG_HEADER_LEN   80
#define MAX_MSG_LINE_LEN   256
#define MAXBUFFERLENGTH   mxsp_buf
#define MAXERRORTEXT   ( sizeof ( tsp00_ErrText ) )
#define MAXEXIT   10
#define MAXSTRINGLENGTH   64
#define MB   * ( 1024 * 1024 )
#define MEM_SYNC(_addr)   _addr
#define MIN_TERMINATION_TIMEOUT   (60 * 5)
#define MOVE_FILE(_NewFile, _OldFile)   (MoveFile(_NewFile, _OldFile) ? NO_ERROR : GetLastError())
#define MS_CLUSTER_SERVER_STARTUP   0x8000
#define MX_DBNAME   ( sizeof ( tsp00_DbName ) )
#define MX_LINE   ( sizeof ( tsp00_Line ) )
#define MX_NODEID   ( sizeof ( tsp00_NodeId ) )
#define NEEDED_WIN32_WINNT   0x0500
#define NETWORK_THRD_PRIO   THREAD_PRIORITY_ABOVE_NORMAL
#define NOEABUF   0L
#define NTKERN_CATEGORY_FAST_GATEWAY   4
#define NTKERN_CATEGORY_FAST_SERVERDB   1
#define NTKERN_CATEGORY_LAST   NTKERN_CATEGORY_SLOW_GATEWAY
#define NTKERN_CATEGORY_NONE   0
#define NTKERN_CATEGORY_QUICK_SERVERDB   2
#define NTKERN_CATEGORY_SLOW_GATEWAY   5
#define NTKERN_CATEGORY_SLOW_SERVERDB   3
#define NUL   '\0'
#define OS_OS2   4
#define OS_WIN32   3
#define POST_SEM   0
#define PRODUCT_GROUP_NAME   _T("SAP DBTech")
#define PSUITE_TERMINAL_SERVER   _T("Terminal Server")
#define READ_FILE(_hdl, _buf, _size, _read)
#define READ_FILE_OL(_hdl, _buf, _size, _read, _ol)
#define REG_DBLOCALE_SQLOPT   _T("DBLocale")
#define REG_MSCS_PARAM_AUTO_RES_SHT_OS00   _T("AutoRestartShutdown")
#define REG_MSCS_PARAM_LOG_VERBOSE_OS00   _T("LogVerbose")
#define REG_MSCS_PARAM_REMARK_OS00   _T("Remark")
#define REG_MSCS_PARAM_SERVERDB_OS00   _T("SERVERDB")
#define REG_MSG_FILE   _T("sqlmsg.dll")
#define REG_SK_ADABAS_APPLIC   REG_SK_APPLIC
#define REG_SK_AEDEBUG   _T("SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\AeDebug")
#define REG_SK_APPLIC   _T("SAP DBTech")
#define REG_SK_BASE   _T("Software\\SAP")
#define REG_SK_DLLS   _T("DLLs")
#define REG_SK_EVENT_LOG   _T("EventLog\\Application")
#define REG_SK_NT_CLUSTER_SERVER_HIVE   _T("Cluster")
#define REG_SK_NT_CLUSTER_SERVER_SERVICE   _T("SYSTEM\\CurrentControlSet\\Services\\ClusSvc")
#define REG_SK_NT_CURRENT_VERSION   _T("SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion")
#define REG_SK_NT_SYSTEM_ENVIRONMENT   _T("SYSTEM\\CurrentControlSet\\Control\\Session Manager\\Environment")
#define REG_SK_NT_SYSTEM_POWER   _T("SYSTEM\\CurrentControlSet\\Control\\Session Manager\\Power")
#define REG_SK_PRODUCTOPTIONS   _T("System\\CurrentControlSet\\Control\\ProductOptions")
#define REG_SK_SERVICE   _T("SYSTEM\\CurrentControlSet\\Services")
#define REG_SK_SERVICE_PARAM   _T("Parameters")
#define REG_VN_AEDEBUG   _T("Debugger")
#define REG_VN_ALWAYS_CHECK_CONN   _T("AlwaysCheckConn")
#define REG_VN_AWE_RESERVED_MEMORY   _T("AWEReservedPhysMemory")
#define REG_VN_CATEGORY_COUNT   _T("CategoryCount")
#define REG_VN_CATEGORY_FILE   _T("CategoryMessageFile")
#define REG_VN_CHAR_SET_ENABLED   _T("DBCharSetEnabled")
#define REG_VN_CHAR_SET_NAME   _T("DBCharSet")
#define REG_VN_CLUSTER_SERVER_LOGSIZE   _T("ClusterLogSize")
#define REG_VN_CONCURRENT_DEV_WORKERS   _T("ConcurrentIOWorkers")
#define REG_VN_CONFIG_PATH   _T("ConfigPath")
#define REG_VN_DBROOT   _T("DBRoot")
#define REG_VN_DEBUG_BREAK   _T("DebugBreak")
#define REG_VN_DEBUG_LEVEL   _T("DbgLevel")
#define REG_VN_DEV_WORKERS   _T("IOWorkers")
#define REG_VN_DIAG_ENABLED   _T("ApplDiagEnabled")
#define REG_VN_DIAG_NAME   _T("ApplDiagFileName")
#define REG_VN_DIAGFILE_SIZE   _T("DiagFileSize")
#define REG_VN_DUMP_ENABLED   _T("sqladump")
#define REG_VN_EV_TYPES   _T("TypesSupported")
#define REG_VN_HEURISTICS   _T("Heuristics")
#define REG_VN_INDEPENDENT_DATA   _T("Data")
#define REG_VN_INDEPENDENT_PGM   _T("Programs")
#define REG_VN_KERNEL_VERSION   _T("KernelVersion")
#define REG_VN_KEY_ID   _T("KeyID")
#define REG_VN_MAX_CON   _T("MaxConnections")
#define REG_VN_MSG_FILE   _T("EventMessageFile")
#define REG_VN_NO_DNS_REVERSE_LOOKUP   _T("NoDNSReverseLookup")
#define REG_VN_OBJECT_NAME   _T("ObjectName")
#define REG_VN_PAUSE   _T("Pause")
#define REG_VN_PAUSE_ENABLED   _T("PauseEnabled")
#define REG_VN_PRODUCT_SUITE   _T("ProductSuite")
#define REG_VN_SERVICE_IMAGE_PATH   _T("ImagePath")
#define REG_VN_SERVICE_PACK   _T("CSDVersion")
#define REG_VN_SERVICE_PACK   _T("CSDVersion")
#define REG_VN_SERVICE_TYPE   _T("Type")
#define REG_VN_SQLOPT   _T("SQLOpt")
#define REG_VN_SQLOPT_ENABLED   _T("SQLOptEnabled")
#define REG_VN_TAPE_COMPRESS   _T("TapeCompression")
#define REG_VN_TAPE_LOAD_RETRY_TIME   _T("MaxTapeLoadTime")
#define REG_VN_TCPIP_DLL   _T("TCPIP")
#define REG_VN_TERMINATION_TIMEOUT   _T("TerminationTimeout")
#define REG_VN_USE_INDEP_PATH   _T("UseIndependentPath")
#define REG_VN_USE_XUDATA_POS   _T("UDataPos")
#define REG_VN_USER   _T("User")
#define REG_VN_VERSION   _T("Version")
#define REG_VN_VERSION_ID   _T("VersionID")
#define REG_VN_WRK_PATH   _T("WorkPath")
#define REG_VN_XUSER   _T("UData")
#define REMOVE_SAPDB_SERVICE   2UL
#define REQUESTOR_THRD_PRIO   THREAD_PRIORITY_HIGHEST
#define RES_STRT_STOP_PEND_TIMEOUT_OS00   _T("PendingTimeout")
#define RESOURCE_NAME_IP_ADDRESS_OS00   _T("SAP DBTech IP-Address")
#define RESOURCE_TYPE_IP_ADDRESS_OS00   _T("IP Address")
#define RESOURCE_TYPE_SERVERDB_OS00   _T("SERVERDB (SAP DBTech)")
#define RESOURCE_TYPE_XSERVER_OS00   _T("XServer (SAP DBTech)")
#define RESUME_THREAD(_Tid, _Handle)   ((ResumeThread(_Handle) != (DWORD)-1) ? NO_ERROR : GetLastError())
#define RTE_ASSERT(_as, _err)
#define SAPDBCLUEX_DLL_NAME_OS00   _T("SAPDBMSCSEx.Dll")
#define SAPDBCLUMAN_DLL_NAME_OS00   _T("SAPDBMSCSMan.Dll")
#define SAPDBCLURES_DLL_NAME_OS00   _T("SAPDBMSCSRes.Dll")
#define SEM_COORD   _T("SAP DBTech-COORD-")
#define SEM_UKT   _T("SAP DBTech-UKT-")
#define SEM_USR   _T("SAP DBTech-USR-")
#define SEM_XSERVER   _T("SAP DBTech-XSERVER-")
#define SEM_XSTART   _T("SAP DBTech-XSTART-")
#define SEM_XSTART_CRASH   _T("SAP DBTech-CRASH-")
#define SEM_XSTOP   _T("SAP DBTech-XSTOP-")
#define SERV_ERR_FILE_NAME   _T("serv.err")
#define SERVER_LOOP_THRD_PRIO   THREAD_PRIORITY_HIGHEST
#define SERVER_REQUESTOR   THREAD_PRIORITY_HIGHEST
#define SERVER_THRD_PRIO   THREAD_PRIORITY_HIGHEST
#define SERVER_TYPE_ADABAS_GATEWAY   3
#define SERVER_TYPE_ADABAS_SERVERDB   2
#define SERVER_TYPE_FILENAME   _T("config\\server.typ")
#define SERVER_TYPE_GATEWAY   1
#define SERVER_TYPE_SERVERDB   0
#define SERVERDB_ENV_VAR   _T("SERVERDB")
#define SERVERDB_EVENT_SOURCE_NAME   _T("SAPDB:")
#define SERVICE_DISPLAY_STR   _T("SAPDB: ")
#define SERVICE_DISPLAY_STR_GW   _T("SAPDB Gateway: ")
#define SERVICE_DISPLAY_STR_XSERVER   XSERV_TITLE
#define SERVICE_ID   _T("SAP DBTech-")
#define SERVICE_ID_GW   _T("SAP DBTech GW-")
#define SERVICE_ID_XSERVER   _T("XServer")
#define SERVICE_QUICK_EXT   _T(" (quick)")
#define SERVICE_SLOW_EXT   _T(" (slow)")
#define SERVICE_TEST_EXT   _T(" (test)")
#define SET_FILE_PTR(_hdl, _size, _typ, _plpos, _phpos)
#define SET_THREAD_PRIO(_Prio, _Tid, _Handle)   (SetThreadPriority(_Handle, _Prio ) ? NO_ERROR : GetLastError())
#define SHM_COMMSEG   _T("ADABAS-COMMSEG-")
#define SHM_FCS   _T("ADABAS-FCS-")
#define SHM_KSS   _T("ADABAS-KSS-")
#define SLEEP(_msec)   SleepEx(_msec, FALSE)
#define SQL_PACKET_ALIGNMENT   8
#define SQLMSG_CATEGORY_CLIENT   2
#define SQLMSG_CATEGORY_LAST   SQLMSG_CATEGORY_CLIENT
#define SQLMSG_CATEGORY_NONE   0
#define SQLMSG_CATEGORY_XSERVER   1
#define STDERR   2
#define STDIN   0
#define STDOUT   1
#define SV_TYPE_SAPDB   0x18800000
#define SYSTEM_GUEST_NAME   _T("GUEST")
#define TAPE_COMPRESS_ENV_VAR   _T("TAPECOMPRESS")
#define TCPIP_INIT_NOTOK   1
#define TCPIP_INIT_OK   0
#define TCPIP_INIT_WRONG_VERSION   2
#define THREADID   GetCurrentThreadId()
#define TIMER_THRD_PRIO   THREAD_PRIORITY_NORMAL
#define UNDEF   -1
#define UPDATE_SAPDB_SERVICE   3UL
#define USER_DIAGFILE_NAME   _T("appldiag")
#define USERDIAG_ENV_VAR   _T("DIAGFILE")
#define VFT_CHARACTER_DEVICE   1
#define VFT_DISK   0
#define VFT_PIPE   2
#define WAIT_THREAD(_Handle, _Sec)
#define WAIT_UNTIL_ALONE(addr)   while( INTERLOCK(addr) ) SLEEP( 0 )
#define WRITE_FILE(_hdl, _buf, _size, _written)
#define WRITE_FILE_OL(_hdl, _buf, _size, _written, _ol)
#define WRN_TYPE   2
#define XCPT_ABORT_EXCEPTION   0xE000AFFE
#define XCPT_ABORT_EXCEPTION_MINI_DUMP   0xE000AAAA
#define XCPT_MICROSOFT_CPP_EXCEPTION   0xE06D7363
#define XSERV_DIAGNAME   _T("xserver.prt")
#define XSERV_TITLE   _T("XServer")
#define XSERVER_OBJ_NAME   _T("XSERVER")
#define XSHOW_TITLE   _T("XShow")
#define XSTART_TITLE   _T("XStart")
#define XSTOP_TITLE   _T("XStop")
#define XUSER_DEFAULT_PATH_NAME   _T("%HOMEDRIVE%%HOMEPATH%\\user.dat")

Typedefs

typedef struct access_rights_record ACCESS_RIGHTS_REC
typedef DWORD APIRET
typedef tsp00_Page * BUFFERADDRESS
typedef CHAR C256 [256]
typedef CHAR C40C [41]
typedef tsp00_C64 C64
typedef CHAR C64C [sizeof(tsp00_C64)+1]
typedef CHAR C8C [9]
typedef unsigned CINT
typedef ULONG COMMHANDLE
typedef unsigned char enum1
typedef tsp00_ErrText ERRORTEXT
typedef EXCEPTION_RECORD EXCEPTION_REC
typedef EXCEPTION_RECORD EXCEPTION_REPORT_REC
typedef struct flag_comm_seg FLAG_COMM_SEG
typedef float FLOAT4
typedef double FLOAT8
typedef HANDLE HEV
typedef char INT1
typedef short INT2
typedef tsp00_Int4 INT4
typedef CHAR IPC_BASE_OBJ_NAME [70]
typedef ACCESS_RIGHTS_REC * PACCESS_RIGHTS_REC
typedef CHAR PATHNAME [MAX_PATH+1]
typedef COMMHANDLE * PCOMMHANDLE
typedef EXCEPTION_REC * PEXCEPTION_REC
typedef EXCEPTION_REPORT_REC * PEXCEPTION_REPORT_REC
typedef FLAG_COMM_SEG * PFLAG_COMM_SEG
typedef VOID _System(* PFNEXITLIST )(ULONG)
typedef HANDLE * PHEV
typedef DWORD PID
typedef char * PINT1
typedef short * PINT2
typedef INT4 * PINT4
typedef IPC_BASE_OBJ_NAME * PIPC_BASE_OBJ_NAME
typedef LONG(* PMSGFUNCTYPE )(char *MessageString)
typedef DWORD * PPID
typedef PVOID * PPVOID
typedef REG_ENTRY_REC * PREG_ENTRY_REC
typedef tsp00_TaskId PROCESS_ID
typedef tsp00_RteCommRec * PRTE_COMM_REC
typedef DWORD * PTID
typedef unsigned char * PUINT1
typedef USER_ACCESS_RIGHTS_REC * PUSER_ACCESS_RIGHTS_REC
typedef DWORD QWORD [2]
typedef struct reg_entry_record REG_ENTRY_REC
typedef tsp00_RegionId REGION_ID
typedef tsp00_RteCommRec RTE_COMM_REC
typedef CHAR SERVICE_DISPLAY_NAME [MAX_PATH+1]
typedef tsp00_DbName SQL_DBNAME
typedef CHAR SQL_DBNAMEC [sizeof(tsp00_DbName)+1]
typedef tsp00_NodeId SQL_NODEID
typedef CHAR SQL_NODEIDC [sizeof(tsp00_NodeId)+1]
typedef DWORD TID
typedef FLOAT8 tsp00_Longreal
typedef CHAR tsp2_devnamec [ALIGN_4BYTE_EO00(sizeof(tsp00_VFilename)+1)]
typedef CHAR tsp_knl_identifierC [sizeof(tsp00_KnlIdentifier)+1]
typedef unsigned char UINT1
typedef unsigned short UINT2
typedef unsigned long UINT4
typedef struct
user_access_rights_record 
USER_ACCESS_RIGHTS_REC
typedef CHAR VF_FILENAMEC [sizeof(tsp00_VFilename)+1]

Enumerations

enum  DIAG_HEADER_TYPE {
  no_diag_header, big_diag_header, big_user_diag_header, small_diag_header,
  event_log_header, time_diag_header
}

Functions

VOID sql01c_build_config_path (char *pszDBRoot, char *pszConfigPath)
VOID sql01c_build_pgm_path (char *pszDBRoot, char *pszPgmPath)
VOID sql01c_build_sap_path (char *pszDBRoot, char *pszSAPPath)
VOID sql01c_get_config_path (char **ppszConfigPath)
BOOL sql01c_get_dblang (char **ppszDBLang)
BOOL sql01c_get_dbroot (char **ppszDBRoot)
BOOL sql01c_get_serverdb (char **ppszServerDB)
VOID sql01c_get_wrk_path (char **ppszWrkPath)
SAPDB_Bool sql01c_Is32BitApplOn64Bit (void)
 This funtions determines if the running program was compiled as a 32 bit application and is now running on a 64 bit machine (Itanium).
LONG sql01c_set_config_path (char *pszConfigPath)
BOOL sql01c_set_symbol_path (char *pszDBRoot)
LONG sql01c_set_wrk_path (char *pszWrkPath)
VOID sql02_get_os_version (PULONG pulMajorVersion, PULONG pulMinorVersion)
ULONG sql02_get_platform_id (void)
char * sql02_get_product_suite (VOID)
DWORD sql02_get_service_pack (void)
BOOL sql02_release_resources (VOID)
BOOL sql02_validate_product_suite (char *szSuiteName)
APIRET sql03c_add_SAPDB_operators_group (VOID)
APIRET sql03c_del_SAPDB_operators_group (VOID)
APIRET sql03c_get_domain_name (char *pszDomainName)
APIRET sql03c_group_or_user_avail (char *pszNodeName, char *pszGroupOrUserName)
APIRET sql03c_group_or_user_on_DC_avail (char *pszGroupOrUserName)
BOOL sql09c_find_handle_by_id (PVOID pHandles, ULONG ulID, PULONG pulHandle)
BOOL sql09c_find_next_handle (PVOID pHandles, PULONG pulHandle)
BOOL sql09c_free_handle (PVOID pHandles, ULONG ulHandle)
BOOL sql09c_get_handle_data (PVOID pHandles, ULONG ulHandle, PVOID *ppData, PULONG pulHType, PULONG pulID)
BOOL sql09c_init_handle_dir (PVOID *ppHandles, ULONG ulMaxHandles)
BOOL sql09c_lock_handle (PVOID pHandles, ULONG ulHandle)
BOOL sql09c_put_handle_data (PVOID pHandles, ULONG ulHandle, PVOID pData, ULONG ulHType, ULONG ulID)
BOOL sql09c_release_handle_dir (PVOID pHandles)
BOOL sql09c_reserve_handle (PVOID pHandles, PULONG pulHandle)
BOOL sql09c_unlock_handle (PVOID pHandles, ULONG ulHandle)
BOOL sql40c_free_dll (VOID)
ULONG sql40c_get_dll_version (tsp100_VersionID1 *pVersion)
INT sql40c_get_sock_version (UCHAR *pcMajorSockVersion, UCHAR *pcMinorSockVersion)
ULONG sql40c_get_tcpip_dll_path (char **ppszTCPIPDLLName)
INT sql40c_gethostbyaddr (char *pszHostName, PUCHAR pucAddr, LONG lAddrLen)
INT sql40c_gethostbyname (char *pszHostName, PUCHAR pucAddr, PINT pAddrLen)
INT sql40c_getservbyname (PCHAR pszService, PUSHORT pusServicePort)
INT sql40c_is_inet_addr_valid (PCHAR Addr)
INT sql40c_select (PINT pSDCount, PVOID pReadSDMask, PVOID pWriteSDMask, PVOID pExceptSDMask, USHORT usTimeOut)
LONG sql40c_set_tcpip_dll_path (char *pszTCPIPDLLName)
INT sql40c_sock_cleanup (VOID)
INT sql40c_sock_init (VOID)
LONG sql49c_alloc_and_init_SD (PACCESS_RIGHTS_REC pAccess, PSECURITY_DESCRIPTOR *ppSD)
LONG sql49c_alloc_and_init_service_SD (PSECURITY_DESCRIPTOR *ppSD, SC_HANDLE schService)
LONG sql49c_get_kernel_obj_SD (PSECURITY_DESCRIPTOR *ppSD, HANDLE hObject)
LONG sql49c_get_token_information (PTOKEN_USER *ppTU, PTOKEN_GROUPS *ppTG, PTOKEN_DEFAULT_DACL *ppTDacl)
LONG sql49c_get_user_info (char **ppszLogonName, char **ppszRefDomain)
LONG sql49c_get_user_textual_SID (SAPDB_Char *accountName, PSZ *ppszTextualSID)
LONG sql49c_set_file_security (char *pszFileName, PSECURITY_DESCRIPTOR pSD)
LONG sql49c_set_kernel_obj_sec (PSECURITY_DESCRIPTOR pSD, HANDLE hObject)
LONG sql49c_set_service_logon_right (char *pszNodeName, char *pszAccountName)
LONG sql49c_set_sync_access (VOID)
LONG sql49c_user_is_admin (BOOL *pfIsAdmin)
LONG sql49c_user_privilege_check (BOOL *pfIsOk)
LONG sql50_create_reg_key (char *pszNodeName, HKEY hKey, char *pszSubKey, PSECURITY_ATTRIBUTES pSA)
LONG sql50_reg_applic_key_exists (char *pszNodeName, HKEY hKey, char *pszSubKey)
LONG sql50_reg_del_applic_key (char *pszNodeName, HKEY hKey, char *pszSubKey)
LONG sql50_reg_del_applic_value (char *pszNodeName, HKEY hKey, char *pszSubKey, char *pszValueName)
LONG sql50_reg_del_key (char *pszNodeName, HKEY hKey, char *pszSubKey)
LONG sql50_reg_del_service_key (char *pszNodeName, char *pszSubKey)
LONG sql50_reg_del_service_value (char *pszNodeName, char *pszSubKey, char *pszValueName)
LONG sql50_reg_del_value (char *pszNodeName, HKEY hKey, char *pszSubKey, char *pszValueName)
LONG sql50_reg_get_applic_values (char *pszNodeName, HKEY hKey, char *pszSubKey, ULONG ulNumOfEntries, PREG_ENTRY_REC pEntyArray)
LONG sql50_reg_get_oldapplic_values (char *pszNodeName, HKEY hKey, char *pszSubKey, ULONG ulNumOfEntries, PREG_ENTRY_REC pEntyArray)
LONG sql50_reg_get_service_values (char *pszNodeName, char *pszSubKey, ULONG ulNumOfEntries, PREG_ENTRY_REC pEntyArray)
LONG sql50_reg_get_values (char *pszNodeName, HKEY hKey, char *pszSubKey, ULONG ulEntries, PREG_ENTRY_REC pEntyArray)
LONG sql50_reg_key_exists (char *pszNodeName, HKEY hKey, char *pszSubKey)
LONG sql50_reg_put_applic_values (char *pszNodeName, SAPDB_Char *accountName, HKEY hKey, char *pszSubKey, char *pszPrivateSubKey, ULONG ulNumOfEntries, PREG_ENTRY_REC pEntyArray)
LONG sql50_reg_put_service_values (char *pszNodeName, char *pszSubKey, ULONG ulNumOfEntries, PREG_ENTRY_REC pEntyArray)
LONG sql50_reg_put_values (char *pszNodeName, HKEY hKey, char *pszSubKey, ULONG ulEntries, PREG_ENTRY_REC pEntyArray, PSECURITY_ATTRIBUTES pSA)
LONG sql50_RegistryDeleteApplSupKey (HKEY hKey, SAPDB_Char *pszSubKey)
APIRET sql57c_free (ULONG ulLine, char *pszModuleName, PVOID pvMemBlock)
VOID sql57c_heap_destroy (VOID)
APIRET sql57c_malloc (ULONG ulLine, char *pszModuleName, PPVOID ppvMemBlock, ULONG ulSize)
APIRET sql57c_realloc (ULONG ulLine, char *pszModuleName, PPVOID ppvMemBlock, ULONG ulSize)
VOID sql60_close_diag_file (VOID)
VOID sql60_close_error_diag_file (VOID)
VOID sql60_close_event_file (VOID)
VOID sql60_close_event_log (VOID)
VOID sql60_close_util_diag_file (VOID)
VOID sql60_create_diag_header (LONG lMsgID, ULONG ulEventType, const char *pszLabel, DIAG_HEADER_TYPE HeaderType, char *pszOutBuffer)
VOID sql60_disable_console (VOID)
VOID sql60_disable_default_device (VOID)
VOID sql60_disable_GUI_console (VOID)
VOID sql60_disable_message_box (VOID)
VOID sql60_disable_message_output (VOID)
VOID sql60_enable_console (VOID)
VOID sql60_enable_default_device (VOID)
VOID sql60_enable_GUI_console (PMSGFUNCTYPE pMessageFunc)
VOID sql60_enable_message_box (VOID)
VOID sql60_enable_message_output (VOID)
VOID sql60_get_diag_filename (char **ppszPhysDiagFileName)
LONG sql60_install_event_source (char *pszNodeName, char *pszEventLogSource, char *pszEventFile, char *pszCategoryFile, ULONG ulCategories)
VOID _System sql60_int_err_msg_prio7 (const char *pszFormatStr,...)
VOID _System sql60_msg_prio_x (ULONG ulPrio, LONG lMsgID, ULONG ulEventType, const char *pszLabel, const char *pszFormatStr,...)
LONG sql60_open_diag_file (char *pszDiagFileName, ULONG ulDiagSize, PSECURITY_ATTRIBUTES pSA)
LONG sql60_open_error_diag_file (char *pszDiagFileName, PSECURITY_ATTRIBUTES pSA)
LONG sql60_open_event_file (char *pszEventFileName, ULONG ulDiagSize, PSECURITY_ATTRIBUTES pSA)
LONG sql60_open_event_log (char *pszEventLogTitle, char *pszEventLogSource)
LONG sql60_open_util_diag_file (char *pszUtilDiagFileName, ULONG ulDiagSize, PSECURITY_ATTRIBUTES pSA)
VOID sql60_release_resources (VOID)
LONG sql60_remove_event_source (char *pszNodeName, char *pszEventLogSource)
LONG sql60_reopen_event_log (char *pszEventLogTitle, char *pszEventLogSource)
VOID sql60_reset_crit_section (VOID)
VOID sql60_strt_msg_wrt_cycle (VOID)
LONG sql60_write_to_event_file (const char *pszMsg, ULONG ulMsgLen)
LONG sql60_write_to_util_diag (const char *pszMsg, ULONG ulMsgLen)
VOID _Optlink sql76_clearlock (LONG *plLockAddr)
BOOL _Optlink sql76_interlock (LONG *plLockAddr)
INT sql80_GetOpt (int nArgc, char **apszArgv, char *pszOptString)
APIRET sql90_start_db_gw_service (char *pszNodeName, char *pszServerDB, ULONG ulOptions, ULONG ulKernelType)
APIRET sql90_start_serverdb (char *pszServerDB, char *pszDBRoot, ULONG ulOptions, ULONG ulKernelType)
APIRET sql90_stop_db_gw_service (char *pszNodeName, char *pszServerDB)
APIRET sql90_stop_serverdb (char *pszServerDB, BOOL fDump, BOOL gracefully)
VOID sql96c_abort (VOID)
APIRET sql97_first_db_gw_state (ULONG ulServerType, char *pszServerDB, PBOOL pfActive)
APIRET sql97_next_db_gw_state (char *pszServerDB, PBOOL pfActive)
APIRET sql97_update (char *pszNodeName)
APIRET sql97_xserver_state (char *pszNodeName, PBOOL pfActive)
BOOL sql97cc_findControlServer (char *pszExecutable, char *pszServerDB, char *pszServerPgm, char *pszDBRoot, tsp00_ErrText VAR_ARRAY_REF errText)
VOID sqlabort (VOID)
typedef VOID (__cdecl *SIGNALFUNCTYPE)(INT SigType)


Generated by  Doxygen 1.6.0   Back to index