summaryrefslogtreecommitdiffstats
path: root/src/common.h
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2009-05-26 13:48:42 -0500
committerDenis Kenzior <denkenz@gmail.com>2009-05-26 18:18:12 -0500
commitab68cd8e7ebeba3410bbdd1e4919ad875025766f (patch)
treed4510fdd91253a868b91c55fd549a3f0667da2ca /src/common.h
parent17fd4588fe90778195bf1468c7903068f51449cb (diff)
downloadofono-ab68cd8e7ebeba3410bbdd1e4919ad875025766f.tar.bz2
Create ofono_phone_number struct
Creates a new structure in driver.h called ofono_phone_number. This is meant to replace const char *number, int number_type arguments everywhere. Fix up all existing code to use this structure instead.
Diffstat (limited to 'src/common.h')
-rw-r--r--src/common.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common.h b/src/common.h
index 8fceaa26..90e245d9 100644
--- a/src/common.h
+++ b/src/common.h
@@ -173,8 +173,8 @@ enum ss_cssu {
const char *telephony_error_to_str(const struct ofono_error *error);
gboolean valid_phone_number_format(const char *number);
-const char *phone_number_to_string(const char *number, int type);
-void string_to_phone_number(const char *str, int *type, const char **number);
+const char *phone_number_to_string(const struct ofono_phone_number *ph);
+void string_to_phone_number(const char *str, struct ofono_phone_number *ph);
int mmi_service_code_to_bearer_class(int code);