blob: aa2ae2a0586b7bfc991bc946ad20d0a6772bf8f9 (
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
32
33
|
/*
* Ivy, C interface
*
* Copyright (C) 1997-2006
* 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
*/
/* Module de gestion de la syntaxe des messages Ivy */
typedef struct _binding *IvyBinding;
/* Mise en place des Filtrages */
void IvyBindingSetFilter( int argc, const char ** argv );
int IvyBindingFilter( const char *expression );
/* Creation, Compilation */
IvyBinding IvyBindingCompile( const char *expression, int *erroffset, const char **errmessage );
void IvyBindingFree( IvyBinding bind );
/* Execution , extraction */
int IvyBindingExec( IvyBinding bind, const char * message );
/* Get Argument */
void IvyBindingMatch( IvyBinding bind, const char *message, int argnum, int *arglen, const char **arg );
|