libpurple/protocols/bonjour/parser.c

changeset 23072
6e7c147d622a
parent 22108
cb9819851163
child 25726
19e0c9302a43
child 26393
7420fd99903a
equal deleted inserted replaced
23071:c199efbb0c02 23072:6e7c147d622a
155 155
156 xmlnode_insert_data(bconv->current, (const char*) text, text_len); 156 xmlnode_insert_data(bconv->current, (const char*) text, text_len);
157 } 157 }
158 158
159 static xmlSAXHandler bonjour_parser_libxml = { 159 static xmlSAXHandler bonjour_parser_libxml = {
160 .internalSubset = NULL, 160 NULL, /*internalSubset*/
161 .isStandalone = NULL, 161 NULL, /*isStandalone*/
162 .hasInternalSubset = NULL, 162 NULL, /*hasInternalSubset*/
163 .hasExternalSubset = NULL, 163 NULL, /*hasExternalSubset*/
164 .resolveEntity = NULL, 164 NULL, /*resolveEntity*/
165 .getEntity = NULL, 165 NULL, /*getEntity*/
166 .entityDecl = NULL, 166 NULL, /*entityDecl*/
167 .notationDecl = NULL, 167 NULL, /*notationDecl*/
168 .attributeDecl = NULL, 168 NULL, /*attributeDecl*/
169 .elementDecl = NULL, 169 NULL, /*elementDecl*/
170 .unparsedEntityDecl = NULL, 170 NULL, /*unparsedEntityDecl*/
171 .setDocumentLocator = NULL, 171 NULL, /*setDocumentLocator*/
172 .startDocument = NULL, 172 NULL, /*startDocument*/
173 .endDocument = NULL, 173 NULL, /*endDocument*/
174 .startElement = NULL, 174 NULL, /*startElement*/
175 .endElement = NULL, 175 NULL, /*endElement*/
176 .reference = NULL, 176 NULL, /*reference*/
177 .characters = bonjour_parser_element_text_libxml, 177 bonjour_parser_element_text_libxml, /*characters*/
178 .ignorableWhitespace = NULL, 178 NULL, /*ignorableWhitespace*/
179 .processingInstruction = NULL, 179 NULL, /*processingInstruction*/
180 .comment = NULL, 180 NULL, /*comment*/
181 .warning = NULL, 181 NULL, /*warning*/
182 .error = NULL, 182 NULL, /*error*/
183 .fatalError = NULL, 183 NULL, /*fatalError*/
184 .getParameterEntity = NULL, 184 NULL, /*getParameterEntity*/
185 .cdataBlock = NULL, 185 NULL, /*cdataBlock*/
186 .externalSubset = NULL, 186 NULL, /*externalSubset*/
187 .initialized = XML_SAX2_MAGIC, 187 XML_SAX2_MAGIC, /*initialized*/
188 ._private = NULL, 188 NULL, /*_private*/
189 .startElementNs = bonjour_parser_element_start_libxml, 189 bonjour_parser_element_start_libxml, /*startElementNs*/
190 .endElementNs = bonjour_parser_element_end_libxml, 190 bonjour_parser_element_end_libxml, /*endElementNs*/
191 .serror = NULL 191 NULL /*serror*/
192 }; 192 };
193 193
194 void 194 void
195 bonjour_parser_setup(BonjourJabberConversation *bconv) 195 bonjour_parser_setup(BonjourJabberConversation *bconv)
196 { 196 {

mercurial