diff options
Diffstat (limited to 'src/prog.h')
-rw-r--r-- | src/prog.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -81,6 +81,8 @@ struct prog }; #define IS_COMPONENT(p) ((p)->type == TYPE_COMPONENT) +#define IS_ACTIVE_COMPONENT(prog) \ + (IS_COMPONENT(prog) && !((prog)->v.p.comp->flags & CF_DISABLED)) struct prog *progman_locate (const char *name); int progman_foreach (int (*filter) (struct prog *, void *data), void *data); |