Switch Operation Management Interface. More...
Go to the source code of this file.
Macros | |
| #define | SOM_LIBRARY_VERSION 100 |
| #define | SOM_FACILITY_MULTITHREADED (32) |
| Create a Session object. | |
Typedefs | |
| typedef void | SOMSessionCallback(struct SOMSession *session, void *ophandle, void *clientdata, int status, const char *opdata, size_t opdatalen) |
| Prototype for callback for session operation completion. | |
Functions | |
| const char * | SOMError (int error) |
| Return string for error code. | |
| void | SOMSetService (struct SOMSession *session, const char *service) |
| Set the service name - defaults to "som". | |
| int | SOMSessionAuthenticated (struct SOMSession *session) |
| Return TRUE if session authenticated, FALSE otherwise. | |
| int | SOMInit (int version) |
| Return string for error code. | |
| int | SOMSessionCreate (int facilities, void *clientdata, struct SOMSession **session) |
| int | SOMEventPoll (int dispatch, int timeout) |
| Poll for asynchronous events on all open sessions. | |
| int | SOMEventPollSingle (struct SOMSession *sp, int dispatch, int timeout) |
| Poll for asynchronous events on a single Session. | |
| int | SOMSessionSetTLS (struct SOMSession *session, const char *identity, const char *passphrase) |
| Enable use of TLS/SSL for the session. | |
| int | SOMSessionSetSessionCallback (struct SOMSession *session, SOMSessionCallback *callback, SOMSessionCallback **oldvalue) |
| Set the session callback function for this session. | |
| int | SOMSessionOpen (struct SOMSession *session, const char *host, int port, const char *username, const char *password, void *ophandle, int async) |
| Open a session to the MTA. | |
| int | SOMSessionOpenRole (struct SOMSession *session, const char *host, int port, const char *username, const char *password, const char *role, void *ophandle, int async) |
| Open a session to the MTA. | |
| int | SOMSessionOpenMech (struct SOMSession *session, const char *host, int port, const char *username, const char *passwd, void *ophandle, int async, const char *mech) |
| Open a session to the MTA, specifying the SASL mechanism to be used. | |
| int | SOMSessionOpenMechRole (struct SOMSession *session, const char *host, int port, const char *username, const char *passwd, const char *role, void *ophandle, int async, const char *mech) |
| Open a session to the MTA, specifying the SASL mechanism to be used. | |
| int | SOMSessionClose (struct SOMSession *sp) |
| Close a X400 Session. | |
| int | SOMSessionDelete (struct SOMSession *session) |
| Delete a session. | |
| int | SOMSessionClear (struct SOMSession *session, int facilities) |
| Clear all subordinate objects. | |
Detailed Description
Switch Operation Management Interface.
This is an API for interfacing to the Isode Switch Management Interface Daemon.
Definition in file session.h.