summaryrefslogtreecommitdiff
path: root/src/encrypted_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/encrypted_packet.h
parentRelease 0.2.1 (diff)
fixed packet length errors
Diffstat (limited to 'src/encrypted_packet.h')
-rw-r--r--src/encrypted_packet.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/encrypted_packet.h b/src/encrypted_packet.h
index e35ca25..9061f3d 100644
--- a/src/encrypted_packet.h
+++ b/src/encrypted_packet.h
@@ -62,6 +62,8 @@ typedef struct encrypted_packet_struct encrypted_packet_t;
void encrypted_packet_init(encrypted_packet_t* packet);
+u_int32_t encrypted_packet_get_header_length();
+
u_int8_t* encrypted_packet_get_packet(encrypted_packet_t* packet);
u_int32_t encrypted_packet_get_length(encrypted_packet_t* packet);
void encrypted_packet_set_length(encrypted_packet_t* packet, u_int32_t len);