Next: bpipe_dpkt_cleanup, Previous: bpipe_datatype_size, Up: Internal Functions
Write a data type specification to an output channel.
#include <bpipe/bpipe.h>int bpipe_datatype_write( IOchannel *channel, BPDataType type );
IOchannel *channel
- the output channel to which to write the specification
BPDataType type
- the data type
Possible values for aBPDataType
are as follows:BPDType_char
,BPDType_double
,BPDType_int
,BPDType_uint
,BPDType_DVector2
,BPDType_DVector3
,BPDType_IVector2
,BPDType_IVector3
,BPDType_UIVector2
,BPDType_UIVector3
,BPDType_DComplex
,BPDType_DCVector2
,BPDType_DCVector3
This routine writes a data type specification to the indicated
output channel which is parseable by proc_defs
.
It returns zero upon success, non-zero upon failure.