diff options
author | Nathan Williams <njw@google.com> | 2011-07-25 00:42:08 -0500 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2011-07-25 01:18:16 -0500 |
commit | e5faa242e9c6ddcd5bcb976420483ead59f81239 (patch) | |
tree | 8216e49072c2badf10e71e3ad0ebae627cf9a7cb /src/mm-sms-utils.h | |
parent | 0cc813312f9bf446614d6aed6a85b1ee0b006451 (diff) |
sms: split SMS parsing out into a separate file
In preparation for adding tests.
Change-Id: If1ebd0fdd6e7470c21538042ab1735357649155c
Diffstat (limited to 'src/mm-sms-utils.h')
-rw-r--r-- | src/mm-sms-utils.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/mm-sms-utils.h b/src/mm-sms-utils.h new file mode 100644 index 00000000..26d9829b --- /dev/null +++ b/src/mm-sms-utils.h @@ -0,0 +1,25 @@ +/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details: + * + * Copyright (C) 2010 Red Hat, Inc. + */ + +#ifndef MM_SMS_UTILS_H +#define MM_SMS_UTILS_H + +#include <glib.h> + +#define SMS_MAX_PDU_LEN 344 + +GHashTable *sms_parse_pdu (const char *hexpdu, GError **error); + +#endif /* MM_SMS_UTILS_H */ |