summaryrefslogtreecommitdiff
path: root/src/ivybind.h
diff options
context:
space:
mode:
authorfcolin2005-06-03 16:43:22 +0000
committerfcolin2005-06-03 16:43:22 +0000
commit2a38273b4212c38e66af99c8c3b6e9335dc64cb2 (patch)
tree9182a8158ac34d3636eec32da2996aca4044b6e3 /src/ivybind.h
parent5d37f485f4105ebc02541eaf8065ee1c67e20f23 (diff)
downloadivy-c-2a38273b4212c38e66af99c8c3b6e9335dc64cb2.zip
ivy-c-2a38273b4212c38e66af99c8c3b6e9335dc64cb2.tar.gz
ivy-c-2a38273b4212c38e66af99c8c3b6e9335dc64cb2.tar.bz2
ivy-c-2a38273b4212c38e66af99c8c3b6e9335dc64cb2.tar.xz
separation du code regexp dans un module a part
en vue de l'implementation des bindings simple!
Diffstat (limited to 'src/ivybind.h')
-rw-r--r--src/ivybind.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/ivybind.h b/src/ivybind.h
new file mode 100644
index 0000000..84468b8
--- /dev/null
+++ b/src/ivybind.h
@@ -0,0 +1,26 @@
+/*
+ * Ivy, C interface
+ *
+ * Copyright (C) 1997-2000
+ * Centre d'Études de la Navigation Aérienne
+ *
+ * Bind syntax for extracting message comtent
+ * using regexp or other
+ *
+ * Authors: François-Régis Colin <fcolin@cena.fr>
+ *
+ * $Id$
+ *
+ * Please refer to file version.h for the
+ * copyright notice regarding this software
+ */
+
+/* Module de gestion de la syntaxe des messages Ivy */
+
+typedef struct _binding *IvyBinding;
+
+IvyBinding IvyBindingCompile( const char * expression );
+void IvyBindingGetCompileError( int *erroffset, const char **errmessage );
+void IvyBindingFree( IvyBinding bind );
+int IvyBindExec( IvyBinding bind, const char * message );
+void IvyBindingGetMatch( IvyBinding bind, const char *message, int index, const char **arg, int *arglen ); \ No newline at end of file