client: always log to stderr
[paraslash.git] / sched.h
diff --git a/sched.h b/sched.h
index 9855475d0a7311708306417a77fca071d238ef4c..632fddde19c62782aa89b5db9cc68e1f7c3b8e41 100644 (file)
--- a/sched.h
+++ b/sched.h
@@ -8,7 +8,6 @@ struct sched {
 
 struct task {
        void *private_data;
-       unsigned flags;
        int ret;
        void (*pre_select)(struct sched *s, struct task *t);
        void (*post_select)(struct sched *s, struct task *t);
@@ -18,12 +17,9 @@ struct task {
        char status[MAXLINE];
 };
 
-enum task_flags {
-       PRE_ADD_TAIL = 1,
-       POST_ADD_TAIL = 2,
-};
-
 void *register_task(struct task *t);
 void unregister_task(struct task *t);
 int sched(struct sched *s);
 void init_sched(void);
+char *get_task_list(void);
+int kill_task(char *id);