The output routine is called for each line to be output. Note that although close to the output of SdsList, this output of this routine is not exactly the same.
> | id | SdsIdType | Identifier to the structure. |
---|---|---|---|
> | buflen | unsigned int | Length of buffer. If zero, then malloc a buffer of 400 bytes. If lines exceed this length, then they are truncated correctly before calling the output routine. |
> | buffer | char * | A buffer to be used by this routine to print the output into. It is passed directly to the output function. Since the length of each line can be quite long (particularly with arrays) we allow the user to specify how much of a line he is interested in. For example, if outputing to a terminal, you might only specify an 80 byte buffer. If not supplied, we will malloc buflen bytes. |
> | func | ArgListFunctType | A function to called to output each
line. It is passed the client data item,
the address of the buffer and a modified
status item.
|
> | client_data | void * | Passed directly to func. |
! | status | StatusType* | Modified status.
|
Click here for the DRAMA home page and here for the AAO home page.
For more information, contact tony.farrell@mq.edu.au