/*
This source file is part of Scol
For the latest info, see http://www.scolring.org

Copyright (c) 2011 Stephane Bisaro, aka Iri <iri@irizone.net>

This program 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 of the License, or (at your option) any later
version.

This program 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 program; if not, write to the Free Software Foundation, Inc., 59 Temple
Place - Suite 330, Boston, MA 02111-1307, USA, or go to
http://www.gnu.org/copyleft/lesser.txt

For others informations, please contact us from http://www.scolring.org/
*/


#ifndef __MAIN_READER_H__
#define __MAIN_READER_H__

#include "main.h"


#define READER_LIBXML2_PKG_NB   26
#define READER_LIBXML2_RFL_NB   1

#define S_LIBREADER_CB_ENDED    0



/* flags */
#define READERXML2_VERSION      1
#define READERXML2_ENCODING     2
#define READERXML2_ISSTANDALONE (1<<2)
#define READERXML2_LANGUAGE     (1<<3)
#define READERXML2_NODEVALUE    (1<<4)
#define READERXML2_NODENAME     (1<<5)
#define READERXML2_VALIDITY     (1<<6)
#define READERXML2_ATTRIBUTES   (1<<7)
#define READERXML2_ATTRIBUTESVALUES (1<<8)
#define READERXML2_DEPTH        (1<<9)
#define READERXML2_NUMBERLINECOL    (1<<10)
#define READERXML2_NODETYPE     (1<<12)
#define READERXML2_NODESTRING   (1<<13)

#define READERXML2_OPTION_NONE      0
#define READERXML2_OPTION_RECOVER   XML_PARSE_RECOVER
#define READERXML2_OPTION_NONET     XML_PARSE_NONET
#define READERXML2_OPTION_NOBLANKS  XML_PARSE_NOBLANKS
#define READERXML2_NSCLEAN          XML_PARSE_NSCLEAN

#endif  /* __MAIN_READER_H__ */
