summaryrefslogtreecommitdiff
path: root/include/namespace.h
diff options
context:
space:
mode:
authorvalmat <ufabiz@gmail.com>2014-04-09 12:00:33 +0600
committervalmat <ufabiz@gmail.com>2014-04-09 12:00:33 +0600
commit21ba3f0aae94206457327552666d75dd2cf0a8f2 (patch)
tree266b24a9d549189d4a20f1db45d8edc771e32fca /include/namespace.h
parent6c7c846edd5b74450b76532da33c25e6cc6a10a4 (diff)
Made compatible. Now works in the new structure of the library.
Diffstat (limited to 'include/namespace.h')
-rw-r--r--include/namespace.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/include/namespace.h b/include/namespace.h
index 25d4e5e..645eace 100644
--- a/include/namespace.h
+++ b/include/namespace.h
@@ -207,6 +207,15 @@ public:
// done
return result;
}
+
+ /**
+ * The total number of ini entries
+ * @return size_t
+ */
+ size_t ini_size()
+ {
+ return _ini_entries.size();
+ }
/**
* Apply a callback to each registered function
@@ -227,6 +236,14 @@ public:
* @param callback
*/
void apply(const std::function<void(const std::string &ns, ClassBase &clss)> &callback);
+
+ /**
+ * Filling ini entries into external zend_ini_entry array
+ * @param zend_ini_entry*
+ */
+ void fill_ini(_zend_ini_entry *ini_entries, int module_number);
+
+
};