From 210616cfba5772951f4ee7c5bc854581148c82cd Mon Sep 17 00:00:00 2001 From: David Sommerseth Date: Fri, 28 Nov 2008 11:24:30 +0100 Subject: Cleaned up eurephiadb_session dependencies Moved eurephiadb_session_struct.h to the common directory and made sure that eurephiadb_session.h is only included where needed --- plugin/eurephia.c | 1 + plugin/eurephiadb_session_struct.h | 34 ---------------------------------- 2 files changed, 1 insertion(+), 34 deletions(-) delete mode 100644 plugin/eurephiadb_session_struct.h (limited to 'plugin') diff --git a/plugin/eurephia.c b/plugin/eurephia.c index 91e44da..8dc01e2 100644 --- a/plugin/eurephia.c +++ b/plugin/eurephia.c @@ -31,6 +31,7 @@ #include #include #include +#include #include #define MAX_ARGUMENTS 64 diff --git a/plugin/eurephiadb_session_struct.h b/plugin/eurephiadb_session_struct.h deleted file mode 100644 index fcacc8f..0000000 --- a/plugin/eurephiadb_session_struct.h +++ /dev/null @@ -1,34 +0,0 @@ -/* eurephia_session.h -- eurephiaSESSION struct typedef - * - * GPLv2 - Copyright (C) 2008 David Sommerseth - * - * 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; version 2 - * of the License. - * - * 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - * - */ - -#ifndef EUREPHIADB_SESSION_STRUCT_H_ -#define EUREPHIADB_SESSION_STRUCT_H_ - -// -// Struct which contains session unique data -// -typedef struct { - char *sessionkey; - int sessionstatus; - eurephiaVALUES *sessvals; -} eurephiaSESSION; - - -#endif /* !EUREPHIADB_SESSION_STRUCT_H_ */ -- cgit