summaryrefslogtreecommitdiffstats
path: root/src/common.h
diff options
context:
space:
mode:
authorAndrzej Zaborowski <andrew.zaborowski@intel.com>2009-10-12 22:37:14 +0200
committerDenis Kenzior <denkenz@gmail.com>2009-10-16 11:12:43 -0500
commit5773e303733940b57a211971ff0b6aa817d4dd12 (patch)
tree12459c9f09a8c741101fc6bbf4a4ee3ac3c5d31a /src/common.h
parente6b8550328677a45a6f5772d8523d8c876a12ca3 (diff)
downloadofono-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.h3
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);