Added reference count to SilcPacketContext and added two new
authorPekka Riikonen <priikone@silcnet.org>
Tue, 21 Nov 2000 20:44:47 +0000 (20:44 +0000)
committerPekka Riikonen <priikone@silcnet.org>
Tue, 21 Nov 2000 20:44:47 +0000 (20:44 +0000)
commit3163e7c626401259a23f281f40df4eeb2b53d32f
tree7ef8da5c886a8dd3db5be69c32bc9f99cff9bbf9
parente0331e2525602a36b0a2bf7a606f5af2f53a886b
Added reference count to SilcPacketContext and added two new
functions packet_context_alloc/free. packet_context_dup now
increses the reference count instead of duplicating data.
lib/silccore/silcpacket.c
lib/silccore/silcpacket.h