78 #define PDU(name, docstring, fields, is_valid) name, 89 #define PDU(name, docstring, fields, is_valid) struct name { fields } name; 90 #define UINT(field, docstring, bits) unsigned long field; 91 #define UINTVAR(field, docstring) unsigned long field; 92 #define OCTSTR(field, docstring, lengthfield) Octstr *field; 93 #define REST(field, docstring) Octstr *field; 94 #define TYPE(bits, value) 95 #define RESERVED(bits)
Octstr * wtp_pdu_pack(WTP_PDU *pdu)
void wtp_pdu_destroy(WTP_PDU *pdu)
void wtp_pdu_append_tpi(WTP_PDU *pdu, int type, Octstr *data)
WTP_PDU * wtp_pdu_create(int type)
void wtp_pdu_dump(WTP_PDU *pdu, int level)
void wtp_tpi_destroy(WTP_TPI *tpi)
WTP_PDU * wtp_pdu_unpack(Octstr *data)