diff options
author | Jonny Lamb <jonny.lamb@collabora.co.uk> | 2011-04-20 15:51:08 +0100 |
---|---|---|
committer | Jonny Lamb <jonny.lamb@collabora.co.uk> | 2011-04-20 15:51:08 +0100 |
commit | 24e61aba49e850f7c944797bd2bf1eb401029249 (patch) | |
tree | 64556f304664abd502c3e01281e69fbb408d0c3f | |
parent | 2ce6227468c403cc6dbbfb21d2dd0524d3cf9256 (diff) |
utils: add a capabilities namespace definition and more cleanups
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
-rw-r--r-- | salut/utils.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/salut/utils.h b/salut/utils.h index 2423e6d..52e0648 100644 --- a/salut/utils.h +++ b/salut/utils.h @@ -28,6 +28,7 @@ G_BEGIN_DECLS #define YTST_MESSAGE_NS "urn:ytstenut:message" #define YTST_STATUS_NS "urn:ytstenut:status" +#define YTST_CAPABILITIES_NS "urn:ytstenut:capabilities" GQuark ytst_message_error_quark (void); #define YTST_MESSAGE_ERROR (ytst_message_error_quark ()) @@ -43,7 +44,8 @@ typedef enum { YTST_MESSAGE_ERROR_ITEM_NOT_FOUND, } YtstMessageError; -#define CAPS_FEATURE_PREFIX "urn:ytstenut:capabilities:" +#define CAPS_FEATURE_PREFIX YTST_CAPABILITIES_NS ":" +#define SERVICE_PREFIX YTST_CAPABILITIES_NS "#" gint ytst_message_error_type_to_wocky (guint ytstenut_type); |