diff options
author | Denis Kenzior <denkenz@gmail.com> | 2009-05-26 13:48:42 -0500 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2009-05-26 18:18:12 -0500 |
commit | ab68cd8e7ebeba3410bbdd1e4919ad875025766f (patch) | |
tree | d4510fdd91253a868b91c55fd549a3f0667da2ca /src/common.h | |
parent | 17fd4588fe90778195bf1468c7903068f51449cb (diff) | |
download | ofono-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.h | 4 |
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); |