|
SYNOPSIS
int 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.
- void n_setdefaults(SERVER *se)
-
resets all server parameters to their initial state.
- int n_setdatabase(SERVER *se,str dbname)
-
sets dbname as the name of the Texis database that is
to be queried against.
- str n_getdatabase(SERVER *se)
-
gets the name of the Texis database that is
to be queried against.
Copyright © Thunderstone Software Last updated: Sun Mar 17 21:14:49 EDT 2013
|