fix possible crash on user deletion
[srvx.git] / rx / rxcontext.h
1 /* classes: h_files */
2
3 #ifndef RXCONTEXTH
4 #define RXCONTEXTH
5 /*      Copyright (C) 1995, 1996 Tom Lord
6  * 
7  * This program is free software; you can redistribute it and/or modify
8  * it under the terms of the GNU Library General Public License as published by
9  * the Free Software Foundation; either version 2, or (at your option)
10  * any later version.
11  * 
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15  * GNU Library General Public License for more details.
16  * 
17  * You should have received a copy of the GNU Library General Public License
18  * along with this software; see the file COPYING.  If not, write to
19  * the Free Software Foundation, 59 Temple Place - Suite 330, 
20  * Boston, MA 02111-1307, USA. 
21  */
22
23 \f
24
25 struct rx_context_rules
26 {
27   unsigned int newline_anchor:1;/* If true, an anchor at a newline matches.*/
28   unsigned int not_bol:1;       /* If set, the anchors ('^' and '$') don't */
29   unsigned int not_eol:1;       /*     match at the ends of the string.  */
30   unsigned int case_indep:1;
31 };
32
33 \f
34 #ifdef __STDC__
35
36 #else /* STDC */
37
38 #endif /* STDC */
39
40
41 #endif  /* RXCONTEXTH */