diff options
author | David Sommerseth <dazo@users.sourceforge.net> | 2008-11-28 11:24:30 +0100 |
---|---|---|
committer | David Sommerseth <dazo@users.sourceforge.net> | 2008-11-28 11:24:30 +0100 |
commit | 210616cfba5772951f4ee7c5bc854581148c82cd (patch) | |
tree | 920e8f1d5ae2ccb8da998a4585801aba6c6a1f9f /plugin | |
parent | e2021e05c06cefffcb6a2b165fb15bbf84948590 (diff) | |
download | eurephia-210616cfba5772951f4ee7c5bc854581148c82cd.tar.gz eurephia-210616cfba5772951f4ee7c5bc854581148c82cd.tar.xz eurephia-210616cfba5772951f4ee7c5bc854581148c82cd.zip |
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
Diffstat (limited to 'plugin')
-rw-r--r-- | plugin/eurephia.c | 1 | ||||
-rw-r--r-- | plugin/eurephiadb_session_struct.h | 34 |
2 files changed, 1 insertions, 34 deletions
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 <eurephiafw.h> #include <eurephia_nullsafe.h> #include <eurephia_values.h> +#include <eurephiadb_session.h> #include <certinfo.h> #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 <dazo@users.sourceforge.net> - * - * 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_ */ |