亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? parser.h

?? 運用expat解析XML文件接口C源代碼
?? H
字號:
/**
 *
 * @file     parser.h
 * @author   Aleix Conchillo Flaque <aleix@member.fsf.org>
 * @date     Mon Nov 25, 2002 00:57
 * @brief    SCEW parser type declaration
 *
 * $Id: parser.h,v 1.3 2007/01/11 09:55:48 serlina Exp $
 *
 * @if copyright
 *
 * Copyright (C) 2002, 2003, 2004 Aleix Conchillo Flaque
 *
 * SCEW is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * SCEW is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
 *
 * @endif
 *
 * These are the parser functions that allow to read an XML tree from a
 * file or a memory buffer.
 */


#ifndef PARSER_H_ALEIX0211250057
#define PARSER_H_ALEIX0211250057

#include "types.h"

#include "../expat/expat.h"

#include <stdio.h>

// #ifdef __cplusplus
// extern "C" {
// #endif /* __cplusplus */

/**
 * Creates a new parser. The parser is needed to load XML documents.
 */
extern scew_parser*
scew_parser_create();

/**
 * Frees a parser memory structure. This function will <b>not</b> free
 * the <code>scew_tree</code> generated by the parser, so it is
 * important that you keep a pointer to it and remember to free it.
 *
 * @see scew_tree_free
 */
extern void
scew_parser_free(scew_parser* parser);

/**
 * Loads an XML tree from the specified file name using the given
 * parser.
 *
 * @param parser the SCEW parser.
 * @param file_name the file to load the XML from.
 *
 * @see scew_parser_create
 *
 * @return 1 if file was successfully loaded, 0 otherwise.
 */
extern unsigned int
scew_parser_load_file(scew_parser* parser, char const* file_name);

/**
 * Loads an XML tree from the specified file pointer using the
 * given parser.
 *
 * @param parser the SCEW parser.
 * @param in the file pointer to load the XML from.
 *
 * @see scew_parser_create
 *
 * @return 1 if file was successfully loaded, 0 otherwise.
 */
extern unsigned int
scew_parser_load_file_fp(scew_parser* parser, SCEW_FILE* in);

/**
 * Loads an XML tree from the specified memory buffer of the specified
 * size using the given parser.
 *
 * @param parser the SCEW parser.
 * @param buffer memory buffer to load XML from.
 * @param size size in bytes of the memory buffer.
 *
 * @see scew_parser_create
 *
 * @return 1 if buffer was successfully loaded, 0 otherwise.
 */
extern unsigned int
scew_parser_load_buffer(scew_parser* parser, char const* buffer,
                        unsigned int size);

/**
 * Loads an XML tree from the specified stream buffer. Will call the
 * callback (set using scew_parser_set_stream_callback) at the end of
 * each message.
 *
 * @param parser the SCEW parser.
 * @param buffer memory buffer to load XML from.
 * @param size size in bytes of the memory buffer.
 *
 * @see scew_parser_create
 * @see scew_parser_set_stream_callback
 *
 * @return 1 if buffer was successfully loaded, 0 otherwise.
 */
extern unsigned int
scew_parser_load_stream(scew_parser* parser, char const* buffer,
                        unsigned int size);

/**
 * Sets the callback for use when reading streams.
 *
 * @param parser the SCEW parser
 * @param cb the callback function
 */
void
scew_parser_set_stream_callback(scew_parser* parser, SCEW_CALLBACK* cb);

/**
 * Returns the XML tree read by the parser. Remember that
 * <code>scew_parser_free</code> does not free the
 * <code>scew_tree</code> read.
 *
 * @see tree.h
 */
extern scew_tree*
scew_parser_tree(scew_parser const* parser);

/**
 * Returns the internal Expat parser. Probably some low-level Expat
 * functions need to be called. This function gives you access to the
 * Expat parser so you will be able to call those functions. If you
 * modify the Expat parser event handling routines, SCEW will not be
 * able to load the XML tree.
 */
