/***************************************************************************** * * XEDDB.H - Include file for database routines for extended data * * Copyright (c) 2000-2001 Ethan Galstad (netsaint@netsaint.org) * Last Modified: 01-29-2001 * * License: * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU 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 General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * *****************************************************************************/ #define XEDDB_HOSTEXTINFO_TABLE "hostextinfo" #define XEDDB_SERVICEEXTINFO_TABLE "serviceextinfo" #define XEDDB_BUFFER_LENGTH 1024 #define XEDDB_SQL_LENGTH 2048 /* buffer length for SQL queries */ int xeddb_grab_config_info(char *); int xeddb_initialize(void); int xeddb_connect(void); int xeddb_disconnect(void); int xeddb_query(char *); int xeddb_read_extended_object_config_data(char *,int); /* reads in extended host information */ int xeddb_read_extended_host_config_data(void); int xeddb_read_extended_service_config_data(void);