diff options
-rw-r--r-- | proxy/src/gp_config.c | 4 | ||||
-rw-r--r-- | proxy/src/gp_proxy.h | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/proxy/src/gp_config.c b/proxy/src/gp_config.c index 0c0ba65..cc2889d 100644 --- a/proxy/src/gp_config.c +++ b/proxy/src/gp_config.c @@ -347,3 +347,7 @@ struct gp_config *read_config(char *config_file, int opt_daemonize) return cfg; } +struct gp_ring_buffer *gp_service_get_ring_buffer(struct gp_service *svc) +{ + return svc->ring_buffer; +} diff --git a/proxy/src/gp_proxy.h b/proxy/src/gp_proxy.h index c5d1f6f..ee93258 100644 --- a/proxy/src/gp_proxy.h +++ b/proxy/src/gp_proxy.h @@ -82,6 +82,7 @@ struct gp_conn; /* from gp_config.c */ struct gp_config *read_config(char *config_file, int opt_daemonize); +struct gp_ring_buffer *gp_service_get_ring_buffer(struct gp_service *svc); /* from gp_init.c */ void init_server(bool daemonize); |