summaryrefslogtreecommitdiff
path: root/src/pdu_decode.h
blob: 004c8ad93172e3036e053afb7f5dba4e313bc469 (plain)
1
2
3
4
5
6
7
8
9
10
11
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 */