summaryrefslogtreecommitdiff
path: root/src/pdu_decode.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pdu_decode.h')
-rw-r--r--src/pdu_decode.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/pdu_decode.h b/src/pdu_decode.h
new file mode 100644
index 0000000..004c8ad
--- /dev/null
+++ b/src/pdu_decode.h
@@ -0,0 +1,12 @@
+#ifndef __PDU_DECODE_H
+#define __PDU_DECODE_H
+
+#include "pdu.h"
+
+int pdu_decode_timestamp(const char *pdu_str, struct tm *tm);
+int pdu_decode_addr(const char *pdu_str, struct pdu_addr *addr, int smsc);
+int pdu_decode_user_data(const char *pdu_str, struct pdu_info *pdu);
+
+int pdu_decode(const char *pdu_str, struct pdu_info *pdu);
+
+#endif /* ~__PDU_DECODE_H */