Lines Matching defs:doc

111  * ctext: context ptr for the original doc
150 * ctext: context ptr for the original doc to parse request info.
277 * ctext: context ptr for the original doc to parse request info.
335 * Lastly it extract the object name form the doc that assocation
338 * ctext: context ptr for the original doc to parse request info.
476 * ctext: context ptr for the original doc to parse request info.
666 * ctext: context ptr for the original doc to parse request info.
902 * build_mgmt_request -- extracts the request info from the given XML doc.
904 * x_doc: ptr to the request XML doc
981 * build_mgmt_response -- sets an XML doc with a root and calls a porper
983 * the response doc with the result element, this routine fills up
984 * response buffer with raw XML doc.
988 * size: ptr to the response doc buffer
995 xmlDocPtr doc;
1003 doc = xmlNewDoc((uchar_t *)"1.0");
1005 (void) xmlDocSetRootElement(doc, root);
1015 ret = get_node_op(&req, doc);
1018 ret = get_dd_op(&req, doc);
1021 ret = get_ddset_op(&req, doc);
1024 ret = get_serverconfig_op(doc);
1034 ret = enumerate_node_op(doc);
1037 ret = enumerate_dd_op(doc);
1040 ret = enumerate_ddset_op(doc);
1050 ret = getAssociated_dd_to_node_op(&req, doc);
1052 ret = getAssociated_node_to_dd_op(&req, doc);
1057 ret = getAssociated_ddset_to_dd_op(&req, doc);
1059 ret = getAssociated_dd_to_ddset_op(&req, doc);
1070 ret = createModify_dd_ddset_op(&req, doc);
1074 ret = create_ddmember_ddsetmember_op(&req, doc,
1085 ret = delete_ddmember_ddsetmember_op(&req, doc,
1090 ret = delete_dd_ddset_op(&req, doc, req.op_info.obj);
1101 * if failed check to see the doc contains the result element.
1105 ctext = xmlXPathNewContext(doc);
1120 xmlDocDumpMemory(doc, response, size);
1123 /* can't verify the xml doc. dump return the doc anyway. */
1124 xmlDocDumpMemory(doc, response, size);
1127 xmlDocDumpMemory(doc, response, size);
1132 if (doc) xmlFreeDoc(doc);
1137 * build_result_message -- construct a response doc with the given result.
1140 * reponse: ptr to response doc
1142 * size: ptr to the response doc size
1148 xmlDocPtr doc;
1154 doc = xmlNewDoc((uchar_t *)"1.0");
1156 (void) xmlDocSetRootElement(doc, root);
1178 xmlDocDumpMemory(doc, response, size);
1180 if (doc) xmlFreeDoc(doc);
1283 add_entry(pthread_t tid, xmlChar *doc)
1293 new_e->doc = doc;
1377 thr->doc);
1378 xmlFree(thr->doc);
1382 thr->doc = resp_buf;