summaryrefslogtreecommitdiffstats
path: root/tinyXCAP/include/tinyxcap/txcap_auid.h
diff options
context:
space:
mode:
Diffstat (limited to 'tinyXCAP/include/tinyxcap/txcap_auid.h')
-rwxr-xr-xtinyXCAP/include/tinyxcap/txcap_auid.h60
1 files changed, 29 insertions, 31 deletions
diff --git a/tinyXCAP/include/tinyxcap/txcap_auid.h b/tinyXCAP/include/tinyxcap/txcap_auid.h
index 9a257a1..e9dddc0 100755
--- a/tinyXCAP/include/tinyxcap/txcap_auid.h
+++ b/tinyXCAP/include/tinyxcap/txcap_auid.h
@@ -2,19 +2,19 @@
* Copyright (C) 2010-2011 Mamadou Diop.
*
* Contact: Mamadou Diop <diopmamadou(at)doubango.org>
-*
+*
* This file is part of Open Source Doubango Framework.
*
* DOUBANGO is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
-*
+*
* DOUBANGO is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
-*
+*
* You should have received a copy of the GNU General Public License
* along with DOUBANGO.
*
@@ -40,13 +40,13 @@ TXCAP_BEGIN_DECLS
#define TXCAP_AUID_IETF_XCAP_CAPS_MIME_TYPE "application/xcap-caps+xml"
#define TXCAP_AUID_IETF_XCAP_CAPS_NS "urn:ietf:params:xml:ns:xcap-caps"
#define TXCAP_AUID_IETF_XCAP_CAPS_DOC "index"
-
+
/*== resource-lists ==*/
#define TXCAP_AUID_IETF_RESOURCE_LISTS_ID "resource-lists"
#define TXCAP_AUID_IETF_RESOURCE_LISTS_MIME_TYPE "application/resource-lists+xml"
#define TXCAP_AUID_IETF_RESOURCE_LISTS_NS "urn:ietf:params:xml:ns:resource-lists"
#define TXCAP_AUID_IETF_RESOURCE_LISTS_DOC "index"
-
+
/*== rls-services ==*/
#define TXCAP_AUID_IETF_RLS_SERVICES_ID "rls-services"
#define TXCAP_AUID_IETF_RLS_SERVICES_MIME_TYPE "application/rls-services+xml"
@@ -110,37 +110,35 @@ TXCAP_BEGIN_DECLS
/** List of supported AUIDs.
*/
-typedef enum txcap_auid_type_e
-{
- tauid_dummy, /**< any auid */
-
- tauid_ietf_xcap_caps, /**< xcap-caps */
- tauid_ietf_resource_lists, /**< resource-lists */
- tauid_ietf_rls_services, /**< rls-services */
- tauid_ietf_pres_rules, /**< pres-rules */
- tauid_ietf_directory, /**< directory */
-
- tauid_oma_conv_history, /**< org.openmobilealliance.conv-history */
- tauid_oma_pres_rules, /**< org.openmobilealliance.pres-rules */
- tauid_oma_directory, /**< org.openmobilealliance.xcap-directory */
- tauid_oma_deferred_list, /**< org.openmobilealliance.deferred-list */
- tauid_oma_pres_content, /**< org.openmobilealliance.pres-content*/
- tauid_oma_shared_groups /**< org.openmobilealliance.group-usage-list */
+typedef enum txcap_auid_type_e {
+ tauid_dummy, /**< any auid */
+
+ tauid_ietf_xcap_caps, /**< xcap-caps */
+ tauid_ietf_resource_lists, /**< resource-lists */
+ tauid_ietf_rls_services, /**< rls-services */
+ tauid_ietf_pres_rules, /**< pres-rules */
+ tauid_ietf_directory, /**< directory */
+
+ tauid_oma_conv_history, /**< org.openmobilealliance.conv-history */
+ tauid_oma_pres_rules, /**< org.openmobilealliance.pres-rules */
+ tauid_oma_directory, /**< org.openmobilealliance.xcap-directory */
+ tauid_oma_deferred_list, /**< org.openmobilealliance.deferred-list */
+ tauid_oma_pres_content, /**< org.openmobilealliance.pres-content*/
+ tauid_oma_shared_groups /**< org.openmobilealliance.group-usage-list */
}
txcap_auid_type_t;
/** XCAP AUID.
*/
-typedef struct txcap_auid_s
-{
- TSK_DECLARE_OBJECT;
-
- txcap_auid_type_t type;
- char* id; /**< The id of the AUID (e.g. 'xcap-caps' or 'rls-services' or 'resource-lists' or ...)*/
- char* mime_type; /**< The default MIME-type of the document associated to this auid. */
- char* ns; /**< The namespace associated to this auid. */
- char* document_name; /**< The default name of the document associated to this auid. */
- tsk_bool_t global; /**< Indicates the auid scope. */
+typedef struct txcap_auid_s {
+ TSK_DECLARE_OBJECT;
+
+ txcap_auid_type_t type;
+ char* id; /**< The id of the AUID (e.g. 'xcap-caps' or 'rls-services' or 'resource-lists' or ...)*/
+ char* mime_type; /**< The default MIME-type of the document associated to this auid. */
+ char* ns; /**< The namespace associated to this auid. */
+ char* document_name; /**< The default name of the document associated to this auid. */
+ tsk_bool_t global; /**< Indicates the auid scope. */
}
txcap_auid_t;
OpenPOWER on IntegriCloud