summaryrefslogtreecommitdiffstats
path: root/src/include/eiotas_main.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/eiotas_main.h')
-rw-r--r--src/include/eiotas_main.h39
1 files changed, 39 insertions, 0 deletions
diff --git a/src/include/eiotas_main.h b/src/include/eiotas_main.h
new file mode 100644
index 0000000..d7ef48c
--- /dev/null
+++ b/src/include/eiotas_main.h
@@ -0,0 +1,39 @@
+/* EIOTAS
+ * Copyright (C) 2012 Jérémy Zurcher
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library 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
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library;
+ * if not, see <http://www.gnu.org/licenses/>.
+ */
+
+#ifndef __EIOTAS_MAIN_H__
+#define __EIOTAS_MAIN_H__
+
+#include <eina_types.h>
+
+typedef struct _Eiotas_Version
+{
+ int major; /**< Major component of the version */
+ int minor; /**< Minor component of the version */
+ int micro; /**< Micro component of the version */
+} Eiotas_Version;
+
+EAPI extern Eiotas_Version *eiotas_version;
+
+EAPI extern int _eiotas_log_dom;
+
+EAPI int eiotas_init();
+
+EAPI int eiotas_shutdown();
+
+#endif // __EIOTAS_MAIN_H__