]> git.decadent.org.uk Git - nfs-utils.git/blobdiff - utils/gssd/gss_util.h
Imported upstream 1.2.8
[nfs-utils.git] / utils / gssd / gss_util.h
index 9e480ac4f1c24d78389726b58a1881b4f224f012..c81fc5a98d5fbe0864b1c1b172e3cd5c28ed6800 100644 (file)
 
 extern gss_cred_id_t   gssd_creds;
 
-int gssd_acquire_cred(char *server_name);
+int gssd_acquire_cred(char *server_name, const gss_OID oid);
 void pgsserr(char *msg, u_int32_t maj_stat, u_int32_t min_stat,
        const gss_OID mech);
+int gssd_check_mechs(void);
+
+#ifndef HAVE_LIBGSSGLUE
+#include <gssapi/gssapi_krb5.h>
+#define gss_free_lucid_sec_context(min, ctx, ret) \
+               gss_krb5_free_lucid_sec_context(min, ret)
+
+#define gss_export_lucid_sec_context gss_krb5_export_lucid_sec_context
+#define gss_set_allowable_enctypes(min, cred, oid, num, types) \
+               gss_krb5_set_allowable_enctypes(min, cred, num, types)
+#endif
+
+extern int avoid_dns;
 
 #endif /* _GSS_UTIL_H_ */