summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/smsutil.c4
-rw-r--r--src/smsutil.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/smsutil.c b/src/smsutil.c
index 26df5b6a..6ec2762d 100644
--- a/src/smsutil.c
+++ b/src/smsutil.c
@@ -1282,7 +1282,7 @@ static gboolean decode_command(const unsigned char *pdu, int len,
}
/* Buffer must be at least 164 (tpud) + 12 (SC address) bytes long */
-gboolean encode_sms(const struct sms *in, int *len, int *tpdu_len,
+gboolean sms_encode(const struct sms *in, int *len, int *tpdu_len,
unsigned char *pdu)
{
int offset = 0;
@@ -1345,7 +1345,7 @@ gboolean encode_sms(const struct sms *in, int *len, int *tpdu_len,
return TRUE;
}
-gboolean decode_sms(const unsigned char *pdu, int len, gboolean outgoing,
+gboolean sms_decode(const unsigned char *pdu, int len, gboolean outgoing,
int tpdu_len, struct sms *out)
{
unsigned char type;
diff --git a/src/smsutil.h b/src/smsutil.h
index 13b70edb..2c42bd56 100644
--- a/src/smsutil.h
+++ b/src/smsutil.h
@@ -295,10 +295,10 @@ struct sms_udh_iter {
guint8 offset;
};
-gboolean decode_sms(const unsigned char *pdu, int len, gboolean outgoing,
+gboolean sms_decode(const unsigned char *pdu, int len, gboolean outgoing,
int tpdu_len, struct sms *out);
-gboolean encode_sms(const struct sms *in, int *len, int *tpdu_len,
+gboolean sms_encode(const struct sms *in, int *len, int *tpdu_len,
unsigned char *pdu);
int ud_len_in_octets(guint8 ud_len, guint8 dcs);