diff options
Diffstat (limited to 'src/prog.h')
-rw-r--r-- | src/prog.h | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -23,9 +23,8 @@ enum prog_type enum prog_status { - status_enabled, /* Component enabled. prog->pid!=0 shows if it is - actually running */ - status_disabled, /* Component is disabled. */ + status_stopped, /* Component is stopped. */ + status_running, /* Component is running */ status_listener, /* Component is an inetd listener */ status_sleeping, /* Component is sleeping. An attempt to start it will be made at prog->v.p.timestamp + SLEEPTIME */ @@ -60,7 +59,7 @@ struct prog enum prog_status status; /* Current component status */ /* If status == status_listener: */ size_t num_instances; /* Number of running instances */ - /* If comp->type == pies_comp_inetd && status == status_enabled */ + /* If comp->type == pies_comp_inetd && status == status_running */ struct prog *listener; union pies_sockaddr_storage sa_storage; size_t sa_len; |