summaryrefslogtreecommitdiffstats
path: root/proxy/src/mechglue/gss_plugin.h
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2013-11-13 18:12:44 -0500
committerGünther Deschner <gdeschner@redhat.com>2013-11-19 14:04:03 +0100
commit122b35f7adf37bc81f6d53bb5f9e058b68334cbb (patch)
treed083147827f7e8e1369aa574c9744f2bd099e9d1 /proxy/src/mechglue/gss_plugin.h
parentcc538c36ca32850e0b3280b7d8524d23345eed9e (diff)
downloadgss-proxy-122b35f7adf37bc81f6d53bb5f9e058b68334cbb.tar.gz
gss-proxy-122b35f7adf37bc81f6d53bb5f9e058b68334cbb.tar.xz
gss-proxy-122b35f7adf37bc81f6d53bb5f9e058b68334cbb.zip
Add way to return regular oid from special
In some cases we need to pass on the corresponding real oid, after we are given a special oid. Add helper functions to do that. https://fedorahosted.org/gss-proxy/ticket/107 Reviewed-by: Günther Deschner <gdeschner@redhat.com>
Diffstat (limited to 'proxy/src/mechglue/gss_plugin.h')
-rw-r--r--proxy/src/mechglue/gss_plugin.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/proxy/src/mechglue/gss_plugin.h b/proxy/src/mechglue/gss_plugin.h
index 26e04c5..739ec26 100644
--- a/proxy/src/mechglue/gss_plugin.h
+++ b/proxy/src/mechglue/gss_plugin.h
@@ -78,6 +78,7 @@ gss_OID_set gss_mech_interposer(gss_OID mech_type);
enum gpp_behavior gpp_get_behavior(void);
bool gpp_is_special_oid(const gss_OID mech_type);
const gss_OID gpp_special_mech(const gss_OID mech_type);
+const gss_OID gpp_unspecial_mech(const gss_OID mech_type);
gss_OID_set gpp_special_available_mechs(const gss_OID_set mechs);
uint32_t gpp_map_error(uint32_t err);
uint32_t gpp_unmap_error(uint32_t err);