aboutsummaryrefslogtreecommitdiffstats
path: root/Source/charon/globals.h
diff options
context:
space:
mode:
authorJan Hutter <jhutter@hsr.ch>2005-11-07 13:12:26 +0000
committerJan Hutter <jhutter@hsr.ch>2005-11-07 13:12:26 +0000
commitc5a6681c42b18e186d90f1ac087dd1f5809c7fea (patch)
tree1df784697cc5ef20340543e4e24c3b2abe02524d /Source/charon/globals.h
parent6962f6c92f47438773b43b784ef34dc9a096cf5e (diff)
downloadstrongswan-c5a6681c42b18e186d90f1ac087dd1f5809c7fea.tar.bz2
strongswan-c5a6681c42b18e186d90f1ac087dd1f5809c7fea.tar.xz
- global objects are defined in globals
Diffstat (limited to 'Source/charon/globals.h')
-rw-r--r--Source/charon/globals.h37
1 files changed, 37 insertions, 0 deletions
diff --git a/Source/charon/globals.h b/Source/charon/globals.h
new file mode 100644
index 000000000..17282f091
--- /dev/null
+++ b/Source/charon/globals.h
@@ -0,0 +1,37 @@
+/**
+ * @file globals.h
+ *
+ * @brief Global used objects
+ *
+ */
+
+/*
+ * Copyright (C) 2005 Jan Hutter, Martin Willi
+ * Hochschule fuer Technik Rapperswil
+ *
+ * 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. See <http://www.fsf.org/copyleft/gpl.txt>.
+ *
+ * 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.
+ */
+
+#ifndef GLOBALS_H_
+#define GLOBALS_H_
+
+#include "send_queue.h"
+#include "job_queue.h"
+#include "event_queue.h"
+#include "socket.h"
+
+
+extern send_queue_t *global_send_queue;
+extern job_queue_t *global_job_queue;
+extern event_queue_t *global_event_queue;
+extern socket_t *global_socket;
+
+#endif /*GLOBALS_H_*/