The DV_TPT data structure contains parameters for the Termination Parameter Table.
The DV_TPT structure is in the Standard Runtime Library (srllib.h) and is used to set multitasking I/O function termination conditions. To specify multiple termination conditions for a function, you can use a set of DV_TPT structures configured as a linked list, an array, or a combined linked list and array, with each DV_TPT specifying a terminating condition. The first termination condition that is met will terminate the I/O function.
5.4.2. DV_TPT DefinitionThe typedef for the structure is as follows:
typedef struct DV_TPT {
unsigned short tp_type; /* Flags describing this entry */
unsigned short tp_termno; /* Termination Parameter number */
unsigned short tp_length; /* Length of terminator */
unsigned short tp_flags; /* Parameter attribute flag */
unsigned short tp_data; /* Optional additional data */
unsigned short rfu; /* Reserved */
DV_TPT *tp_nextp; /* Pointer to next termination
* parameter if IO_LINK set */
}DV_TPT;
5.4.3.
DV_TPT Parameters
Parameter |
Description |
tp_type |
Describes whether the structure is part of a linked list (IO_LINK), part of an array (IO_CONT), or the last DV_TPT entry in the DV_TPT table (IO_EOT). |
tp_termno |
Specifies what conditions should terminate functions. |
tp_length |
Specifies the length or size for each termination condition. |
tp_flags |
Represents various characteristics of the termination condition specified in termno. |
tp_data |
Specifies optional additional data. |
tp_nextp |
Contains a pointer to the next DV_TPT structure in a linked list. |
For a detailed description and list of valid values for voice boards, see Appendix A.
Click here to contact Dialogic Customer Engineering
Copyright 2002, Dialogic Corporation