summaryrefslogtreecommitdiff
path: root/src/pdu_encode.h
blob: 246ea3d7e465031e509f3338718a28eb29ba1727 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#ifndef __PDU_ENCODE_H
#define __PDU_ENCODE_H

#include "pdu.h"

int pdu_encode_timestamp(char *pdu_str, size_t len, struct tm *tm);
int pdu_encode_addr(char *pdu_str, size_t len, struct pdu_addr *addr, int smsc);
int pdu_encode_user_data(char *pdu_str, size_t len, struct pdu_info *pdu);

int pdu_encode(char *pdu_str, size_t len, struct pdu_info *pdu);

#endif /* ~__PDU_ENCODE_H */