cvsimport
[fvwm.git] / fvwm / condrc.h
blob98e30923a4ce245f8b6fd7cf396fe64d7b35b50f
1 /* -*-c-*- */
3 #ifndef CONDRC_H
4 #define CONDRC_H
6 /* ---------------------------- included header files ---------------------- */
8 /* ---------------------------- global definitions ------------------------- */
10 /* ---------------------------- global macros ------------------------------ */
12 /* ---------------------------- type definitions --------------------------- */
14 typedef enum
16 COND_RC_BREAK = -2,
17 COND_RC_ERROR = -1,
18 COND_RC_NO_MATCH = 0,
19 COND_RC_OK = 1
20 } cond_rc_enum;
22 typedef struct
24 cond_rc_enum rc;
25 int break_levels;
26 } cond_rc_t;
28 /* ---------------------------- forward declarations ----------------------- */
30 /* ---------------------------- exported variables (globals) --------------- */
32 /* ---------------------------- interface functions ------------------------ */
34 void condrc_init(cond_rc_t *cond_rc);
36 #endif /* CONDRC_H */