extern XML_Parser
scew_parser_expat(scew_parser* parser);

/**
 * Tells the parser how to treat white spaces. The default is to ignore
 * heading and trailing white spaces.
 *
 * There is a new section in XML specification which talks about how to
 * handle white spaces in XML. One can set an optional attribtue to an
 * element, this attribute is called 'xml:space', and it can be set to
 * 'default' or 'preserve', and it inherits its value from parent
 * elements. 'preserve' means to leave white spaces as their are found,
 * and 'default' means that white spaces are handled by the XML
 * processor (Expat in our case) the way it wants to.
 *
 * This function gives the possibility to change the XML processor
 * behaviour.
 *
 * @param parser the parser to set the option to.
 * @param ignore 0 if you do <b>not</b> want to ignore white spaces, any
 * other value otherwise.
 */
extern void
scew_parser_ignore_whitespaces(scew_parser* parser, int ignore);

// #ifdef __cplusplus
// }
// #endif /* __cplusplus */


extern scew_tree*
scew_parser_new_tree(scew_parser* parser);

#endif /* PARSER_H_ALEIX0211250057 */

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
91在线免费看| 亚洲主播在线播放| 精品一区二区三区在线播放 | 欧美不卡在线视频| 人人超碰91尤物精品国产| 日韩一区二区在线观看视频| 久久精品免费观看| 欧美国产一区在线| 色婷婷精品久久二区二区蜜臂av| 亚洲自拍偷拍网站| 91精品啪在线观看国产60岁| 另类小说一区二区三区| 中文字幕欧美区| 91福利小视频| 精品中文字幕一区二区小辣椒| 久久久久国色av免费看影院| 99re这里只有精品视频首页| 亚洲国产精品久久久久婷婷884 | 成人蜜臀av电影| 亚洲激情图片一区| 日韩午夜av电影| 成人黄色电影在线| 亚洲一区视频在线| 26uuu色噜噜精品一区二区| 99热99精品| 中文字幕第一页久久| 99久久久国产精品免费蜜臀| 一区二区三区在线视频免费观看| 欧美艳星brazzers| 日精品一区二区三区| 欧美mv日韩mv亚洲| 国产成人小视频| 亚洲精品中文字幕乱码三区| 欧美日韩第一区日日骚| 韩国精品主播一区二区在线观看| 久久久午夜精品| 91在线免费看| 蜜桃视频第一区免费观看| 国产精品免费aⅴ片在线观看| 欧美日韩精品福利| 97精品国产露脸对白| 麻豆91在线播放免费| 亚洲精品v日韩精品| 久久久久久久久久久久电影| 欧美日韩中文精品| av一本久道久久综合久久鬼色| 日韩一区精品视频| 亚洲图片另类小说| 国产调教视频一区| 日韩亚洲欧美在线| 欧美日韩亚洲综合| 9人人澡人人爽人人精品| 麻豆久久一区二区| 日日摸夜夜添夜夜添亚洲女人| 最新日韩av在线| 国产亚洲制服色| 精品国产一区二区三区久久影院 | 国产成人精品网址| 久久99九九99精品| 奇米影视一区二区三区| 亚洲综合激情另类小说区| 中文字幕一区二区三区视频| 久久久精品国产免大香伊| 在线电影一区二区三区| 欧美日韩一级大片网址| 色综合久久综合| 91在线你懂得| 91首页免费视频| 97久久久精品综合88久久| 岛国精品在线观看| 国产福利一区二区三区| 久久精品99久久久| 久久国产欧美日韩精品| 麻豆精品视频在线观看视频| 婷婷综合在线观看| 五月天激情综合| 亚州成人在线电影| 婷婷亚洲久悠悠色悠在线播放| 亚洲一二三级电影| 午夜av一区二区三区| 亚洲影视在线观看| 无码av中文一区二区三区桃花岛| 亚洲一区二区三区四区五区黄 | 亚洲视频中文字幕| 亚洲视频精选在线| 一区二区三区丝袜| 亚洲国产aⅴ天堂久久| 亚洲成人tv网| 免费人成黄页网站在线一区二区| 久久精品噜噜噜成人88aⅴ| 激情综合亚洲精品| 不卡视频免费播放| 色欧美片视频在线观看| 欧美三级中文字幕在线观看| 欧美日韩色综合| 欧美成人福利视频| 国产精品蜜臀在线观看| 亚洲视频在线观看三级| 亚洲综合在线免费观看| 日韩av中文在线观看| 久久er精品视频| www.欧美色图| 欧美日韩五月天| 欧美大片国产精品| 日本一二三不卡| 一区二区高清免费观看影视大全 | 男女视频一区二区| 国产一区二区美女| 99久久99久久精品免费观看 | 中文乱码免费一区二区| 依依成人综合视频| 日本一区中文字幕| 成人av在线资源| 欧美日韩国产bt| 国产精品色呦呦| 午夜精品久久久久久久99樱桃| 久久99久久精品| 色一区在线观看| 欧美成人乱码一区二区三区| 国产精品久久久久9999吃药| 五月天精品一区二区三区| 国产盗摄一区二区三区| 欧美在线免费视屏| 欧美国产精品一区二区| 亚洲高清视频中文字幕| 国产成人在线网站| 欧美乱熟臀69xxxxxx| 中文字幕乱码亚洲精品一区| 天堂va蜜桃一区二区三区| 成人黄色777网| 精品日韩av一区二区| 亚洲综合图片区| 成人深夜福利app| 欧美www视频| 亚洲图片欧美色图| 99精品偷自拍| 精品国产成人在线影院| 亚洲午夜电影网| 99re视频精品| 久久综合精品国产一区二区三区| 亚洲一区二区三区四区在线观看| 成人中文字幕电影| 欧美大胆一级视频| 亚洲成人av一区二区三区| 成人免费高清在线| 久久久久久久精| 美脚の诱脚舐め脚责91 | 欧美一区二区久久久| 亚洲欧美激情一区二区| 国产成人av影院| 日韩一级在线观看| 午夜不卡av免费| 91久久精品国产91性色tv| 国产欧美日韩亚州综合| 精品在线视频一区| 7777精品伊人久久久大香线蕉超级流畅| 亚洲特黄一级片| 成人污视频在线观看| 一区二区三区中文免费| 国产精品一二三区| 26uuu久久天堂性欧美| 免费观看日韩电影| 91精品国产麻豆国产自产在线| 亚洲成人在线免费| 欧美日韩一本到| 午夜国产不卡在线观看视频| 欧美日韩亚洲综合在线| 亚洲第一主播视频| 欧美精品少妇一区二区三区| 亚洲一区免费观看| 欧美军同video69gay| 日韩中文欧美在线| 日韩丝袜情趣美女图片| 精一区二区三区| 久久伊人中文字幕| 国产精品一区二区不卡| 欧美激情一区二区三区蜜桃视频| 国产91清纯白嫩初高中在线观看| 久久久国产精品午夜一区ai换脸| 国产激情精品久久久第一区二区| 久久久久久一二三区| 成人免费毛片a| 亚洲人成在线观看一区二区| 91久久一区二区| 亚洲黄色小说网站| 欧美日韩成人综合| 捆绑紧缚一区二区三区视频| 日韩免费福利电影在线观看| 激情小说欧美图片| 欧美国产乱子伦 | 久久久久青草大香线综合精品| 国产a精品视频| 亚洲欧美另类久久久精品2019| 欧美午夜电影网| 免费精品99久久国产综合精品| 久久亚洲一区二区三区明星换脸| 国产乱码精品一品二品| 亚洲激情av在线| 日韩欧美一区在线| www.亚洲免费av|