diff options
author | Denis Kenzior <denkenz@gmail.com> | 2010-09-20 16:44:13 -0500 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2010-09-21 08:44:48 -0500 |
commit | 04634af6fea838fdb3c841684b91f41a3b18d0ab (patch) | |
tree | 20ffde1fbcf7ddebb5aebdeb39b0920663406675 /include/types.h | |
parent | dbd7639d256be829cf20a34128f44575d8e0793a (diff) | |
download | ofono-04634af6fea838fdb3c841684b91f41a3b18d0ab.tar.bz2 |
common: Implement ofono_uuid_to_str
Diffstat (limited to 'include/types.h')
-rw-r--r-- | include/types.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/types.h b/include/types.h index 460a73e4..ba2481f7 100644 --- a/include/types.h +++ b/include/types.h @@ -104,10 +104,14 @@ struct ofono_network_time { int utcoff; /* Offset from UTC in seconds */ }; +#define OFONO_SHA1_UUID_LEN 20 + struct ofono_uuid { - unsigned char uuid[20]; + unsigned char uuid[OFONO_SHA1_UUID_LEN]; }; +const char *ofono_uuid_to_str(const struct ofono_uuid *uuid); + #ifdef __cplusplus } #endif |