summaryrefslogtreecommitdiff
path: root/src/ivybind.h
diff options
context:
space:
mode:
author(no author)2006-01-10 13:51:39 +0000
committer(no author)2006-01-10 13:51:39 +0000
commitd7960adb0c52a7abb2af932d1e7af98b980c8642 (patch)
tree7b995c5f5d12d102735a562364ca1a6ca50a29bc /src/ivybind.h
parentdeaa6a5ec82c1d158caf360fd12672f72d7dae5b (diff)
downloadivy-c-d7960adb0c52a7abb2af932d1e7af98b980c8642.zip
ivy-c-d7960adb0c52a7abb2af932d1e7af98b980c8642.tar.gz
ivy-c-d7960adb0c52a7abb2af932d1e7af98b980c8642.tar.bz2
ivy-c-d7960adb0c52a7abb2af932d1e7af98b980c8642.tar.xz
This commit was manufactured by cvs2svn to create branch 'protocol_v3'.
Diffstat (limited to 'src/ivybind.h')
-rw-r--r--src/ivybind.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/ivybind.h b/src/ivybind.h
new file mode 100644
index 0000000..9846d3f
--- /dev/null
+++ b/src/ivybind.h
@@ -0,0 +1,31 @@
+/*
+ * 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
+ */
+#include "ivyargument.h"
+
+/* Module de gestion de la syntaxe des messages Ivy */
+
+typedef struct _binding *IvyBinding;
+
+typedef enum { IvyBindRegexp, IvyBindSimple } IvyBindingType;
+void IvyBindingParseMessage( const char *msg );
+void IvyBindingSetFilter( int argc, const char ** argv );
+int IvyBindingFilter( IvyBindingType typ, int len, const char *exp );
+IvyBinding IvyBindingCompile( IvyBindingType typ, const char * expression );
+void IvyBindingGetCompileError( int *erroffset, const char **errmessage );
+void IvyBindingFree( IvyBinding bind );
+int IvyBindingExec( IvyBinding bind, const char * message );
+IvyArgument IvyBindingMatch( IvyBinding bind, const char *message );