Exhibit XCAP auids.

This commit is contained in:
bossiel 2010-06-01 10:58:27 +00:00
parent 713d914054
commit 5c2a81d89c
2 changed files with 112 additions and 46 deletions

View File

@ -35,6 +35,73 @@
TXCAP_BEGIN_DECLS TXCAP_BEGIN_DECLS
/*== xcap-caps ==*/
#define TXCAP_AUID_IETF_XCAP_CAPS_ID "xcap-caps"
#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"
#define TXCAP_AUID_IETF_RLS_SERVICES_NS "urn:ietf:params:xml:ns:resource-lists"
#define TXCAP_AUID_IETF_RLS_SERVICES_DOC "index"
/*== pres-rules ==*/
#define TXCAP_AUID_IETF_PRES_RULES_ID "pres-rules"
#define TXCAP_AUID_IETF_PRES_RULES_MIME_TYPE "application/auth-policy+xml"
#define TXCAP_AUID_IETF_PRES_RULES_NS "urn:ietf:params:xml:ns:pres-rules"
#define TXCAP_AUID_IETF_PRES_RULES_DOC "index"
/*== org.openmobilealliance.pres-rules ==*/
#define TXCAP_AUID_OMA_PRES_RULES_ID "org.openmobilealliance.pres-rules"
#define TXCAP_AUID_OMA_PRES_RULES_MIME_TYPE "application/auth-policy+xml"
#define TXCAP_AUID_OMA_PRES_RULES_NS "urn:ietf:params:xml:ns:common-policy"
#define TXCAP_AUID_OMA_PRES_RULES_DOC "pres-rules"
/*== directory ==*/
#define TXCAP_AUID_IETF_DIRECTORY_ID "directory"
#define TXCAP_AUID_IETF_DIRECTORY_MIME_TYPE "application/directory+xml"
#define TXCAP_AUID_IETF_DIRECTORY_NS "urn:ietf:params:xml:ns:xcap-directory"
#define TXCAP_AUID_IETF_DIRECTORY_DOC "directory.xml"
/*== org.openmobilealliance.xcap-directory ==*/
#define TXCAP_AUID_OMA_DIRECTORY_ID "org.openmobilealliance.xcap-directory"
#define TXCAP_AUID_OMA_DIRECTORY_MIME_TYPE "application/vnd.oma.xcap-directory+xml"
#define TXCAP_AUID_OMA_DIRECTORY_NS "urn:oma:xml:xdm:xcap-directory"
#define TXCAP_AUID_OMA_DIRECTORY_DOC "directory.xml"
/*== org.openmobilealliance.pres-content ==*/
#define TXCAP_AUID_OMA_PRES_CONTENT_ID "org.openmobilealliance.pres-content"
#define TXCAP_AUID_OMA_PRES_CONTENT_MIME_TYPE "application/vnd.oma.pres-content+xml"
#define TXCAP_AUID_OMA_PRES_CONTENT_NS "urn:oma:xml:prs:pres-content"
#define TXCAP_AUID_OMA_PRES_CONTENT_DOC "oma_status-icon/rcs_status_icon"
/*== org.openmobilealliance.conv-history ==*/
#define TXCAP_AUID_OMA_CONV_HISTORY_ID "org.openmobilealliance.conv-history"
#define TXCAP_AUID_OMA_CONV_HISTORY_MIME_TYPE "application/vnd.oma.im.history-list+xml"
#define TXCAP_AUID_OMA_CONV_HISTORY_NS "urn:oma:xml:im:history-list"
#define TXCAP_AUID_OMA_CONV_HISTORY_DOC "conv-history"
/*== org.openmobilealliance.deferred-list ==*/
#define TXCAP_AUID_OMA_DEFERRED_LIST_ID "org.openmobilealliance.deferred-list"
#define TXCAP_AUID_OMA_DEFERRED_LIST_MIME_TYPE "application/vnd.oma.im.deferred-list+xml"
#define TXCAP_AUID_OMA_DEFERRED_LIST_NS "urn:oma:xml:im:history-list"
#define TXCAP_AUID_OMA_DEFERRED_LIST_DOC "deferred-list"
/*== org.openmobilealliance.group-usage-list ==*/
#define TXCAP_AUID_OMA_SHARED_GROUPS_ID "org.openmobilealliance.group-usage-list"
#define TXCAP_AUID_OMA_SHARED_GROUPS_MIME_TYPE "application/vnd.oma.group-usage-list+xml"
#define TXCAP_AUID_OMA_SHARED_GROUPS_NS "urn:ietf:params:xml:ns:resource-lists"
#define TXCAP_AUID_OMA_SHARED_GROUPS_DOC "index"
/** List of supported AUIDs. /** List of supported AUIDs.
*/ */
typedef enum txcap_auid_type_e typedef enum txcap_auid_type_e

