store.h
int SOMStoreMonitor(struct SOMSession *session, enum som_storemonitor type, void *ophandle, int async)
Start monitoring store events.
int SOMStoreForwardMessage(struct SOMSession *session, const char *source_mbx, int seqnum, const char *dest_addresses, const char *covernote, void *ophandle, int async)
Forward a Message.
int SOMStoreSetMessageCallback(struct SOMSession *session, SOMMSMessageCallback *callback, SOMMSMessageCallback **oldvalue)
Set the callback function for messages for this session.
int SOMStoreConnectionGetStrParam(struct SOMMSConnection *connection, int paramtype, char *buffer, size_t buflen, size_t *paramlenp)
Return an string-valued parameter from the connection object.
int SOMStoreStatus(struct SOMSession *session, void *ophandle, int async)
Get current Store status.
int SOMStoreGetConnection(struct SOMMSData *data, void **prev, int *valp)
Return the next connection id from a data block.
int SOMStoreSetCallback(struct SOMSession *session, SOMMSStoreCallback *callback, SOMMSStoreCallback **oldvalue)
Set the Store callback function for this session.
int SOMStoreGetMailbox(struct SOMMSData *data, void **prev, char *buffer, size_t buflen, size_t *paramlenp)
Return the next mailbox path from a data block.
void SOMMSConnectionCallback(struct SOMSession *session, void *ophandle, void *clientdata, struct SOMMSConnection *con, int status)
Prototype for callback for reporting connection object.
Definition: store.h:145
int SOMStoreMessageGetIntParam(struct SOMMSMessage *message, int paramtype, int *valp)
Return an integer-valued parameter from the message object.
int SOMStoreMailboxGetIntParam(struct SOMMSMailbox *mbx, int paramtype, int *valp)
Return an integer-valued parameter from the mailbox object.
void SOMMSStoreMessagesCallback(struct SOMSession *session, void *ophandle, void *clientdata, struct SOMMSData *data, int status)
Prototype for callback for store messages operation completion.
Definition: store.h:127
void SOMMSStoreConnectionsCallback(struct SOMSession *session, void *ophandle, void *clientdata, struct SOMMSData *data, int status)
Prototype for callback for store connections operation completion.
Definition: store.h:111
int SOMStoreSetMonitorCallback(struct SOMSession *session, SOMMSStoreMonitorCallback *callback, SOMMSStoreMonitorCallback **oldvalue)
Set the Store monitor callback function for this session.
int SOMStoreMailboxGetStrParam(struct SOMMSMailbox *mbx, int paramtype, char *buffer, size_t buflen, size_t *paramlenp)
Return an string-valued parameter from the mailbox object.
int SOMStoreMailboxes(struct SOMSession *session, void *ophandle, int async)
Get list of mailboxes in Store.
int SOMStoreSetConnectionCallback(struct SOMSession *session, SOMMSConnectionCallback *callback, SOMMSConnectionCallback **oldvalue)
Set the callback function for connection objects for this session.
Opaque session data.
int SOMStoreConnectionGetIntParam(struct SOMMSConnection *con, int paramtype, int *valp)
Return an integer-valued parameter from the connection object.
int SOMStoreControl(struct SOMSession *session, enum som_storecontrol control, char *qualifier, void *ophandle, int async)
Perform control operation on Store.
int SOMStoreMessageStatus(struct SOMSession *session, char *mailbox, int seqno, void *ophandle, int async)
Get message status.
int SOMStoreGetMessage(struct SOMMSData *data, void **prev, char *buffer, size_t buflen, size_t *paramlenp)
Return the next message path from a data block.
int SOMStoreMessages(struct SOMSession *session, char *mailbox, void *ophandle, int async)
Get list of messages in a mailbox.
int SOMStoreConnectionStatus(struct SOMSession *session, int connectionid, void *ophandle, int async)
Get connection status.
void SOMMSStoreCallback(struct SOMSession *session, void *ophandle, void *clientdata, struct SOMMSData *data, int status, const char *errstring)
Prototype for callback for store operation completion.
Definition: store.h:58
int SOMStoreMessageGetStrParam(struct SOMMSMessage *message, int paramtype, char *buffer, size_t buflen, size_t *paramlenp)
Return an string-valued parameter from the message object.
int SOMStoreGetStrParam(struct SOMSession *session, int paramtype, char *buffer, size_t buflen, size_t *paramlenp)
Return an string-valued parameter from the store object.
int SOMStoreConnections(struct SOMSession *session, void *ophandle, int async)
Get list of connections to Store.
void SOMMSStoreMailboxesCallback(struct SOMSession *session, void *ophandle, void *clientdata, struct SOMMSData *data, int status)
Prototype for callback for store mailboxes operation completion.
Definition: store.h:95
void SOMMSMessageCallback(struct SOMSession *session, void *ophandle, void *clientdata, struct SOMMSMessage *message, int status)
Prototype for callback for reporting message object.
Definition: store.h:185
void SOMMSMailboxCallback(struct SOMSession *session, void *ophandle, void *clientdata, struct SOMMSMailbox *mbx, int status)
Prototype for callback for reporting mailbox object.
Definition: store.h:164
Switch Operation Management Interface: Store Access Attributes.
void SOMMSStoreMonitorCallback(struct SOMSession *session, void *ophandle, void *clientdata, struct SOMMSData *data, int status, const char *datap, size_t dlen)
Prototype for callback for store monitoring.
Definition: store.h:76
int SOMStoreManageMailbox(struct SOMSession *session, enum som_managemailbox op, const char *mbx, const char *qualifier, const char *qual2, const char *qual3, void *ophandle, int async)
Perform management operation on Mailbox.
Switch Operation Management Interface.
int SOMStoreManageMessage(struct SOMSession *session, enum som_managemessage op, const char *source_mbx, int seqnum, const char *dest_mbx, void *ophandle, int async)
Perform management operation on Message.
int SOMStoreSetListConnectionsCallback(struct SOMSession *session, SOMMSStoreConnectionsCallback *callback, SOMMSStoreConnectionsCallback **oldvalue)
Set the Store "list connections" callback function for this session.
int SOMStoreSetMailboxCallback(struct SOMSession *session, SOMMSMailboxCallback *callback, SOMMSMailboxCallback **oldvalue)
Set the callback function for mailboxes for this session.
int SOMStoreGetIntParam(struct SOMSession *session, int paramtype, int *valp)
Return an integer-valued parameter from the store object.
int SOMStoreSetListMessagesCallback(struct SOMSession *session, SOMMSStoreMessagesCallback *callback, SOMMSStoreMessagesCallback **oldvalue)
Set the Store "list messages" callback function for this session.
int SOMStoreMailboxStatus(struct SOMSession *session, char *mailbox, void *ophandle, int async)
Get mailbox status.
int SOMStoreSetListMailboxesCallback(struct SOMSession *session, SOMMSStoreMailboxesCallback *callback, SOMMSStoreMailboxesCallback **oldvalue)
Set the Store "list mailboxes" callback function for this session.