diff options
author | Simo Sorce <simo@redhat.com> | 2012-02-23 17:57:58 -0500 |
---|---|---|
committer | Simo Sorce <simo@redhat.com> | 2012-04-05 11:20:33 -0400 |
commit | 34d8ca04e148263ffd4860718652eb474087f848 (patch) | |
tree | 10af3408150ec6dc1515d88f94c63afccec3245d /proxy/src/gp_proxy.h | |
parent | 99d24402236ab621f8c03fdba49e7a75e38263a5 (diff) | |
download | gss-proxy-34d8ca04e148263ffd4860718652eb474087f848.tar.gz gss-proxy-34d8ca04e148263ffd4860718652eb474087f848.tar.xz gss-proxy-34d8ca04e148263ffd4860718652eb474087f848.zip |
creds: add code to import krb5 credentials based on configuration.
Diffstat (limited to 'proxy/src/gp_proxy.h')
-rw-r--r-- | proxy/src/gp_proxy.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/proxy/src/gp_proxy.h b/proxy/src/gp_proxy.h index cebde03..bffcac1 100644 --- a/proxy/src/gp_proxy.h +++ b/proxy/src/gp_proxy.h @@ -85,6 +85,7 @@ void accept_sock_conn(verto_ctx *vctx, verto_ev *ev); void gp_conn_free(struct gp_conn *conn); void gp_socket_send_data(verto_ctx *vctx, struct gp_conn *conn, uint8_t *buffer, size_t buflen); +struct gp_creds *gp_conn_get_creds(struct gp_conn *conn); /* from gp_workers.c */ int gp_workers_init(struct gssproxy_ctx *gpctx); @@ -94,7 +95,12 @@ int gp_query_new(struct gp_workers *w, struct gp_conn *conn, /* from gp_rpc.c */ int gp_rpc_process_call(struct gssproxy_ctx *gpctx, + struct gp_service *gpsvc, uint8_t *inbuf, size_t inlen, uint8_t **outbuf, size_t *outlen); +/* from gp_creds.c */ +struct gp_service *gp_creds_match_conn(struct gssproxy_ctx *gpctx, + struct gp_conn *conn); + #endif /* _GP_PROXY_H_ */ |