blob: 8c3166e4a8e7eba92333676a1dedf5a1022cbfea (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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 );
|