summaryrefslogtreecommitdiffstats
path: root/proxy/src/gp_utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'proxy/src/gp_utils.h')
-rw-r--r--proxy/src/gp_utils.h3
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);