From 2a38273b4212c38e66af99c8c3b6e9335dc64cb2 Mon Sep 17 00:00:00 2001 From: fcolin Date: Fri, 3 Jun 2005 16:43:22 +0000 Subject: separation du code regexp dans un module a part en vue de l'implementation des bindings simple! --- src/ivybind.h | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 src/ivybind.h (limited to 'src/ivybind.h') 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 + * + * $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 -- cgit v1.1