diff options
author | Simo Sorce <simo@redhat.com> | 2012-05-17 00:43:55 -0400 |
---|---|---|
committer | Simo Sorce <simo@redhat.com> | 2012-08-28 08:25:51 +0200 |
commit | db54e7aed0c92b8daade55e70c93e3c0818a8c92 (patch) | |
tree | e081fa1664e9f816608fc8fe25fd3e316c88efd2 /proxy/src/mechglue/gss_plugin.h | |
parent | 15eaac4d079d3f9a7c393176a46b9c7d7674f2ac (diff) | |
download | gss-proxy-db54e7aed0c92b8daade55e70c93e3c0818a8c92.tar.gz gss-proxy-db54e7aed0c92b8daade55e70c93e3c0818a8c92.tar.xz gss-proxy-db54e7aed0c92b8daade55e70c93e3c0818a8c92.zip |
Add initialization code
For now return fixed list of mechanisms.
Later on we can try to fetch this list from the proxy.
Also split RPC client code from actual plugin
Diffstat (limited to 'proxy/src/mechglue/gss_plugin.h')
-rw-r--r-- | proxy/src/mechglue/gss_plugin.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/proxy/src/mechglue/gss_plugin.h b/proxy/src/mechglue/gss_plugin.h new file mode 100644 index 0000000..51dbfc2 --- /dev/null +++ b/proxy/src/mechglue/gss_plugin.h @@ -0,0 +1,35 @@ +/* + GSS-PROXY + + Copyright (C) 2012 Red Hat, Inc. + Copyright (C) 2012 Simo Sorce <simo.sorce@redhat.com> + + Permission is hereby granted, free of charge, to any person obtaining a + copy of this software and associated documentation files (the "Software"), + to deal in the Software without restriction, including without limitation + the rights to use, copy, modify, merge, publish, distribute, sublicense, + and/or sell copies of the Software, and to permit persons to whom the + Software is furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL + THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + DEALINGS IN THE SOFTWARE. +*/ + +#ifndef _GGS_PLUGIN_H_ +#define _GGS_PLUGIN_H_ + +#include "src/client/gssapi_gpm.h" + +extern const gss_OID_desc gssproxy_mech_interposer; + +gss_OID_set gss_mech_interposer(gss_OID mech_type); + +#endif /* _GGS_PLUGIN_H_ */ |