SYNOPSISint n_setdefaults(SERVER *se)
int n_setdatabase(SERVER *se,str dbname)
str n_getdatabase(SERVER *se)
DESCRIPTION
This collection of functions provide the needed control over how a
Texis server will behave. They are to be used prior to a call to
n_texis()
. All of the functions have a common first argument
which is the omnipresent SERVER *
. If a set
function
returns an int
, the value 0 means failure and not
0 means
the operation was successful. Those functions that have a void
return value return nothing. If a get
function returns a pointer
type, the value (type *)NULL
indicates a problem getting memory.
Otherwise the pointer should be freed when no longer needed.
resets all server parameters to their initial state.
sets dbname
as the name of the Texis database that is
to be queried against.
gets the name of the Texis database that is to be queried against.