summaryrefslogtreecommitdiff
path: root/ssh-gss.h
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2005-01-04 13:07:27 +0000
committerColin Watson <cjwatson@debian.org>2005-01-04 13:07:27 +0000
commitfd0f611b70a83d80fe8793af785542ee5541b7cd (patch)
treebededd22bb7eeec52e20083237ab7e4113445a16 /ssh-gss.h
parentc44fe9a5b9d3db96a7249b04d915f17e4a3a3b04 (diff)
parentebd2ce335af5861020c79fddb1ae35c03bf036cf (diff)
Merge 3.9p1 to the trunk.
Diffstat (limited to 'ssh-gss.h')
-rw-r--r--ssh-gss.h40
1 files changed, 20 insertions, 20 deletions
diff --git a/ssh-gss.h b/ssh-gss.h
index 4f032aa8f..52fb49a6f 100644
--- a/ssh-gss.h
+++ b/ssh-gss.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssh-gss.h,v 1.4 2003/11/17 11:06:07 markus Exp $ */ 1/* $OpenBSD: ssh-gss.h,v 1.5 2004/06/21 17:36:31 avsm Exp $ */
2/* 2/*
3 * Copyright (c) 2001-2003 Simon Wilkinson. All rights reserved. 3 * Copyright (c) 2001-2003 Simon Wilkinson. All rights reserved.
4 * 4 *
@@ -100,31 +100,31 @@ typedef struct {
100 100
101extern ssh_gssapi_mech *supported_mechs[]; 101extern ssh_gssapi_mech *supported_mechs[];
102 102
103int ssh_gssapi_check_oid(Gssctxt *ctx, void *data, size_t len); 103int ssh_gssapi_check_oid(Gssctxt *, void *, size_t);
104void ssh_gssapi_set_oid_data(Gssctxt *ctx, void *data, size_t len); 104void ssh_gssapi_set_oid_data(Gssctxt *, void *, size_t);
105void ssh_gssapi_set_oid(Gssctxt *ctx, gss_OID oid); 105void ssh_gssapi_set_oid(Gssctxt *, gss_OID);
106void ssh_gssapi_supported_oids(gss_OID_set *oidset); 106void ssh_gssapi_supported_oids(gss_OID_set *);
107ssh_gssapi_mech *ssh_gssapi_get_ctype(Gssctxt *ctxt); 107ssh_gssapi_mech *ssh_gssapi_get_ctype(Gssctxt *);
108 108
109OM_uint32 ssh_gssapi_import_name(Gssctxt *ctx, const char *host); 109OM_uint32 ssh_gssapi_import_name(Gssctxt *, const char *);
110OM_uint32 ssh_gssapi_acquire_cred(Gssctxt *ctx); 110OM_uint32 ssh_gssapi_acquire_cred(Gssctxt *);
111OM_uint32 ssh_gssapi_init_ctx(Gssctxt *ctx, int deleg_creds, 111OM_uint32 ssh_gssapi_init_ctx(Gssctxt *, int,
112 gss_buffer_desc *recv_tok, gss_buffer_desc *send_tok, OM_uint32 *flags); 112 gss_buffer_desc *, gss_buffer_desc *, OM_uint32 *);
113OM_uint32 ssh_gssapi_accept_ctx(Gssctxt *ctx, 113OM_uint32 ssh_gssapi_accept_ctx(Gssctxt *,
114 gss_buffer_desc *recv_tok, gss_buffer_desc *send_tok, OM_uint32 *flags); 114 gss_buffer_desc *, gss_buffer_desc *, OM_uint32 *);
115OM_uint32 ssh_gssapi_getclient(Gssctxt *ctx, ssh_gssapi_client *); 115OM_uint32 ssh_gssapi_getclient(Gssctxt *, ssh_gssapi_client *);
116void ssh_gssapi_error(Gssctxt *ctx); 116void ssh_gssapi_error(Gssctxt *);
117char *ssh_gssapi_last_error(Gssctxt *ctxt, OM_uint32 *maj, OM_uint32 *min); 117char *ssh_gssapi_last_error(Gssctxt *, OM_uint32 *, OM_uint32 *);
118void ssh_gssapi_build_ctx(Gssctxt **ctx); 118void ssh_gssapi_build_ctx(Gssctxt **);
119void ssh_gssapi_delete_ctx(Gssctxt **ctx); 119void ssh_gssapi_delete_ctx(Gssctxt **);
120OM_uint32 ssh_gssapi_sign(Gssctxt *, gss_buffer_t, gss_buffer_t); 120OM_uint32 ssh_gssapi_sign(Gssctxt *, gss_buffer_t, gss_buffer_t);
121OM_uint32 ssh_gssapi_server_ctx(Gssctxt **ctx, gss_OID oid); 121OM_uint32 ssh_gssapi_server_ctx(Gssctxt **, gss_OID);
122void ssh_gssapi_buildmic(Buffer *, const char *, const char *, const char *); 122void ssh_gssapi_buildmic(Buffer *, const char *, const char *, const char *);
123 123
124/* In the server */ 124/* In the server */
125int ssh_gssapi_userok(char *name); 125int ssh_gssapi_userok(char *name);
126OM_uint32 ssh_gssapi_checkmic(Gssctxt *, gss_buffer_t, gss_buffer_t); 126OM_uint32 ssh_gssapi_checkmic(Gssctxt *, gss_buffer_t, gss_buffer_t);
127void ssh_gssapi_do_child(char ***envp, u_int *envsizep); 127void ssh_gssapi_do_child(char ***, u_int *);
128void ssh_gssapi_cleanup_creds(void); 128void ssh_gssapi_cleanup_creds(void);
129void ssh_gssapi_storecreds(void); 129void ssh_gssapi_storecreds(void);
130 130