summaryrefslogtreecommitdiffstats
path: root/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'util.h')
-rw-r--r--util.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/util.h b/util.h
index 67ca939..b962e46 100644
--- a/util.h
+++ b/util.h
@@ -33,9 +33,11 @@ void list_head_free(struct list_head *list);
void bin2hex(const unsigned char *data, int length, char *buf);
void hex2bin(const char *data, int length, unsigned char *buf);
int gsm72ascii(unsigned char *data, char **data_dec, int length);
-int ascii2gsm7(char *data, unsigned char **data_enc, int length);
+int ascii2gsm7_ussd(char *data, unsigned char **data_enc, int length);
+size_t ascii2gsm7(char *ascii, unsigned char *gsm7);
void hex_dump(void *data, int size);
int utf8_write(char *utf8, int offset, int v);
+char *pdu_create(char *number, char *message);
typedef enum {
SMS_CODING_SCHEME_UNKNOWN = 0,