diff options
author | Frederic Peters <fpeters@entrouvert.com> | 2004-12-24 12:07:31 +0000 |
---|---|---|
committer | Frederic Peters <fpeters@entrouvert.com> | 2004-12-24 12:07:31 +0000 |
commit | 56c32de385570d948407a6a32990cf291465a916 (patch) | |
tree | c5a9d90f55639e47f8993b109c31a61c13f653cf /lasso/xml | |
parent | 37b04beafb0917021c1fd62283d9c804d12db390 (diff) | |
download | lasso-56c32de385570d948407a6a32990cf291465a916.tar.gz lasso-56c32de385570d948407a6a32990cf291465a916.tar.xz lasso-56c32de385570d948407a6a32990cf291465a916.zip |
added lib:Extension support to dst classes.
Diffstat (limited to 'lasso/xml')
-rw-r--r-- | lasso/xml/dst_modify.c | 6 | ||||
-rw-r--r-- | lasso/xml/dst_modify.h | 3 | ||||
-rw-r--r-- | lasso/xml/dst_modify_response.c | 2 | ||||
-rw-r--r-- | lasso/xml/dst_modify_response.h | 2 | ||||
-rw-r--r-- | lasso/xml/dst_query.c | 1 | ||||
-rw-r--r-- | lasso/xml/dst_query.h | 1 | ||||
-rw-r--r-- | lasso/xml/dst_query_response.c | 3 | ||||
-rw-r--r-- | lasso/xml/dst_query_response.h | 3 |
8 files changed, 14 insertions, 7 deletions
diff --git a/lasso/xml/dst_modify.c b/lasso/xml/dst_modify.c index cf0428dd..d93860d0 100644 --- a/lasso/xml/dst_modify.c +++ b/lasso/xml/dst_modify.c @@ -63,10 +63,10 @@ static struct XmlSnippet schema_snippets[] = { { "ResourceID", SNIPPET_NODE, G_STRUCT_OFFSET(LassoDstModify, ResourceID) }, { "EncryptedResourceID", SNIPPET_NODE, G_STRUCT_OFFSET(LassoDstModify, - EncryptedResourceID) }, + EncryptedResourceID) }, { "Modification", SNIPPET_LIST_NODES, G_STRUCT_OFFSET(LassoDstModify, - Modification) }, - /* FIXME : implement Extension element */ + Modification) }, + { "Extension", SNIPPET_EXTENSION, G_STRUCT_OFFSET(LassoDstModify, Extension) }, { "id", SNIPPET_ATTRIBUTE, G_STRUCT_OFFSET(LassoDstModify, id) }, { "itemID", SNIPPET_ATTRIBUTE, G_STRUCT_OFFSET(LassoDstModify, itemID) }, {NULL, 0, 0} diff --git a/lasso/xml/dst_modify.h b/lasso/xml/dst_modify.h index 689cfddc..f46f6bde 100644 --- a/lasso/xml/dst_modify.h +++ b/lasso/xml/dst_modify.h @@ -51,10 +51,11 @@ typedef struct _LassoDstModifyClass LassoDstModifyClass; struct _LassoDstModify { LassoNode parent; + /*< public >*/ LassoDiscoResourceID *ResourceID; LassoDiscoEncryptedResourceID *EncryptedResourceID; GList *Modification; - /* FIXME : implement Extension element */ + xmlNode *Extension; char *id; char *itemID; diff --git a/lasso/xml/dst_modify_response.c b/lasso/xml/dst_modify_response.c index 853c74dc..428bc89f 100644 --- a/lasso/xml/dst_modify_response.c +++ b/lasso/xml/dst_modify_response.c @@ -46,7 +46,7 @@ static struct XmlSnippet schema_snippets[] = { { "Status", SNIPPET_NODE, G_STRUCT_OFFSET(LassoDstModifyResponse, Status) }, - /* FIXME : implement Extension element */ + { "Extension", SNIPPET_EXTENSION, G_STRUCT_OFFSET(LassoDstModifyResponse, Extension) }, { "id", SNIPPET_ATTRIBUTE, G_STRUCT_OFFSET(LassoDstModifyResponse, id) }, { "itemIDRef", SNIPPET_ATTRIBUTE, G_STRUCT_OFFSET(LassoDstModifyResponse, itemIDRef) }, { "timeStamp", SNIPPET_ATTRIBUTE, G_STRUCT_OFFSET(LassoDstModifyResponse, timeStamp) }, diff --git a/lasso/xml/dst_modify_response.h b/lasso/xml/dst_modify_response.h index 4100a5a6..08005c09 100644 --- a/lasso/xml/dst_modify_response.h +++ b/lasso/xml/dst_modify_response.h @@ -51,6 +51,8 @@ typedef struct _LassoDstModifyResponseClass LassoDstModifyResponseClass; struct _LassoDstModifyResponse { LassoNode parent; + /*< public >*/ + xmlNode *Extension; LassoUtilityStatus *Status; char *id; diff --git a/lasso/xml/dst_query.c b/lasso/xml/dst_query.c index 6a80388f..80b6417b 100644 --- a/lasso/xml/dst_query.c +++ b/lasso/xml/dst_query.c @@ -57,6 +57,7 @@ static struct XmlSnippet schema_snippets[] = { { "EncryptedResourceID", SNIPPET_NODE, G_STRUCT_OFFSET(LassoDstQuery, EncryptedResourceID) }, { "QueryItem", SNIPPET_LIST_NODES, G_STRUCT_OFFSET(LassoDstQuery, QueryItem) }, + { "Extension", SNIPPET_EXTENSION, G_STRUCT_OFFSET(LassoDstQuery, Extension) }, { "id", SNIPPET_ATTRIBUTE, G_STRUCT_OFFSET(LassoDstQuery, id) }, { "itemID", SNIPPET_ATTRIBUTE, G_STRUCT_OFFSET(LassoDstQuery, itemID) }, {NULL, 0, 0} diff --git a/lasso/xml/dst_query.h b/lasso/xml/dst_query.h index 99a42ebe..da598e7d 100644 --- a/lasso/xml/dst_query.h +++ b/lasso/xml/dst_query.h @@ -51,6 +51,7 @@ typedef struct _LassoDstQueryClass LassoDstQueryClass; struct _LassoDstQuery { LassoNode parent; + /*< public >*/ LassoDiscoResourceID *ResourceID; LassoDiscoEncryptedResourceID *EncryptedResourceID; GList *QueryItem; diff --git a/lasso/xml/dst_query_response.c b/lasso/xml/dst_query_response.c index 87e4563e..e7f4a246 100644 --- a/lasso/xml/dst_query_response.c +++ b/lasso/xml/dst_query_response.c @@ -58,6 +58,7 @@ static struct XmlSnippet schema_snippets[] = { { "Status", SNIPPET_NODE, G_STRUCT_OFFSET(LassoDstQueryResponse, Status) }, { "Data", SNIPPET_LIST_NODES, G_STRUCT_OFFSET(LassoDstQueryResponse, Data) }, + { "Extension", SNIPPET_EXTENSION, G_STRUCT_OFFSET(LassoDstQueryResponse, Extension) }, { "id", SNIPPET_ATTRIBUTE, G_STRUCT_OFFSET(LassoDstQueryResponse, id) }, { "itemIDRef", SNIPPET_ATTRIBUTE, G_STRUCT_OFFSET(LassoDstQueryResponse, itemIDRef) }, @@ -104,7 +105,7 @@ instance_init(LassoDstQueryResponse *node) { node->Status = NULL; node->Data = NULL; - /* FIXME : implement Extension element */ + node->Extension = NULL; node->id = NULL; node->itemIDRef = NULL; diff --git a/lasso/xml/dst_query_response.h b/lasso/xml/dst_query_response.h index 33f26ba4..09992943 100644 --- a/lasso/xml/dst_query_response.h +++ b/lasso/xml/dst_query_response.h @@ -52,9 +52,10 @@ typedef struct _LassoDstQueryResponseClass LassoDstQueryResponseClass; struct _LassoDstQueryResponse { LassoNode parent; + /*< public >*/ LassoUtilityStatus *Status; GList *Data; - /* FIXME : implement Extension element */ + xmlNode *Extension; char *id; char *itemIDRef; |