aboutsummaryrefslogtreecommitdiff
path: root/src/prog.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/prog.h')
-rw-r--r--src/prog.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/prog.h b/src/prog.h
index 8fddf97..9e55e56 100644
--- a/src/prog.h
+++ b/src/prog.h
@@ -82,5 +82,7 @@ struct prog
} v;
};
+#define IS_COMPONENT(p) ((p)->type == TYPE_COMPONENT)
+
void progman_foreach (int (*filter) (struct prog *, void *data), void *data);
void prog_stop (struct prog *prog, int sig);

Return to:

Send suggestions and report system problems to the System administrator.