summaryrefslogtreecommitdiffstats
path: root/proxy/src/gp_utils.h
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2012-01-19 14:49:22 -0500
committerSimo Sorce <simo@redhat.com>2012-01-20 00:38:16 -0500
commit8e4d1ddfcd496a38aa5ea07b2d0d60f2833a98fa (patch)
treeded0026d15463ea8af68552cb16a57c39db23d69 /proxy/src/gp_utils.h
parent81090c3159fed8efd2184ebb7d0d9acf3c2914ff (diff)
downloadgss-proxy-8e4d1ddfcd496a38aa5ea07b2d0d60f2833a98fa.tar.gz
gss-proxy-8e4d1ddfcd496a38aa5ea07b2d0d60f2833a98fa.tar.xz
gss-proxy-8e4d1ddfcd496a38aa5ea07b2d0d60f2833a98fa.zip
Add rpc processing infrastructure
Diffstat (limited to 'proxy/src/gp_utils.h')
-rw-r--r--proxy/src/gp_utils.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/proxy/src/gp_utils.h b/proxy/src/gp_utils.h
index fb77cd7..37ad602 100644
--- a/proxy/src/gp_utils.h
+++ b/proxy/src/gp_utils.h
@@ -96,4 +96,12 @@ 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);
+/* max out at 1MB for now */
+#define MAX_RPC_SIZE 1024*1024
+
+/* from gp_rpc.c */
+int gp_rpc_process_call(struct gssproxy_ctx *gpctx,
+ uint8_t *inbuf, size_t inlen,
+ uint8_t **outbuf, size_t *outlen);
+
#endif /* _SRV_UTILS_H_ */