diff options
| author | Simo Sorce <simo@redhat.com> | 2012-02-23 02:02:17 -0500 |
|---|---|---|
| committer | Simo Sorce <simo@redhat.com> | 2012-02-23 16:53:17 -0500 |
| commit | e56dff9fe3484e0cc89f8cb75c42fa485176c1f3 (patch) | |
| tree | c176219279eede4f40851cef8c4cb9a66de9d5fd /proxy/src/gp_conv.h | |
| parent | a22e23145f4679f64856862641ca300b57febaa1 (diff) | |
| download | gss-proxy-e56dff9fe3484e0cc89f8cb75c42fa485176c1f3.tar.gz gss-proxy-e56dff9fe3484e0cc89f8cb75c42fa485176c1f3.tar.xz gss-proxy-e56dff9fe3484e0cc89f8cb75c42fa485176c1f3.zip | |
server: better handle return status
Ticket #33
Diffstat (limited to 'proxy/src/gp_conv.h')
| -rw-r--r-- | proxy/src/gp_conv.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/proxy/src/gp_conv.h b/proxy/src/gp_conv.h index 3a8f952..4fb477b 100644 --- a/proxy/src/gp_conv.h +++ b/proxy/src/gp_conv.h @@ -55,9 +55,10 @@ gss_cred_usage_t gp_conv_gssx_to_cred_usage(gssx_cred_usage in); int gp_conv_err_to_gssx_string(uint32_t status, int type, gss_OID oid, utf8string *ret_str); -int gp_conv_name_to_gssx(gss_name_t in, gssx_name *out); -int gp_conv_name_to_gssx_alloc(gss_name_t in, gssx_name **out); -int gp_conv_gssx_to_name(gssx_name *in, gss_name_t *out); +uint32_t gp_conv_name_to_gssx(uint32_t *min, gss_name_t in, gssx_name *out); +uint32_t gp_conv_name_to_gssx_alloc(uint32_t *min, + gss_name_t in, gssx_name **out); +uint32_t gp_conv_gssx_to_name(uint32_t *min, gssx_name *in, gss_name_t *out); int gp_conv_ctx_id_to_gssx(gss_ctx_id_t *in, gssx_ctx *out); int gp_conv_gssx_to_ctx_id(gssx_ctx *in, gss_ctx_id_t *out); |
