#include <ctype.h>
#include <stdlib.h>
#include <string.h>
#include "libmacs.h"
#include "common.h"
Functions | |
macs_session * | macs_init (const char *cf, int svc) |
Initialize the library. | |
macs_session * | macs_new_sess (macs_session *sess) |
Create a MACS session pointer. | |
int | macs_exit (macs_session *sess) |
Free a session. | |
int | macs_ping (macs_session *sess, int svc) |
Ping the services. | |
void | _macs_clean_sess (macs_session *sess) |
Make existing sess as if it just came from macs_new_sess(). | |
Variables | |
const char | _macs_session_c_id [] = "$Id: session.c,v 1.7 2003/08/06 11:46:22 blake Exp $" |
|
Initialize the library.
|
|
Create a MACS session pointer.
|
|
Free a session.
NOTE that this API will not log a session out of MACS. If you wish to log a session out before closing it, see macs_logout() Logging a session out will make the session inaccessible from other applications. |
|
Ping the services.
|
|
Make existing sess as if it just came from macs_new_sess().
|
|
identify yourself |