diff options
| author | Simo Sorce <simo@redhat.com> | 2012-03-22 22:55:12 -0400 |
|---|---|---|
| committer | Simo Sorce <simo@redhat.com> | 2012-04-15 15:00:50 -0400 |
| commit | e4bf01cdb1f49b77f1baa6d0e4ba4f6ae24a0ef5 (patch) | |
| tree | 5603f2750d6382a6597882c86a8edbd3d13b2cfa /proxy/src/gp_export.h | |
| parent | 3639ccb6daceb3538f1d5ecd5eca97474990a104 (diff) | |
| download | gss-proxy-e4bf01cdb1f49b77f1baa6d0e4ba4f6ae24a0ef5.tar.gz gss-proxy-e4bf01cdb1f49b77f1baa6d0e4ba4f6ae24a0ef5.tar.xz gss-proxy-e4bf01cdb1f49b77f1baa6d0e4ba4f6ae24a0ef5.zip | |
gp_export: Add facility to export creds as gssx options
Add Initial test implementation of the Linux Kernel NFS creds structure.
Diffstat (limited to 'proxy/src/gp_export.h')
| -rw-r--r-- | proxy/src/gp_export.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/proxy/src/gp_export.h b/proxy/src/gp_export.h index 15a6780..91d904c 100644 --- a/proxy/src/gp_export.h +++ b/proxy/src/gp_export.h @@ -40,4 +40,11 @@ uint32_t gp_export_ctx_id_to_gssx(uint32_t *min, int type, uint32_t gp_import_gssx_to_ctx_id(uint32_t *min, int type, gssx_ctx *in, gss_ctx_id_t *out); +int gp_get_export_creds_type(struct gssx_call_ctx *ctx); +uint32_t gp_export_creds_to_gssx_options(uint32_t *min, int type, + gss_name_t src_name, + gss_const_OID mech_type, + unsigned int *opt_num, + gssx_option **opt_array); + #endif /* _GSS_EXPORT_H_ */ |
