summaryrefslogtreecommitdiffstats
path: root/proxy/src/mechglue/gss_plugin.h
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2012-05-17 00:31:14 -0400
committerSimo Sorce <simo@redhat.com>2012-08-28 08:25:51 +0200
commitca0ff11fc945f15860086f6c2f76dfb1556018fa (patch)
tree3daa8324aeac6ddebac24a3d66dfa89aa54c42b8 /proxy/src/mechglue/gss_plugin.h
parentdad1d6295a8d2e04ab283593a18f0a3c5e4f52df (diff)
downloadgss-proxy-ca0ff11fc945f15860086f6c2f76dfb1556018fa.tar.gz
gss-proxy-ca0ff11fc945f15860086f6c2f76dfb1556018fa.tar.xz
gss-proxy-ca0ff11fc945f15860086f6c2f76dfb1556018fa.zip
Add function to return a special mech
When the interposer wants to call the mechglue and have it call a real mechanism it does so by providing a speecial mechanism oid. This is an oid composed of the procy plugin oid and the real mechanism oid that the mechglue transforms back into a real OID before selecting the appropriate mechanism.
Diffstat (limited to 'proxy/src/mechglue/gss_plugin.h')
-rw-r--r--proxy/src/mechglue/gss_plugin.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/proxy/src/mechglue/gss_plugin.h b/proxy/src/mechglue/gss_plugin.h
index d44cee6..a45d217 100644
--- a/proxy/src/mechglue/gss_plugin.h
+++ b/proxy/src/mechglue/gss_plugin.h
@@ -40,5 +40,7 @@ enum gpp_behavior {
gss_OID_set gss_mech_interposer(gss_OID mech_type);
enum gpp_behavior gpp_get_behavior(void);
+const gss_OID gpp_special_mech(const gss_OID mech_type);
+gss_OID_set gpp_special_available_mechs(const gss_OID_set mechs);
#endif /* _GGS_PLUGIN_H_ */