From 5773e303733940b57a211971ff0b6aa817d4dd12 Mon Sep 17 00:00:00 2001 From: Andrzej Zaborowski Date: Mon, 12 Oct 2009 22:37:14 +0200 Subject: 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. --- src/common.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/common.h') 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); -- cgit v1.2.3