This file is indexed.

/usr/include/openwsman/wsman-xml-binding.h is in libopenwsman-dev 2.6.5-0ubuntu3.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
/*******************************************************************************
* Copyright (C) 2004-2006 Intel Corp. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
*  - Redistributions of source code must retain the above copyright notice,
*    this list of conditions and the following disclaimer.
*
*  - Redistributions in binary form must reproduce the above copyright notice,
*    this list of conditions and the following disclaimer in the documentation
*    and/or other materials provided with the distribution.
*
*  - Neither the name of Intel Corp. nor the names of its
*    contributors may be used to endorse or promote products derived from this
*    software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS IS''
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL Intel Corp. OR THE CONTRIBUTORS
* BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*******************************************************************************/

/**
 * @author Anas Nashif
 * @author Eugene Yarmosh
 */
#ifndef XML_BINDING_LIBXML2_H_
#define XML_BINDING_LIBXML2_H_


struct __internalWsNode {
	char *valText;
};
typedef struct __internalWsNode iWsNode;

void xml_parser_initialize(void);

void xml_parser_destroy(void);

int xml_parser_create_doc(WsXmlDocH Doc, const char *rootName);

void xml_parser_destroy_doc(WsXmlDocH Doc);

WsXmlDocH xml_parser_get_doc(WsXmlNodeH node);

WsXmlNodeH xml_parser_get_root(WsXmlDocH doc);

WsXmlDocH xml_parser_memory_to_doc( const char *buf, size_t size,
				   const char *encoding,
				   unsigned long options);

char *xml_parser_node_query(WsXmlNodeH node, int what);

int xml_parser_node_set(WsXmlNodeH node, int what, const char *str);

WsXmlNodeH xml_parser_node_get(WsXmlNodeH node, int which);

WsXmlNsH xml_parser_ns_find(WsXmlNodeH node, const char *uri,
			    const char *prefix, int bWalkUpTree,
			    int bAddAtRootIfNotFound);

char *xml_parser_ns_query(WsXmlNsH ns, int what);

WsXmlNsH xml_parser_ns_add(WsXmlNodeH node, const char *uri,
			   const char *prefix);

int xml_parser_ns_remove(WsXmlNodeH node, const char *nsUri);

WsXmlNsH xml_parser_ns_get(WsXmlNodeH node, int which);

int xml_parser_get_count(WsXmlNodeH node, int what, int bWalkUpTree);

WsXmlNodeH xml_parser_node_add(WsXmlNodeH base, int where,
			       const char *nsUri, const char *localName,
			       const char *value, int xmlescape);

int xml_parser_node_remove(WsXmlNodeH node);

WsXmlAttrH xml_parser_attr_add(WsXmlNodeH node, const char *uri,
			       const char *name, const char *value);

int xml_parser_attr_remove(WsXmlAttrH attr);

WsXmlDocH xml_parser_file_to_doc( const char *filename,
				 const char *encoding,
				 unsigned long options);

char *xml_parser_attr_query(WsXmlAttrH attr, int what);

WsXmlAttrH xml_parser_attr_get(WsXmlNodeH node, int which);

void xml_parser_free_memory(void *ptr);

void xml_parser_doc_to_memory(WsXmlDocH doc, char **buf,
			      int *ptrSize, const char *encoding);

void xml_parser_doc_dump(FILE * f, WsXmlDocH doc);

void xml_parser_doc_dump_memory(WsXmlDocH doc, char **buf, int *ptrSize);

void xml_parser_doc_dump_memory_enc(WsXmlDocH doc, char **buf, int *ptrSize, const char *encoding);

void xml_parser_element_dump(FILE * f, WsXmlDocH doc, WsXmlNodeH node);

int xml_parser_check_xpath(WsXmlDocH doc, const char *xpath_expr);

int xml_parser_utf8_strlen(char *buf);

char *xml_parser_get_xpath_value(WsXmlDocH doc, const char *expression);

int xml_parser_create_doc_by_import(WsXmlDocH wsDoc, WsXmlNodeH node);

void xml_parser_unlink_node(WsXmlNodeH node);

void xml_parser_set_ns(WsXmlNodeH r, WsXmlNsH ns, const char* prefix);
void xml_parser_node_set_lang(WsXmlNodeH node,  const char *lang);

void xml_parser_copy_node(WsXmlNodeH src, WsXmlNodeH dst);

#endif				/*XML_BINDING_LIBXML2_H_ */