nexmon – Blame information for rev 1

Subversion Repositories:
Rev:
Rev Author Line No. Line
1 office 1 /* source: xio-streams.h */
2 /* Copyright Gerhard Rieger 2008 */
3 /* Published under the GNU General Public License V.2, see file COPYING */
4  
5 /* when including this file select one part that you need by defining the
6 appropriate CPP define:
7  
8 (none): standard define, variable, and function declarations
9 ENABLE_OPTCODE: option codes for use in enum e_optcode
10 ENABLE_OFUNC: option functions for use in enum e_func
11 */
12  
13 #ifdef ENABLE_OPTCODE
14  
15 #if 0
16 enum { /* make syntax feature of editors cooperative */
17 #endif
18 OPT_STREAMS_I_POP_ALL, /* with POSIX STREAMS */
19 OPT_STREAMS_I_PUSH, /* with POSIX STREAMS */
20 #if 0
21 } ;
22 #endif
23  
24 #elif defined(ENABLE_OFUNC)
25  
26 #if 0
27 enum { /* make syntax feature of editors cooperative */
28 #endif
29 OFUNC_STREAMS_I_POP_ALL,
30 OFUNC_STREAMS_I_PUSH,
31 #if 0
32 } ;
33 #endif
34  
35 #else /* normal declarations */
36  
37 extern const struct optdesc opt_streams_i_pop_all;
38 extern const struct optdesc opt_streams_i_push;
39  
40 #endif