diff options
author | Simo Sorce <simo@redhat.com> | 2012-01-19 15:15:57 -0500 |
---|---|---|
committer | Simo Sorce <simo@redhat.com> | 2012-01-19 15:18:39 -0500 |
commit | cb1ab5633b112e083fa252712f8fc667373a93af (patch) | |
tree | 8ae368bfc8004b00605dd36d21824457aa7c04c0 /proxy/src/gp_utils.h | |
parent | 6ca28bbf8523713e34ed2a7378e21f23cf64e298 (diff) | |
download | gss-proxy-cb1ab5633b112e083fa252712f8fc667373a93af.tar.gz gss-proxy-cb1ab5633b112e083fa252712f8fc667373a93af.tar.xz gss-proxy-cb1ab5633b112e083fa252712f8fc667373a93af.zip |
Refactor workers init so we can pass down gpctx
Diffstat (limited to 'proxy/src/gp_utils.h')
-rw-r--r-- | proxy/src/gp_utils.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/proxy/src/gp_utils.h b/proxy/src/gp_utils.h index 38ca400..fb77cd7 100644 --- a/proxy/src/gp_utils.h +++ b/proxy/src/gp_utils.h @@ -70,6 +70,7 @@ struct gp_workers; struct gssproxy_ctx { struct gp_config *config; struct gp_workers *workers; + verto_ctx *vctx; }; struct gp_conn; @@ -90,7 +91,7 @@ void gp_socket_send_data(verto_ctx *vctx, struct gp_conn *conn, uint8_t *buffer, size_t buflen); /* from gp_workers.c */ -struct gp_workers *gp_workers_init(verto_ctx *vctx, struct gp_config *cfg); +int gp_workers_init(struct gssproxy_ctx *gpctx); void gp_workers_free(struct gp_workers *w); int gp_query_new(struct gp_workers *w, struct gp_conn *conn, uint8_t *buffer, size_t buflen); |