diff options
author | Tom Schouten <doelie@users.sourceforge.net> | 2006-09-01 13:45:31 +0000 |
---|---|---|
committer | Tom Schouten <doelie@users.sourceforge.net> | 2006-09-01 13:45:31 +0000 |
commit | 7591a024f184bd385d35583d19d86c1d5f2531ba (patch) | |
tree | 77aa0c44ccb700eb9a2b16e1b246e3c8026c40ed /include/pdp_packet.h | |
parent | 91dd6b68f0f209ad015a303095bb1df018dca71e (diff) |
pdp current darcs merge
svn path=/trunk/externals/pdp/; revision=5816
Diffstat (limited to 'include/pdp_packet.h')
-rw-r--r-- | include/pdp_packet.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/pdp_packet.h b/include/pdp_packet.h index f944095..234024d 100644 --- a/include/pdp_packet.h +++ b/include/pdp_packet.h @@ -49,12 +49,15 @@ The interface to the packet manager contains the following managing methods: - * pdp_packet_new: create a new packet or reuse a previous one + * pdp_packet_create: create a new packet * pdp_packet_mark_unused: release a packet * pdp_packet_copy_ro: register a packet for read only use * pdp_packet_copy_rw: register a packet for read/write use (this creates a copy if necessary) * pdp_packet_clone_rw: create a new packet using a template, but don't copy the data + ( some types have shortcut methods pdp_packet_new_ which create/reuse a packet + unless you are writing a factory method for a packet, you should NEVER call a _create method ) + And two methods for raw data access * pdp_packet_header: retreive the header of the packet |