queue.h
int SOMQmessageGetRecip(struct SOMQmessage *message, int number, struct SOMQrecip **rpp)
Return the pointer to a recipient object.
int SOMQueueSetMtaCallback(struct SOMSession *session, SOMQmtaCallback *callback, SOMQmtaCallback **oldvalue)
Set the callback function for Mtas for this session.
void SOMQueueCallback(struct SOMSession *session, void *ophandle, void *clientdata, int status)
Prototype for callback for queue operation completion.
Definition: queue.h:58
int SOMQselectorAddStrParam(struct SOMQselector *fp, int paramtype, const char *value, size_t length)
Add string-valued parameter to the selector.
int SOMQchannelGetStrParam(struct SOMQchannel *channel, int paramtype, char *buffer, size_t buflen, size_t *paramlenp)
Return an string-valued parameter from the channel object.
int SOMQmessageControl(struct SOMSession *session, struct SOMQselector *selector, enum som_qocontrol control, const char *data, int datalen, void *ophandle, int async)
Perform control operation on Queue Message.
int SOMQmtaControl(struct SOMSession *session, struct SOMQselector *selector, enum som_qocontrol control, const char *data, int datalen, void *ophandle, int async)
Perform control operation on Queue Mta.
int SOMQchannelRead(struct SOMSession *session, struct SOMQselector *selector, void *ophandle, int async)
Perform control operation on Queue Channel.
int SOMQinmsgGetStrParam(struct SOMQinmsg *inmsg, int paramtype, char *buffer, size_t buflen, size_t *paramlenp)
Return an string-valued parameter from the inbound message object.
int SOMQueueControl(struct SOMSession *session, enum som_qmcontrol control, void *ophandle, int async)
Perform control operation on Queue Manager.
int SOMQrecipGetStrParam(struct SOMQrecip *recip, int paramtype, char *buffer, size_t buflen, size_t *paramlenp)
Return an string-valued parameter from the recip object.
int SOMQmessageRead(struct SOMSession *session, struct SOMQselector *selector, int limit, void *ophandle, int async)
Perform control operation on Queue Message.
int SOMQfilterAddStrParam(struct SOMQfilter *fp, int paramtype, const char *value, size_t length)
Add string-valued parameter to the filter.
int SOMQmanagerGetIntParam(struct SOMSession *session, int paramtype, int *valp)
Return an integer-valued parameter from the manager object.
void SOMQchannelCallback(struct SOMSession *session, void *ophandle, void *clientdata, struct SOMQchannel *channel)
Prototype for callback for reporting channel object.
Definition: queue.h:75
int SOMQmanagerGetStrParam(struct SOMSession *session, int paramtype, char *buffer, size_t buflen, size_t *paramlenp)
Return an string-valued parameter from the manager object.
int SOMQselectorAddIntParam(struct SOMQselector *fp, int paramtype, int value)
Add integer-valued parameter to the selector.
int SOMQchannelControl(struct SOMSession *session, struct SOMQselector *selector, enum som_qocontrol control, const char *data, int datalen, void *ophandle, int async)
Perform control operation on Queue Channel.
int SOMQfilterAddIntParam(struct SOMQfilter *fp, int paramtype, int value)
Add integer-valued parameter to the filter.
int SOMQrecipGetIntParam(struct SOMQrecip *recip, int paramtype, int *valp)
Return an integer-valued parameter from the recip object.
int SOMQmtaRead(struct SOMSession *session, struct SOMQselector *selector, int limit, void *ophandle, int async)
Perform control operation on Queue Mta.
int SOMQueueSetChannelCallback(struct SOMSession *session, SOMQchannelCallback *callback, SOMQchannelCallback **oldvalue)
Set the callback function for channel objects for this session.
Switch Operation Management Interface: Queue Access Attributes.
void SOMQmessageCallback(struct SOMSession *session, void *ophandle, void *clientdata, struct SOMQmessage *message)
Prototype for callback for reporting message object.
Definition: queue.h:113
Opaque session data.
int SOMQmessageGetStrParam(struct SOMQmessage *message, int paramtype, char *buffer, size_t buflen, size_t *paramlenp)
Return an string-valued parameter from the message object.
int SOMQmtaGetIntParam(struct SOMQmta *mta, int paramtype, int *valp)
Return an integer-valued parameter from the mta object.
int SOMQmtaGetInmsg(struct SOMQmta *mta, int number, int getnext, struct SOMQinmsg **inmpp)
Return the pointer to an inbound message object.
int SOMQassocGetStrParam(struct SOMQassoc *assoc, int paramtype, char *buffer, size_t buflen, size_t *paramlenp)
Return an string-valued parameter from the association object.
int SOMQueueSetMessageCallback(struct SOMSession *session, SOMQmessageCallback *callback, SOMQmessageCallback **oldvalue)
Set the callback function for messages for this session.
void SOMQmtaCallback(struct SOMSession *session, void *ophandle, void *clientdata, struct SOMQmta *mta)
Prototype for callback for reporting mta object.
Definition: queue.h:93
int SOMQmtaGetAssoc(struct SOMQmta *mta, int assocnum, int getnext, struct SOMQassoc **aspp)
Return the pointer to an inbound message object.
int SOMQmtaGetStrParam(struct SOMQmta *mta, int paramtype, char *buffer, size_t buflen, size_t *paramlenp)
Return an string-valued parameter from the mta object.
struct SOMQfilter * SOMQfilterChain(struct SOMQfilter *fp, struct SOMQfilter *newp)
Add filter to chain.
int SOMQueueStatus(struct SOMSession *session, void *ophandle, int async)
Get current Queue Manager status.
Switch Operation Management Interface.
int SOMQinmsgGetIntParam(struct SOMQinmsg *inmsg, int paramtype, int *valp)
Return an integer-valued parameter from the inbound message object.
int SOMQassocGetIntParam(struct SOMQassoc *assoc, int paramtype, int *valp)
Return an integer-valued parameter from the association object.
int SOMQchannelGetIntParam(struct SOMQchannel *channel, int paramtype, int *valp)
Return an integer-valued parameter from the channel object.
int SOMQueueSetCallback(struct SOMSession *session, SOMQueueCallback *callback, SOMQueueCallback **oldvalue)
Set the Queue callback function for this session.
int SOMQmessageSearch(struct SOMSession *session, struct SOMQfilter *filter, void *ophandle, int async)
Perform control operation on Queue Message.
int SOMQmessageGetIntParam(struct SOMQmessage *message, int paramtype, int *valp)
Return an integer-valued parameter from the message object.