Go to the documentation of this file.00001
00033 #include <stdio.h>
00034 #include <stdlib.h>
00035 #include <string.h>
00036 #include <libxml/parser.h>
00037 #include <time.h>
00038
00039 #include "../../sr_module.h"
00040 #include "../../dprint.h"
00041 #include "pv_xml.h"
00042
00043 MODULE_VERSION
00044
00045 extern int pv_xml_buf_size;
00046
00047 static pv_export_t mod_pvs[] = {
00048 { {"xml", sizeof("xml")-1}, PVT_OTHER, pv_get_xml, pv_set_xml,
00049 pv_parse_xml_name, 0, 0, 0 },
00050 { {0, 0}, 0, 0, 0, 0, 0, 0, 0 }
00051 };
00052
00053 static param_export_t params[]={
00054 { "buf_size", INT_PARAM, &pv_xml_buf_size },
00055 { "xml_ns", STR_PARAM|USE_FUNC_PARAM, (void*)pv_xml_ns_param },
00056 { 0, 0, 0}
00057 };
00058
00060 struct module_exports exports= {
00061 "xmlops",
00062 DEFAULT_DLFLAGS,
00063 0,
00064 params,
00065 0,
00066 0,
00067 mod_pvs,
00068 0,
00069 0,
00070 0,
00071 0,
00072 0
00073 };
00074