summaryrefslogtreecommitdiffstats
path: root/common/eurephiadb_session_struct.h
diff options
context:
space:
mode:
authorDavid Sommerseth <dazo@users.sourceforge.net>2008-11-28 11:24:30 +0100
committerDavid Sommerseth <dazo@users.sourceforge.net>2008-11-28 11:24:30 +0100
commit210616cfba5772951f4ee7c5bc854581148c82cd (patch)
tree920e8f1d5ae2ccb8da998a4585801aba6c6a1f9f /common/eurephiadb_session_struct.h
parente2021e05c06cefffcb6a2b165fb15bbf84948590 (diff)
downloadeurephia-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 'common/eurephiadb_session_struct.h')
-rw-r--r--common/eurephiadb_session_struct.h34
1 files changed, 34 insertions, 0 deletions
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 <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_ */