diff options
author | fcolin | 2005-08-10 09:52:18 +0000 |
---|---|---|
committer | fcolin | 2005-08-10 09:52:18 +0000 |
commit | c271c5a2383450c2a39e126ebef38d8dd2e2f8e6 (patch) | |
tree | 46eaf3e4a9fc79a47bfd9e8942cef981908f304f /src/ivybind.h | |
parent | b0954d7461dc709cd1a43097c260c8e8b0183cee (diff) | |
download | ivy-c-c271c5a2383450c2a39e126ebef38d8dd2e2f8e6.zip ivy-c-c271c5a2383450c2a39e126ebef38d8dd2e2f8e6.tar.gz ivy-c-c271c5a2383450c2a39e126ebef38d8dd2e2f8e6.tar.bz2 ivy-c-c271c5a2383450c2a39e126ebef38d8dd2e2f8e6.tar.xz |
remplacement argc argv par IvyArgument
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 |