summaryrefslogtreecommitdiffstats
path: root/proxy/src/mechglue/gss_plugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'proxy/src/mechglue/gss_plugin.h')
-rw-r--r--proxy/src/mechglue/gss_plugin.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/proxy/src/mechglue/gss_plugin.h b/proxy/src/mechglue/gss_plugin.h
index 2d768c0..12a62e5 100644
--- a/proxy/src/mechglue/gss_plugin.h
+++ b/proxy/src/mechglue/gss_plugin.h
@@ -38,6 +38,11 @@ struct gpp_context_handle {
gss_ctx_id_t local;
};
+struct gpp_name_handle {
+ gssx_name *remote;
+ gss_name_t local;
+};
+
extern const gss_OID_desc gssproxy_mech_interposer;
enum gpp_behavior {
@@ -56,5 +61,9 @@ uint32_t gpp_map_error(uint32_t err);
uint32_t gpp_unmap_error(uint32_t err);
uint32_t gpp_remote_to_local_ctx(uint32_t *minor, gssx_ctx **remote_ctx,
gss_ctx_id_t *local_ctx);
+uint32_t gpp_name_to_local(uint32_t *minor, gssx_name *name,
+ gss_OID mech_type, gss_name_t *mech_name);
+uint32_t gpp_local_to_name(uint32_t *minor,
+ gss_name_t local_name, gssx_name **name);
#endif /* _GGS_PLUGIN_H_ */