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
/*== 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.
*/
typedef enum txcap_auid_type_e

View File

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