aboutsummaryrefslogtreecommitdiffstats
path: root/extension/filefuncs.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2012-07-11 21:41:54 +0300
committerArnold D. Robbins <arnold@skeeve.com>2012-07-11 21:41:54 +0300
commit73533707616e119778993fe18540098239ecbb2e (patch)
treec9a9f98f65cd2248e0110be526d555a446ea4b8a /extension/filefuncs.c
parent6d1724214a95330b63a6a557f89fb9b40b4a521f (diff)
downloadegawk-73533707616e119778993fe18540098239ecbb2e.tar.gz
egawk-73533707616e119778993fe18540098239ecbb2e.tar.bz2
egawk-73533707616e119778993fe18540098239ecbb2e.zip
Add ability to call an initialization routine.
Diffstat (limited to 'extension/filefuncs.c')
-rw-r--r--extension/filefuncs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/extension/filefuncs.c b/extension/filefuncs.c
index 74af8b1b..71387cb3 100644
--- a/extension/filefuncs.c
+++ b/extension/filefuncs.c
@@ -44,6 +44,7 @@
static const gawk_api_t *api; /* for convenience macros to work */
static awk_ext_id_t *ext_id;
+static awk_bool_t (*init_func)(void) = NULL;
int plugin_is_GPL_compatible;