summaryrefslogtreecommitdiff
path: root/include/uint_t.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/uint_t.h')
-rw-r--r--include/uint_t.h24
1 files changed, 14 insertions, 10 deletions
diff --git a/include/uint_t.h b/include/uint_t.h
index 84eb06e..aec9ed5 100644
--- a/include/uint_t.h
+++ b/include/uint_t.h
@@ -1,12 +1,12 @@
#include <stdint.h>
/**
- @file uint_t.h
- @author djb, kp, feh
- @source qmail, djbdns6
- @brief additional types and pack routines
- @brief define basic integer types and size through <stdint.h>
-*/
+ * @file uint_t.h
+ * @authors djb, kp, feh
+ * @ref qmail, djbdns6
+ * @brief additional types and pack routines
+ * @brief define basic integer types and size through <stdint.h>
+ */
#ifndef UINT8_H
#define UINT8_H
@@ -17,6 +17,10 @@ typedef uint8_t uint8;
typedef unsigned char uint8;
#endif
+extern void uint8_pack(char *,uint8);
+extern void uint8_pack_big(char *,uint8);
+extern void uint8_unpack(char *,uint8 *);
+extern void uint8_unpack_big(char *,uint8 *);
#endif
#ifndef UINT16_H
@@ -24,10 +28,10 @@ typedef unsigned char uint8;
typedef uint16_t uint16;
-extern void uint16_pack(char *,uint16);
-extern void uint16_pack_big(char *,uint16);
-extern void uint16_unpack(char *,uint16 *);
-extern void uint16_unpack_big(char *,uint16 *);
+extern void uint16_pack(char [16],uint16);
+extern void uint16_pack_big(char [16],uint16);
+extern void uint16_unpack(char [16],uint16 *);
+extern void uint16_unpack_big(char [16],uint16 *);
#endif
#ifndef UINT32_H