00001 /* 00002 * libsyncml - A syncml protocol implementation 00003 * Copyright (C) 2005 Armin Bauer <armin.bauer@opensync.org> 00004 * Copyright (C) 2008 Michael Bell <michael.bell@opensync.org> 00005 * 00006 * This library is free software; you can redistribute it and/or 00007 * modify it under the terms of the GNU Lesser General Public 00008 * License as published by the Free Software Foundation; either 00009 * version 2.1 of the License, or (at your option) any later version. 00010 * 00011 * This library is distributed in the hope that it will be useful, 00012 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00014 * Lesser General Public License for more details. 00015 * 00016 * You should have received a copy of the GNU Lesser General Public 00017 * License along with this library; if not, write to the Free Software 00018 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00019 * 00020 */ 00021 00022 #ifndef _SML_PARSE_INTERNALS_H_ 00023 #define _SML_PARSE_INTERNALS_H_ 00024 00025 struct SmlParser { 00026 SmlParserFunctions functions; 00027 void *parser_userdata; 00028 SmlMimeType type; 00029 unsigned int limit; 00030 SmlManager *manager; 00031 }; 00032 00033 struct SmlAssembler { 00034 SmlAssemblerFunctions functions; 00035 void *assm_userdata; 00036 SmlMimeType type; 00037 GHashTable *options; 00038 SmlBool empty; 00039 00040 unsigned int remoteMaxMsgSize; 00041 unsigned int remoteMaxObjSize; 00042 }; 00043 00044 #endif //_SML_PARSE_INTERNALS_H_