aboutsummaryrefslogtreecommitdiff
path: root/src/pies.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pies.h')
-rw-r--r--src/pies.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/pies.h b/src/pies.h
index e387a56..5ba6ca7 100644
--- a/src/pies.h
+++ b/src/pies.h
@@ -153,7 +153,10 @@ struct component
gl_list_t prereq; /* Prerequisites */
gl_list_t depend; /* Dependency targets */
int flags; /* CF_ bitmask */
- size_t max_instances; /* Maximum number of running instances */
+ size_t max_instances; /* Maximum number of simultaneously running
+ instances (inetd) */
+ size_t max_rate; /* Maximum number of invocations per minute
+ (inetd) */
int socket_type; /* Socket type */
char *rmfile; /* Try to remove this file before starting */
struct pies_privs privs; /* UID/GIDS+groups to run under */
@@ -184,6 +187,7 @@ extern char *mailer_program;
extern char *mailer_command_line;
extern int mailer_argc;
extern char **mailer_argv;
+extern size_t default_max_rate;
void register_prog (struct component *comp);
size_t progman_running_count (void);

Return to:

Send suggestions and report system problems to the System administrator.