1 /* source: xio-streams.h */
2 /* Copyright Gerhard Rieger 2008 */
3 /* Published under the GNU General Public License V.2, see file COPYING */
5 /* when including this file select one part that you need by defining the
6 appropriate CPP define:
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
16 enum { /* make syntax feature of editors cooperative */
18 OPT_STREAMS_I_POP_ALL
, /* with POSIX STREAMS */
19 OPT_STREAMS_I_PUSH
, /* with POSIX STREAMS */
24 #elif defined(ENABLE_OFUNC)
27 enum { /* make syntax feature of editors cooperative */
29 OFUNC_STREAMS_I_POP_ALL
,
35 #else /* normal declarations */
37 extern const struct optdesc opt_streams_i_pop_all
;
38 extern const struct optdesc opt_streams_i_push
;