diff options
Diffstat (limited to 'src/ivybind.h')
-rw-r--r-- | src/ivybind.h | 8 |
1 files changed, 6 insertions, 2 deletions
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 |