summaryrefslogtreecommitdiff
path: root/src/plain_packet.h
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anytun.org>2009-01-16 18:10:21 +0000
committerChristian Pointner <equinox@anytun.org>2009-01-16 18:10:21 +0000
commit0e592faadecfb3bc2705bf0d9e434163e4b914ca (patch)
tree69562b708620918dd9f456873ccc46b10e169382 /src/plain_packet.h
parentRelease 0.2.1 (diff)
fixed packet length errors
Diffstat (limited to 'src/plain_packet.h')
-rw-r--r--src/plain_packet.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plain_packet.h b/src/plain_packet.h
index 723fe5a..c35e1ef 100644
--- a/src/plain_packet.h
+++ b/src/plain_packet.h
@@ -54,6 +54,8 @@ typedef struct plain_packet_struct plain_packet_t;
void plain_packet_init(plain_packet_t* packet);
+u_int32_t plain_packet_get_header_length();
+
u_int8_t* plain_packet_get_packet(plain_packet_t* packet);
u_int32_t plain_packet_get_length(plain_packet_t* packet);
void plain_packet_set_length(plain_packet_t* packet, u_int32_t len);