00001 /* iksemel (XML parser for Jabber) 00002 ** Copyright (C) 2000-2003 Gurer Ozen <madcat@e-kolay.net> 00003 ** This code is free software; you can redistribute it and/or 00004 ** modify it under the terms of GNU Lesser General Public License. 00005 */ 00006 00007 /* minimum sax buffer size */ 00008 #define SAX_BUFFER_MIN_SIZE 128 00009 00010 /* sax parser structure plus extra data of dom parser */ 00011 #define DEFAULT_DOM_CHUNK_SIZE 256 00012 00013 /* sax parser structure plus extra data of stream parser */ 00014 #define DEFAULT_STREAM_CHUNK_SIZE 256 00015 00016 /* iks structure, its data, child iks structures, for stream parsing */ 00017 #define DEFAULT_IKS_CHUNK_SIZE 1024 00018 00019 /* iks structure, its data, child iks structures, for file parsing */ 00020 #define DEFAULT_DOM_IKS_CHUNK_SIZE 2048 00021 00022 /* rule structure and from/to/id/ns strings */ 00023 #define DEFAULT_RULE_CHUNK_SIZE 128 00024 00025 /* file is read by blocks with this size */ 00026 #define FILE_IO_BUF_SIZE 4096 00027 00028 /* network receive buffer */ 00029 #define NET_IO_BUF_SIZE 4096