/* * xmlformat-vnote - convert vnote11 to xmlformat-note and backwards * Copyright (C) 2004-2005 Armin Bauer * Copyright (C) 2007 Daniel Gollub * Copyright (C) 2007 Jerry Yu * * This library 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. * * This library 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 * */ #ifndef XMLFORMAT_VNOTE_H_ #define XMLFORMAT_VNOTE_H_ #include "xmlformat-vcalendar.h" /* typedef struct OSyncHookTables OSyncHookTables; struct OSyncHookTables { GHashTable *table; GHashTable *tztable; GHashTable *comptable; GHashTable *compparamtable; GHashTable *alarmtable; GHashTable *parameters; GHashTable *attributes; }; #define HANDLE_IGNORE (void *)1 */ osync_bool conv_xmlformat_to_vnote(char *input, unsigned int inpsize, char **output, unsigned int *outpsize, osync_bool *free_input, const char *config, void *userdata, OSyncError **error); osync_bool conv_vnote_to_xmlformat(char *input, unsigned int inpsize, char **output, unsigned int *outpsize, osync_bool *free_input, const char *config, void *userdata, OSyncError **error); #endif //XMLFORMAT_VNOTE_H_