aboutsummaryrefslogtreecommitdiff
path: root/src/pies.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pies.h')
-rw-r--r--src/pies.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/pies.h b/src/pies.h
index d9c1a3c..9ec1410 100644
--- a/src/pies.h
+++ b/src/pies.h
@@ -140,6 +140,8 @@ enum pies_comp_mode
#define CF_PRECIOUS 0x02 /* The component is precious (should not
be disabled) */
#define CF_WAIT 0x04
+#define CF_TCPMUX 0x08
+#define CF_TCPMUXPLUS 0x10
struct component
{
@@ -159,6 +161,7 @@ struct component
(inetd) */
int socket_type; /* Socket type */
struct inetd_builtin *builtin; /* Builtin function (inetd) */
+ char *service;
char *rmfile; /* Try to remove this file before starting */
struct pies_privs privs; /* UID/GIDS+groups to run under */
mode_t umask; /* Umask to install before starting */
@@ -205,6 +208,12 @@ int progman_accept (int socket);
int progman_build_depmap (void);
void progman_create_sockets (void);
struct component *progman_lookup_component (const char *tag);
+struct component *progman_lookup_service (const char *service);
+void progman_run_comp (struct component *comp, int fd);
+
+void progman_iterate_comp (int (*fun) (struct component *, void *),
+ void *data);
+
void log_setup (int want_stderr);
void signal_setup (RETSIGTYPE (*sf)(int));
@@ -232,6 +241,7 @@ int assert_grecs_value_type (grecs_locus_t *locus,
int str_to_socket_type (const char *str, int *pret);
struct component *component_create (const char *name);
+
void component_finish (struct component *comp, grecs_locus_t *locus);
struct grecs_keyword *find_component_keyword (const char *ident);

Return to:

Send suggestions and report system problems to the System administrator.