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
committerGünther Deschner <gdeschner@redhat.com>2014-01-15 17:55:32 +0100
commitbd8ffcf67be8fdbe14bc49a65a8eafe904119d88 (patch)
treee67afcbe336c0775a4933024eb3986556aed43fc /proxy/src/gp_proxy.h
parent58a39677c961c72b052eae0b9d94b992254d6e10 (diff)
downloadgss-proxy-bd8ffcf67be8fdbe14bc49a65a8eafe904119d88.tar.gz
gss-proxy-bd8ffcf67be8fdbe14bc49a65a8eafe904119d88.tar.xz
gss-proxy-bd8ffcf67be8fdbe14bc49a65a8eafe904119d88.zip
Block parent process until child is initialized.
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> Reviewed-by: Günther Deschner <gdeschner@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);