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 --- common/eurephiadb_session_struct.h | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 common/eurephiadb_session_struct.h (limited to 'common/eurephiadb_session_struct.h') diff --git a/common/eurephiadb_session_struct.h b/common/eurephiadb_session_struct.h new file mode 100644 index 0000000..fcacc8f --- /dev/null +++ b/common/eurephiadb_session_struct.h @@ -0,0 +1,34 @@ +/* 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