-sms_connect, sms_host, sms_auth, sms_disconnect, sms_noop, sms_access,
-sms_query, sms_do_update, sms_motd, sms_set_alternate_input,
+mr_connect, mr_host, mr_auth, mr_disconnect, mr_noop, mr_access,
+mr_query, mr_do_update, mr_motd, mr_set_alternate_input,
format_filesys_type, parse_filesys_type,
canonicalize_hostname, strsave, strtrim, sq_create, sq_destroy,
sq_get_data, sq_remove_data, sq_empty, sq_save_args, sq_save_data,
format_filesys_type, parse_filesys_type,
canonicalize_hostname, strsave, strtrim, sq_create, sq_destroy,
sq_get_data, sq_remove_data, sq_empty, sq_save_args, sq_save_data,
-.B int sms_query(name, argc, argv, callproc, callarg);
+.B int mr_query(name, argc, argv, callproc, callarg);
directly. Instead, they are called by the routines that are described.
Be sure to link your application against these libraries:
directly. Instead, they are called by the routines that are described.
Be sure to link your application against these libraries:
on failure. An application should connect, check the motd in case the
server is closed, authenticate, perform queries, then disconnect.
on failure. An application should connect, check the motd in case the
server is closed, authenticate, perform queries, then disconnect.
.I server
specification is optional. If present, it is of the form
hostname:portname, where the portname can be looked up in
.I server
specification is optional. If present, it is of the form
hostname:portname, where the portname can be looked up in
will check to see if the server is closed and if so, will retrieve an
explanatory message (the so-called motd). This routine will always
return 0 if no error occurs. *motd will be NULL if the server is
functioning normally, or a pointer to a static string with the
explanation if the server is down.
will check to see if the server is closed and if so, will retrieve an
explanatory message (the so-called motd). This routine will always
return 0 if no error occurs. *motd will be NULL if the server is
functioning normally, or a pointer to a static string with the
explanation if the server is down.
authenticates an established connection using Kerberos.
.I prog
is the name of the program making the connection. The program name
and the kerberos principal name will be recorded with any changes made
to the database through this connection.
authenticates an established connection using Kerberos.
.I prog
is the name of the program making the connection. The program name
and the kerberos principal name will be recorded with any changes made
to the database through this connection.
performs a query. This query may be a retrieval, append, delete, or
update of the database. Query
.I name
performs a query. This query may be a retrieval, append, delete, or
update of the database. Query
.I name
tells the Moira library that you want to allow some asynchronus
actions while a query is being processed. During query processing, if
any data is available to be read on the specified file descriptor,
then the specified function will be called to handle it. For
tells the Moira library that you want to allow some asynchronus
actions while a query is being processed. During query processing, if
any data is available to be read on the specified file descriptor,
then the specified function will be called to handle it. For
server and a routine which will dispatch X events will allow a toolkit
application to handle mouse and expose events while a query is being
processed.
server and a routine which will dispatch X events will allow a toolkit
application to handle mouse and expose events while a query is being
processed.
<krb_et.h>. They may be easily decoded using the com_err library.
.SH RESTRICTIONS
COPYRIGHT 1987,1988,1989 Massachusetts Institute of Technology
<krb_et.h>. They may be easily decoded using the com_err library.
.SH RESTRICTIONS
COPYRIGHT 1987,1988,1989 Massachusetts Institute of Technology