diff options
author | Andrzej Zaborowski <andrew.zaborowski@intel.com> | 2009-10-12 22:37:14 +0200 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2009-10-16 11:12:43 -0500 |
commit | 5773e303733940b57a211971ff0b6aa817d4dd12 (patch) | |
tree | 12459c9f09a8c741101fc6bbf4a4ee3ac3c5d31a /src/common.h | |
parent | e6b8550328677a45a6f5772d8523d8c876a12ca3 (diff) | |
download | ofono-5773e303733940b57a211971ff0b6aa817d4dd12.tar.bz2 |
Refactor: Move network registration status utils
Move the status to string functions to common.c so that they can be
reused in data connection related network registration code.
Diffstat (limited to 'src/common.h')
-rw-r--r-- | src/common.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/common.h b/src/common.h index 3805e216..1a5c9ed9 100644 --- a/src/common.h +++ b/src/common.h @@ -135,3 +135,6 @@ const char *ss_control_type_to_string(enum ss_control_type type); const char *bearer_class_to_string(enum bearer_class cls); gboolean is_valid_pin(const char *pin); + +const char *registration_status_to_string(int status); +const char *registration_tech_to_string(int tech); |