diff options
author | Torgny Johansson <torgny.johansson@ericsson.com> | 2010-06-22 16:50:21 -0700 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2010-06-22 16:50:21 -0700 |
commit | 8873c0a7dc6cd02fa487092aeb889464b4dc752d (patch) | |
tree | 8b497df08bbfbcb5f1ef8f06b70cd7fd68933651 /src/mm-utils.h | |
parent | e442b3b7f13c7a7277b15f0b0cdf5175f4da22f6 (diff) |
gsm: add GetOperatorID method
Returns the ID of the operator that issued the SIM card.
Cleanups and get_mnc_length_done() by me (dcbw).
Diffstat (limited to 'src/mm-utils.h')
-rw-r--r-- | src/mm-utils.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/mm-utils.h b/src/mm-utils.h new file mode 100644 index 00000000..79e7827b --- /dev/null +++ b/src/mm-utils.h @@ -0,0 +1,24 @@ +/* -*- 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_UTILS_H +#define MM_UTILS_H + +int utils_hex2byte (const char *hex); + +char *utils_hexstr2bin (const char *hex, gsize *out_len); + +#endif /* MM_UTILS_H */ + |