From c271c5a2383450c2a39e126ebef38d8dd2e2f8e6 Mon Sep 17 00:00:00 2001 From: fcolin Date: Wed, 10 Aug 2005 09:52:18 +0000 Subject: remplacement argc argv par IvyArgument --- src/ivybind.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/ivybind.h') diff --git a/src/ivybind.h b/src/ivybind.h index e5ed821..830079b 100644 --- a/src/ivybind.h +++ b/src/ivybind.h @@ -14,13 +14,17 @@ * 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; -IvyBinding IvyBindingCompile( const char * expression ); +typedef enum { IvyBindRegexp, IvyBindSimple } IvyBindingType; +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 ); -void IvyBindingGetMatch( IvyBinding bind, const char *message, int index, const char **arg, int *arglen ); \ No newline at end of file +IvyArgument IvyBindingMatch( IvyBinding bind, const char *message ); \ No newline at end of file -- cgit v1.1