summaryrefslogtreecommitdiffstats
path: root/src/smsutil.c
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2009-06-05 13:29:03 -0500
committerDenis Kenzior <denkenz@gmail.com>2009-06-05 19:58:09 -0500
commit58466889880ae54aeb59a1f6aff5d46cf2f9f761 (patch)
treeb7984362037f038e7a0eb8f2de4e1f54720938cc /src/smsutil.c
parent4f0c149162c73044a725f7966e1ed29f9ece4271 (diff)
downloadofono-58466889880ae54aeb59a1f6aff5d46cf2f9f761.tar.bz2
Rename sms utilities properly
Rename encode_sms to sms_encode Rename decode_sms to sms_decode
Diffstat (limited to 'src/smsutil.c')
-rw-r--r--src/smsutil.c4
1 files changed, 2 insertions, 2 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;