summaryrefslogtreecommitdiff
path: root/src/pdu_decode.h
blob: c39f232a8b41487bbc2ad39e870f712f413ac9e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#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_cdma_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 *nr_octets);

int pdu_decode(const char *pdu_str, struct pdu_info *pdu);
int pdu_decode_cdma(const char *pdu_str, struct pdu_info *pdu);

#endif /* ~__PDU_DECODE_H */