aboutsummaryrefslogtreecommitdiff
path: root/src/prog.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/prog.h')
-rw-r--r--src/prog.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/prog.h b/src/prog.h
index 2dc8591..1db2eee 100644
--- a/src/prog.h
+++ b/src/prog.h
@@ -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;

Return to:

Send suggestions and report system problems to the System administrator.