aboutsummaryrefslogtreecommitdiff
path: root/include/pdp_types.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/pdp_types.h')
-rw-r--r--include/pdp_types.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/pdp_types.h b/include/pdp_types.h
index 3842a66..5b4bbfc 100644
--- a/include/pdp_types.h
+++ b/include/pdp_types.h
@@ -48,6 +48,9 @@ typedef unsigned short u16;
typedef unsigned int u32;
typedef unsigned long long u64;
+typedef unsigned long uptr; /* An unsigned int the size of a pointer. */
+typedef signed long sptr;
+
typedef struct _pdp t_pdp;
typedef void (*t_pdp_packet_method1)(t_pdp *); /* dst */
typedef void (*t_pdp_packet_method2)(t_pdp *, t_pdp *); /* dst, src */