summaryrefslogtreecommitdiff
path: root/src/entry.cpp
diff options
context:
space:
mode:
authorEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2013-08-24 17:38:05 +0200
committerEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2013-08-24 17:38:05 +0200
commitfe3c7fdf52e4bfd6e736a54c20eb12bb5cfd1f30 (patch)
treea25dfc32c8cf6f76fdf4071c1af66e68f7ee0512 /src/entry.cpp
parent308d4970599cc5e5f637cbd354498dd88c8eb3c2 (diff)
initial setup for library
Diffstat (limited to 'src/entry.cpp')
-rw-r--r--src/entry.cpp24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/entry.cpp b/src/entry.cpp
new file mode 100644
index 0000000..66fa244
--- /dev/null
+++ b/src/entry.cpp
@@ -0,0 +1,24 @@
+/**
+ * Entry.cpp
+ *
+ * The kickstart function that loads the library. When PHP loads an extension,
+ * if runs a dlopen() call to open the .so file, and the it locates the
+ * get_module()' function - which it then calls.
+ *
+ * In this file we have implemented this function.
+ *
+ * @author Emiel Bruijntjes <emiel.bruijntjes@copernica.com>
+ * @documentation private
+ */
+#include "includes.h"
+
+/**
+ * The get_entry function
+ * @return zend_module_entry_t
+ */
+DLL_EXPORT zend_module_entry_t *get_entry()
+{
+
+
+}
+