X-Git-Url: http://www.project-moonshot.org/gitweb/?p=shibboleth%2Fcpp-sp-resolver.git;a=blobdiff_plain;f=src%2Fshibresolver%2Fresolver.h;fp=src%2Fshibresolver%2Fresolver.h;h=ffbdc7c9806ce49b30107582391d0d9312655557;hp=7ae16342f883fafd26f7b555455d2d982b2f92b6;hb=445a260b0cf70a78490f9074ea6598571f5a6de5;hpb=4d852fa06fdc1f1488cd57732dc1d7c984b8b55e diff --git a/src/shibresolver/resolver.h b/src/shibresolver/resolver.h index 7ae1634..ffbdc7c 100644 --- a/src/shibresolver/resolver.h +++ b/src/shibresolver/resolver.h @@ -114,7 +114,17 @@ namespace shibresolver { * * @param ctx an input exported security context to evaluate */ - void addToken(gss_buffer_t token); + void addToken(const gss_buffer_t token); + +# ifndef SHIBRESOLVER_HAVE_GSSAPI_COMPOSITE_NAME + /** + * Adds a GSS-API mechanism name as input to the resolver. + *

The caller retains ownership of the name. + * + * @param name an input mechanism name to evaluate + */ + void addToken(gss_name_t name); +# endif #endif /**