class GATE

Z39.50 Gateway Input Class

Public Methods

INT CheckSession ( )
Get the session ID
GATE (char *mp, CGI *cgi)
Basic Constructor
INT GenerateInitRequest ()
Perform an INIT
INT GenerateLogOutRequest ()
Log Out
INT GeneratePresentRequest ()
Present records
INT GenerateScanRequest ()
Do a SCAN
INT GenerateSearchRequest (INT nDBs)
Do a search
void GetErrorMessage (CHR *s)
Retrieve latest error message
CHR* GetFormsPath ()
Get the local path to the HTML forms (WEBFORMS)
CHR* GetGatewayHTML ()
Get the name of the gateway HTML form (ZgateGatewayHTML)
CHR* GetGatewayHTMLPath ()
Get the URL path to the gateway HTML form (ZgateGatewayPath)
CHR* GetGatewayName ()
Get the name of the gateway binary (ZgateFileName)
CHR* GetGatewayPath ()
Get the path to the gateway binary (ZgateFilePath)
UINT GetGatewayTimeout ()
Get the process timeout limit
CHR* GetGatewayURL ()
Get the URL of the gateway binary (ZgateFileURL)
CHR* GetHistoryName ()
Get the name of the history file (ZconHistoryName)
CHR* GetHistoryPath ()
Get the path to the history file (ZconHistoryPath)
CHR* GetLockName ()
Get the name of the lock file (ZconLockName)
CHR* GetLockPath ()
Get the path to the lock file (ZconLockPath)
CHR* GetScratchDir ()
Get the name of a scratch directory
CHR* GetTrackerName ()
Get the name of the tracker file (ZgateTrackerName)
CHR* GetTrackerPath ()
Get the path to the tracker file (ZgateTrackerPath)
CHR* GetZconName ()
Get the name of the zcon binary (ZconFileName)
CHR* GetZconPath ()
Get the path to the zcon binary (ZconFilePath)
CHR* GetZconProgName ()
Get the zcon program name (ZconProgName)
INT LoadDBNames (CHR *database_names[], CHR *database_values[])
Get the list of DB names from the INI file
~GATE ()
Basic Destructor

Public


Grab defaults from INI file

Private Fields

* Action
INT BreakLoop
CGI* cgi
STRLIST DatabaseList
* DBInfo
REGISTRY* Defaults
CHR InitUserId [256]
LocalErrorMessage [512]
CHR mypath [512]
CHR* ScratchDir
* TempFile
UINT Timeout
INT Usr1Error
CHR* WebForms
CHR* ZconFileName
CHR* ZconFilePath
CHR* ZconHistoryName
CHR* ZconHistoryPath
CHR* ZconLockName
CHR* ZconLockPath
CHR* ZconProgName
CHR* ZconProgPath
CHR* ZgateFileName
CHR* ZgateFilePath
CHR* ZgateFileURL
CHR* ZgateGatewayHTML
CHR* ZgateGatewayPath
CHR* ZgateGatewayURL
CHR* ZgateTrackerName
CHR* ZgateTrackerPath

Private Methods

void DisplayGWForm (CHR * Filename, INT SessionId)
Shows main login form
void DisplayGWForm (void)
Shows main login form
INT PingManager (INT PID)
Signal ZCON to read command
void SetErrorMessage (CHR *s)
Set text of error message
CHR* SNumber (STRING ETerm, char *GlobalUserId)
Add S Number Support
INT UpdateSNumberCount ()
Update the current S Number
INT WriteQueryFiles (INT PID, CHR *DBName, CHR *TempTerm)
Update history and S number data

Documentation

Z39.50 Gateway Input Class
CHR InitUserId[256]

* TempFile

* DBInfo

* Action

CHR mypath[512]

LocalErrorMessage[512]

INT Usr1Error

INT BreakLoop

CGI* cgi

REGISTRY* Defaults

STRLIST DatabaseList

CHR* WebForms

CHR* ScratchDir

UINT Timeout

CHR* ZgateGatewayPath

CHR* ZgateGatewayHTML

CHR* ZgateGatewayURL

CHR* ZgateFilePath

CHR* ZgateFileName

CHR* ZgateFileURL

CHR* ZgateTrackerPath

CHR* ZgateTrackerName

CHR* ZconFilePath

CHR* ZconFileName

CHR* ZconHistoryPath

CHR* ZconHistoryName

CHR* ZconLockPath

CHR* ZconLockName

CHR* ZconProgPath

CHR* ZconProgName

void DisplayGWForm(CHR * Filename, INT SessionId)
Shows main login form

void DisplayGWForm(void)
Shows main login form

INT UpdateSNumberCount()
Update the current S Number

INT WriteQueryFiles(INT PID, CHR *DBName, CHR *TempTerm)
Update history and S number data

INT PingManager(INT PID)
Signal ZCON to read command

void SetErrorMessage(CHR *s)
Set text of error message

CHR* SNumber(STRING ETerm, char *GlobalUserId)
Add S Number Support

Grab defaults from INI file

GATE(char *mp, CGI *cgi)
Basic Constructor

~GATE()
Basic Destructor

void GetErrorMessage(CHR *s)
Retrieve latest error message

INT CheckSession( )
Get the session ID

INT GenerateSearchRequest(INT nDBs)
Do a search

INT GenerateScanRequest()
Do a SCAN

INT GenerateLogOutRequest()
Log Out

INT GeneratePresentRequest()
Present records

INT GenerateInitRequest()
Perform an INIT

INT LoadDBNames(CHR *database_names[], CHR *database_values[])
Get the list of DB names from the INI file

CHR* GetFormsPath()
Get the local path to the HTML forms (WEBFORMS)

CHR* GetScratchDir()
Get the name of a scratch directory

UINT GetGatewayTimeout()
Get the process timeout limit

CHR* GetGatewayHTMLPath()
Get the URL path to the gateway HTML form (ZgateGatewayPath)

CHR* GetGatewayHTML()
Get the name of the gateway HTML form (ZgateGatewayHTML)

CHR* GetGatewayPath()
Get the path to the gateway binary (ZgateFilePath)

CHR* GetGatewayName()
Get the name of the gateway binary (ZgateFileName)

CHR* GetGatewayURL()
Get the URL of the gateway binary (ZgateFileURL)

CHR* GetTrackerPath()
Get the path to the tracker file (ZgateTrackerPath)

CHR* GetTrackerName()
Get the name of the tracker file (ZgateTrackerName)

CHR* GetZconPath()
Get the path to the zcon binary (ZconFilePath)

CHR* GetZconName()
Get the name of the zcon binary (ZconFileName)

CHR* GetHistoryPath()
Get the path to the history file (ZconHistoryPath)

CHR* GetHistoryName()
Get the name of the history file (ZconHistoryName)

CHR* GetLockPath()
Get the path to the lock file (ZconLockPath)

CHR* GetLockName()
Get the name of the lock file (ZconLockName)

CHR* GetZconProgName()
Get the zcon program name (ZconProgName)

This class has no child classes.

alphabetic index hierarchy of classes

this page has been generated automatically by doc++

(c)opyright by Malte Z&oumlckler, Roland Wunderling
contact: doc++@zib.de