Lines Matching defs:doc

105  * ctext: context ptr for the original doc
144 * ctext: context ptr for the original doc to parse request info.
271 * ctext: context ptr for the original doc to parse request info.
329 * Lastly it extract the object name form the doc that assocation
332 * ctext: context ptr for the original doc to parse request info.
470 * ctext: context ptr for the original doc to parse request info.
660 * ctext: context ptr for the original doc to parse request info.
896 * build_mgmt_request -- extracts the request info from the given XML doc.
898 * x_doc: ptr to the request XML doc
975 * build_mgmt_response -- sets an XML doc with a root and calls a porper
977 * the response doc with the result element, this routine fills up
978 * response buffer with raw XML doc.
982 * size: ptr to the response doc buffer
989 xmlDocPtr doc;
997 doc = xmlNewDoc((uchar_t *)"1.0");
999 (void) xmlDocSetRootElement(doc, root);
1009 ret = get_node_op(&req, doc);
1012 ret = get_dd_op(&req, doc);
1015 ret = get_ddset_op(&req, doc);
1018 ret = get_serverconfig_op(doc);
1028 ret = enumerate_node_op(doc);
1031 ret = enumerate_dd_op(doc);
1034 ret = enumerate_ddset_op(doc);
1044 ret = getAssociated_dd_to_node_op(&req, doc);
1046 ret = getAssociated_node_to_dd_op(&req, doc);
1051 ret = getAssociated_ddset_to_dd_op(&req, doc);
1053 ret = getAssociated_dd_to_ddset_op(&req, doc);
1064 ret = createModify_dd_ddset_op(&req, doc);
1068 ret = create_ddmember_ddsetmember_op(&req, doc,
1079 ret = delete_ddmember_ddsetmember_op(&req, doc,
1084 ret = delete_dd_ddset_op(&req, doc, req.op_info.obj);
1095 * if failed check to see the doc contains the result element.
1099 ctext = xmlXPathNewContext(doc);
1114 xmlDocDumpMemory(doc, response, size);
1117 /* can't verify the xml doc. dump return the doc anyway. */
1118 xmlDocDumpMemory(doc, response, size);
1121 xmlDocDumpMemory(doc, response, size);
1126 if (doc) xmlFreeDoc(doc);
1131 * build_result_message -- construct a response doc with the given result.
1134 * reponse: ptr to response doc
1136 * size: ptr to the response doc size
1142 xmlDocPtr doc;
1148 doc = xmlNewDoc((uchar_t *)"1.0");
1150 (void) xmlDocSetRootElement(doc, root);
1172 xmlDocDumpMemory(doc, response, size);
1174 if (doc) xmlFreeDoc(doc);
1277 add_entry(pthread_t tid, xmlChar *doc)
1287 new_e->doc = doc;
1371 thr->doc);
1372 xmlFree(thr->doc);
1376 thr->doc = resp_buf;