aboutsummaryrefslogtreecommitdiffstats
path: root/Source/charon/encodings.h
diff options
context:
space:
mode:
authorMartin Willi <martin@strongswan.org>2005-11-11 12:27:53 +0000
committerMartin Willi <martin@strongswan.org>2005-11-11 12:27:53 +0000
commitc795c4e5d7c5a51001c9933c544aa2ef9e98d4c4 (patch)
tree2ccbfe7efb1a43519d8d2e6e2c5af099e0ac309e /Source/charon/encodings.h
parentfcab0071fe404c17c6c7e7d6da041d0c57e9469c (diff)
downloadstrongswan-c795c4e5d7c5a51001c9933c544aa2ef9e98d4c4.tar.bz2
strongswan-c795c4e5d7c5a51001c9933c544aa2ef9e98d4c4.tar.xz
- mapping for payload_type_t added
Diffstat (limited to 'Source/charon/encodings.h')
-rw-r--r--Source/charon/encodings.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/charon/encodings.h b/Source/charon/encodings.h
index 07762e1ad..356a73d5f 100644
--- a/Source/charon/encodings.h
+++ b/Source/charon/encodings.h
@@ -30,6 +30,7 @@
#define ENCODINGS_H_
#include "types.h"
+#include "definitions.h"
/**
@@ -289,6 +290,12 @@ enum payload_type_e{
HEADER = 140
};
+
+/*
+ * build string mapping array for payload_type_t
+ */
+extern mapping_t payload_type_t_mappings[];
+
/**
* Information of a specific payload are stored in this struct
*