View File

@ -44,106 +44,105 @@ typedef struct auid_s
} }
auid_t; auid_t;
/** List of all default auids /** List of all default auids */
*/
static const auid_t __txcap_auids[] = static const auid_t __txcap_auids[] =
{ {
/*== xcap-caps ==*/{ /*== xcap-caps ==*/{
tauid_ietf_xcap_caps, tauid_ietf_xcap_caps,
"xcap-caps", TXCAP_AUID_IETF_XCAP_CAPS_ID,
"application/xcap-caps+xml", TXCAP_AUID_IETF_XCAP_CAPS_MIME_TYPE,
"urn:ietf:params:xml:ns:xcap-caps", TXCAP_AUID_IETF_XCAP_CAPS_NS,
"index", TXCAP_AUID_IETF_XCAP_CAPS_DOC,
tsk_true tsk_true
}, },
/*== resource-lists ==*/{ /*== resource-lists ==*/{
tauid_ietf_resource_lists, tauid_ietf_resource_lists,
"resource-lists", TXCAP_AUID_IETF_RESOURCE_LISTS_ID,
"application/resource-lists+xml", TXCAP_AUID_IETF_RESOURCE_LISTS_MIME_TYPE,
"urn:ietf:params:xml:ns:resource-lists", TXCAP_AUID_IETF_RESOURCE_LISTS_NS,
"index", TXCAP_AUID_IETF_RESOURCE_LISTS_DOC,
tsk_false tsk_false
}, },
/*== rls-services ==*/{ /*== rls-services ==*/{
tauid_ietf_rls_services, tauid_ietf_rls_services,
"rls-services", TXCAP_AUID_IETF_RLS_SERVICES_ID,
"application/rls-services+xml", TXCAP_AUID_IETF_RLS_SERVICES_MIME_TYPE,
"urn:ietf:params:xml:ns:resource-lists", TXCAP_AUID_IETF_RLS_SERVICES_NS,
"index", TXCAP_AUID_IETF_RLS_SERVICES_DOC,
tsk_false tsk_false
}, },
/*== pres-rules ==*/{ /*== pres-rules ==*/{
tauid_ietf_pres_rules, tauid_ietf_pres_rules,
"pres-rules", TXCAP_AUID_IETF_PRES_RULES_ID,
"application/auth-policy+xml", TXCAP_AUID_IETF_PRES_RULES_MIME_TYPE,
"urn:ietf:params:xml:ns:pres-rules", TXCAP_AUID_IETF_PRES_RULES_NS,
"index", TXCAP_AUID_IETF_PRES_RULES_DOC,
tsk_false tsk_false
}, },
/*== org.openmobilealliance.pres-rules ==*/{ /*== org.openmobilealliance.pres-rules ==*/{
tauid_oma_pres_rules, tauid_oma_pres_rules,
"org.openmobilealliance.pres-rules", TXCAP_AUID_OMA_PRES_RULES_ID,
"application/auth-policy+xml", TXCAP_AUID_OMA_PRES_RULES_MIME_TYPE,
"urn:ietf:params:xml:ns:common-policy", TXCAP_AUID_OMA_PRES_RULES_NS,
"pres-rules", TXCAP_AUID_OMA_PRES_RULES_DOC,
tsk_false tsk_false
}, },
/*== directory ==*/{ /*== directory ==*/{
tauid_ietf_directory, tauid_ietf_directory,
"directory", TXCAP_AUID_IETF_DIRECTORY_ID,
"application/directory+xml", TXCAP_AUID_IETF_DIRECTORY_MIME_TYPE,
"urn:ietf:params:xml:ns:xcap-directory", TXCAP_AUID_IETF_DIRECTORY_NS,
"directory.xml", TXCAP_AUID_IETF_DIRECTORY_DOC,
tsk_false tsk_false
}, },
/*== org.openmobilealliance.xcap-directory ==*/{ /*== org.openmobilealliance.xcap-directory ==*/{
tauid_oma_directory, tauid_oma_directory,
"org.openmobilealliance.xcap-directory", TXCAP_AUID_OMA_DIRECTORY_ID,
"application/vnd.oma.xcap-directory+xml", TXCAP_AUID_OMA_DIRECTORY_MIME_TYPE,
"urn:oma:xml:xdm:xcap-directory", TXCAP_AUID_OMA_DIRECTORY_NS,
"directory.xml", TXCAP_AUID_OMA_DIRECTORY_DOC,
tsk_false tsk_false
}, },
/*== org.openmobilealliance.pres-content ==*/{ /*== org.openmobilealliance.pres-content ==*/{
tauid_oma_pres_content, tauid_oma_pres_content,
"org.openmobilealliance.pres-content", TXCAP_AUID_OMA_PRES_CONTENT_ID,
"application/vnd.oma.pres-content+xml", TXCAP_AUID_OMA_PRES_CONTENT_MIME_TYPE,
"urn:oma:xml:prs:pres-content", TXCAP_AUID_OMA_PRES_CONTENT_NS,
"oma_status-icon/rcs_status_icon", TXCAP_AUID_OMA_PRES_CONTENT_DOC,
tsk_false tsk_false
}, },
/*== org.openmobilealliance.conv-history ==*/{ /*== org.openmobilealliance.conv-history ==*/{
tauid_oma_conv_history, tauid_oma_conv_history,
"org.openmobilealliance.conv-history", TXCAP_AUID_OMA_CONV_HISTORY_ID,
"application/vnd.oma.im.history-list+xml", TXCAP_AUID_OMA_CONV_HISTORY_MIME_TYPE,
"urn:oma:xml:im:history-list", TXCAP_AUID_OMA_CONV_HISTORY_NS,
"conv-history", TXCAP_AUID_OMA_CONV_HISTORY_DOC,
tsk_false tsk_false
}, },
/*== org.openmobilealliance.deferred-list ==*/{ /*== org.openmobilealliance.deferred-list ==*/{
tauid_oma_deferred_list, tauid_oma_deferred_list,
"org.openmobilealliance.deferred-list", TXCAP_AUID_OMA_DEFERRED_LIST_ID,
"application/vnd.oma.im.deferred-list+xml", TXCAP_AUID_OMA_DEFERRED_LIST_MIME_TYPE,
"urn:oma:xml:im:history-list", TXCAP_AUID_OMA_DEFERRED_LIST_NS,
"deferred-list", TXCAP_AUID_OMA_DEFERRED_LIST_DOC,
tsk_false tsk_false
}, },
/*== org.openmobilealliance.group-usage-list ==*/{ /*== org.openmobilealliance.group-usage-list ==*/{
tauid_oma_shared_groups, tauid_oma_shared_groups,
"org.openmobilealliance.group-usage-list", TXCAP_AUID_OMA_SHARED_GROUPS_ID,
"application/vnd.oma.group-usage-list+xml", TXCAP_AUID_OMA_SHARED_GROUPS_MIME_TYPE,
"rn:ietf:params:xml:ns:resource-lists", TXCAP_AUID_OMA_SHARED_GROUPS_NS,
"index", TXCAP_AUID_OMA_SHARED_GROUPS_DOC,
tsk_false tsk_false
}, },
}; };