summaryrefslogtreecommitdiff
path: root/src/pdu_decode.h
diff options
context:
space:
mode:
authorJames Maki <jmaki@multitech.com>2010-04-23 11:58:20 -0500
committerJames Maki <jmaki@multitech.com>2010-04-23 11:58:20 -0500
commit14fb44b17123b27e562379f51b75ee889982688d (patch)
tree3c2344f5c42396ab839638ee12f7c2f66a2656cb /src/pdu_decode.h
downloadsms-utils-14fb44b17123b27e562379f51b75ee889982688d.tar.gz
sms-utils-14fb44b17123b27e562379f51b75ee889982688d.tar.bz2
sms-utils-14fb44b17123b27e562379f51b75ee889982688d.zip
initial commit
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 */