GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> ITC / V3-9-1 > itc / linux-gcc
#include "MSG/MSG_pubdefs.h"
#include "ITC/ITC_drvdefs.h"
#include "ITC/ITC_msgs.h"
#include "ITC_prvdefs.h"
Functions | |
static unsigned int | validSend (ITC_NodeID dnid, ITC_TaskID dtid, ITC_QueueID dqid, ITC_DispID did, ITC_ProtID pid) |
Check the send arguments for validity. | |
unsigned int | ITC_bind (ITC_QueueItem *qitem, void *qipay, unsigned int qilen, ITC_NodeID dnid, ITC_TaskID dtid, ITC_QueueID dqid, ITC_DispID did, ITC_ProtID pid, ITC_cb_Completion *rtn, void *prm0, void *prm1, void *prm2) |
Bind a queue item descriptor. | |
void | ITC_complete (const ITC_QueueItem *qitem, unsigned int status) |
Call back the user provided completion routine (often a free). | |
unsigned int | ITC_forward (const ITC_QueueItem *qitem, ITC_NodeID dnid, ITC_TaskID dtid, ITC_QueueID dqid, ITC_DispID did, ITC_ProtID pid) |
Forward a queue item to another destination. | |
void | ITC_rollback (const ITC_QueueItem *qitem, unsigned int status) |
Call back the user provided completion routine (often a free). | |
unsigned int | ITC_send (ITC_QueueItem *qitem) |
Send a queue item to a destination queue. | |
unsigned int | ITC_sizeofQueueItem () |
return the size of a queue item header (bytes) |
CVS $Id: ITC_send.c,v 1.15 2005/09/08 03:20:47 apw Exp $
unsigned int ITC_bind | ( | ITC_QueueItem * | qitem, | |
void * | qipay, | |||
unsigned int | qilen, | |||
ITC_NodeID | dnid, | |||
ITC_TaskID | dtid, | |||
ITC_QueueID | dqid, | |||
ITC_DispID | did, | |||
ITC_ProtID | pid, | |||
ITC_cb_Completion * | rtn, | |||
void * | prm0, | |||
void * | prm1, | |||
void * | prm2 | |||
) |
Bind a queue item descriptor.
qitem | (in) Queue item descriptor | |
qipay | (in) Location of buffer to be queued | |
qilen | (in) Length of buffer to be queued (bytes) | |
dnid | (in) Destination node ID | |
dtid | (in) Destination task ID | |
dqid | (in) Destination queue ID | |
did | (in) Dispatch protocol ID | |
pid | (in) Hardware protocol ID | |
rtn | (in) Completion routine | |
prm0 | (in) Completion routine user parameter 0 | |
prm1 | (in) Completion routine user parameter 1 | |
prm2 | (in) Completion routine user parameter 2 |
ITC_SUCCESS | Success | |
ITC_VARNULL | NULL variable (pointer) detected | |
ITC_VARRNG | Out of range variable detected |
void ITC_complete | ( | const ITC_QueueItem * | qitem, | |
unsigned int | status | |||
) |
Call back the user provided completion routine (often a free).
qitem | (in) Queue item | |
status | (in) Completion status |
unsigned int ITC_forward | ( | const ITC_QueueItem * | qitem, | |
ITC_NodeID | dnid, | |||
ITC_TaskID | dtid, | |||
ITC_QueueID | dqid, | |||
ITC_DispID | did, | |||
ITC_ProtID | pid | |||
) |
Forward a queue item to another destination.
qitem | (in) Queue item descriptor | |
dnid | (in) Destination node ID | |
dtid | (in) Destination task ID | |
dqid | (in) Destination queue ID | |
did | (in) Dispatch protocol ID | |
pid | (in) Hardware protocol ID |
ITC_SENDNID | Destination node not reachable | |
ITC_SENDPRX | Proxy task for destination node not started | |
ITC_SENDQID | Destination queue not available | |
ITC_SENDTID | Destination task not started | |
ITC_SUCCESS | Success | |
ITC_VARNULL | NULL variable (pointer) detected | |
ITC_VARRNG | Out of range variable detected |
void ITC_rollback | ( | const ITC_QueueItem * | qitem, | |
unsigned int | status | |||
) |
Call back the user provided completion routine (often a free).
qitem | (in) Queue item | |
status | (in) Completion status |
unsigned int ITC_send | ( | ITC_QueueItem * | qitem | ) |
Send a queue item to a destination queue.
qitem | (in) Queue item descriptor |
ITC_SENDNID | Destination node not reachable | |
ITC_SENDPRX | Proxy task for destination node not started | |
ITC_SENDQID | Destination queue not available | |
ITC_SENDTID | Destination task not started | |
ITC_SUCCESS | Success | |
ITC_VARNULL | NULL variable (pointer) detected |
unsigned int ITC_sizeofQueueItem | ( | void | ) |
return the size of a queue item header (bytes)
ITC_sizeofQueueItem()returns the size of a queue item header (in bytes).
static unsigned int validSend | ( | ITC_NodeID | dnid, | |
ITC_TaskID | dtid, | |||
ITC_QueueID | dqid, | |||
ITC_DispID | did, | |||
ITC_ProtID | pid | |||
) | [inline, static] |
Check the send arguments for validity.
dnid | (in) Destination node ID | |
dtid | (in) Destination task ID | |
dqid | (in) Destination queue ID | |
did | (in) Dispatch protocol ID | |
pid | (in) Hardware protocol ID |
ITC_SUCCESS | Success | |
ITC_VARRNG | Variable out of range |