00001 /* 00002 * backend.h - Different backends that can be used by the drivers. 00003 * This file is part of the FreeLCD package. 00004 * 00005 * $Id: backend_8h-source.html,v 1.1 2003/02/16 22:50:41 unicorn Exp $ 00006 * 00007 * This program is free software; you can redistribute it and/or modify it 00008 * under the terms of the GNU General Public License as published by the 00009 * Free Software Foundation; either version 2 of the License, or (at your 00010 * option) any later version. 00011 * 00012 * This program is distributed in the hope that it will be useful, 00013 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00014 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00015 * GNU General Public License for more details. 00016 * 00017 * You should have received a copy of the GNU General Public License 00018 * along with this program; if not, write to the Free Software 00019 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, 00020 * MA 02111-1307 USA 00021 * 00022 * Copyright (c) 2002, 2003, Jeroen van den Berg <[email protected]> 00023 */ 00024 00031 #ifndef _FLCDD_BACKEND_H 00032 #define _FLCDD_BACKEND_H 00033 00034 #include <stdlib.h> 00035 00036 #include <common/xmlt.h> 00037 00045 void *backend_create_handle (xml_node *config, const char* name); 00046 00052 int backend_send (void *handle, const char *data, size_t len); 00053 00056 void backend_free_handle (void *handle); 00057 00058 #endif /* Multiple include guard */