summaryrefslogtreecommitdiffstats
path: root/proxy/src/gp_conv.h
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2012-01-25 16:31:58 -0500
committerSimo Sorce <simo@redhat.com>2012-01-25 16:55:08 -0500
commit1f70f9d1361665fcd6b4fc01e23c2544b281421a (patch)
tree9461fd03227f7041180d64573513362a8416f6ec /proxy/src/gp_conv.h
parentb57763f33402edd9f6980afd02e2e1dd82fdebd2 (diff)
downloadgss-proxy-1f70f9d1361665fcd6b4fc01e23c2544b281421a.tar.gz
gss-proxy-1f70f9d1361665fcd6b4fc01e23c2544b281421a.tar.xz
gss-proxy-1f70f9d1361665fcd6b4fc01e23c2544b281421a.zip
Add helper to return status from rpc functions
Diffstat (limited to 'proxy/src/gp_conv.h')
-rw-r--r--proxy/src/gp_conv.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/proxy/src/gp_conv.h b/proxy/src/gp_conv.h
index e364df6..198a5c5 100644
--- a/proxy/src/gp_conv.h
+++ b/proxy/src/gp_conv.h
@@ -50,4 +50,8 @@ int gp_conv_name_to_gssx(gss_name_t in, gssx_name *out);
int gp_conv_ctx_id_to_gssx(gss_ctx_id_t *in, gssx_ctx *out);
+int gp_conv_status_to_gssx(struct gssx_call_ctx *call_ctx,
+ uint32_t ret_maj, uint32_t ret_min,
+ gss_OID mech, struct gssx_status *status);
+
#endif /* _GSS_CONV_H_ */