summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/include/eiotas_iota.h2
-rw-r--r--src/lib/CMakeLists.txt2
-rw-r--r--src/lib/eiotas_link.c31
-rw-r--r--src/lib/eiotas_particle.c31
4 files changed, 65 insertions, 1 deletions
diff --git a/src/include/eiotas_iota.h b/src/include/eiotas_iota.h
index 4a01921..6e4a346 100644
--- a/src/include/eiotas_iota.h
+++ b/src/include/eiotas_iota.h
@@ -25,8 +25,8 @@ typedef enum _Eiotas_Type
{
EIOTAS_TYPE_SPIN=0,
EIOTAS_TYPE_ROOM,
- EIOTAS_TYPE_BOARD,
EIOTAS_TYPE_DOOR,
+ EIOTAS_TYPE_BOARD,
EIOTAS_TYPE_COUNT
} Eiotas_Type;
diff --git a/src/lib/CMakeLists.txt b/src/lib/CMakeLists.txt
index cf5d693..e2871fc 100644
--- a/src/lib/CMakeLists.txt
+++ b/src/lib/CMakeLists.txt
@@ -1,5 +1,7 @@
LIST(APPEND EIOTAS_CC_SOURCES
eiotas_main.c
+ eiotas_particle.c
+ eiotas_link.c
eiotas_iota.c
eiotas_spin.c
eiotas_room.c
diff --git a/src/lib/eiotas_link.c b/src/lib/eiotas_link.c
new file mode 100644
index 0000000..59d4326
--- /dev/null
+++ b/src/lib/eiotas_link.c
@@ -0,0 +1,31 @@
+/* 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/>.
+ */
+
+#ifdef HAVE_CONFIG_H
+# include "eina_config.h"
+#endif
+
+#include "eiotas_link.h"
+#include "eiotas_private.h"
+
+void eiotas_link_free(Eiotas_Link *link)
+{
+ DBG("Link free 0x%X",link);
+ // TODO
+}
+
diff --git a/src/lib/eiotas_particle.c b/src/lib/eiotas_particle.c
new file mode 100644
index 0000000..28ff6c0
--- /dev/null
+++ b/src/lib/eiotas_particle.c
@@ -0,0 +1,31 @@
+/* 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/>.
+ */
+
+#ifdef HAVE_CONFIG_H
+# include "eina_config.h"
+#endif
+
+#include "eiotas_particle.h"
+#include "eiotas_private.h"
+
+void eiotas_particle_free(Eiotas_Particle *particle)
+{
+ DBG("Particle free 0x%X",particle);
+ // TODO
+}
+