summaryrefslogtreecommitdiffstats
path: root/proxy/src/gp_proxy.h
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2014-01-03 12:10:36 -0500
committerSimo Sorce <simo@redhat.com>2014-01-04 10:26:53 -0500
commit393570b45816b690cb16fd1286d0705142ef2d62 (patch)
treef2d5bcd95c4ddc062f6ff30e28e8b59a9d51701a /proxy/src/gp_proxy.h
parent8f9db4fcd44df680029ed5a493cda7cdcd9c91ee (diff)
downloadgss-proxy-usermode.tar.gz
gss-proxy-usermode.tar.xz
gss-proxy-usermode.zip
Block parent process until child is initialized.usermode
This way the init system will not proceed starting dependencies until gssproxy is actually ready to serve requests. In particular this is used to make sure the nfsd proc file has been touched before the nfsd server is started. Resolves: https://fedorahosted.org/gss-proxy/ticket/114 Signed-off-by: Simo Sorce <simo@redhat.com>
Diffstat (limited to 'proxy/src/gp_proxy.h')
-rw-r--r--proxy/src/gp_proxy.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/proxy/src/gp_proxy.h b/proxy/src/gp_proxy.h
index 733fec5..79bebb8 100644
--- a/proxy/src/gp_proxy.h
+++ b/proxy/src/gp_proxy.h
@@ -106,7 +106,8 @@ struct gp_creds_handle *gp_service_get_creds_handle(struct gp_service *svc);
void free_config(struct gp_config **config);
/* from gp_init.c */
-void init_server(bool daemonize);
+void init_server(bool daemonize, int *wait_fd);
+void init_done(int wait_fd);
void fini_server(void);
verto_ctx *init_event_loop(void);
void init_proc_nfsd(struct gp_config *cfg);