77 #define MAX_AUTH_BYTES 400 78 #define MAXNETNAMELEN 255 91 #ifdef _SYSCALL32_IMPL 112 #ifdef _SYSCALL32_IMPL 113 struct des_clnt_data32 {
114 struct netbuf32 syncaddr;
127 typedef struct krb4_svc_data {
131 typedef struct krb4_svc_data des_svcdata_t;
137 #define AUTH_F_RPCTIMESYNC 0x001 138 #define AUTH_F_TRYNONE 0x002 163 AUTH_KERB_GENERIC = 8,
237 #define AUTH_NEXTVERF(auth) \ 238 ((*((auth)->ah_ops->ah_nextverf))(auth)) 239 #define auth_nextverf(auth) \ 240 ((*((auth)->ah_ops->ah_nextverf))(auth)) 242 #define AUTH_MARSHALL(auth, xdrs, seq) \ 243 ((*((auth)->ah_ops->ah_marshal))(auth, xdrs, seq)) 244 #define auth_marshall(auth, xdrs, seq) \ 245 ((*((auth)->ah_ops->ah_marshal))(auth, xdrs)) 247 #define AUTH_VALIDATE(auth, verfp, seq) \ 248 ((*((auth)->ah_ops->ah_validate))((auth), verfp, seq)) 249 #define auth_validate(auth, verfp, seq) \ 250 ((*((auth)->ah_ops->ah_validate))((auth), verfp, seq)) 252 #define AUTH_REFRESH(auth, msg) \ 253 ((*((auth)->ah_ops->ah_refresh))(auth, msg)) 254 #define auth_refresh(auth, msg) \ 255 ((*((auth)->ah_ops->ah_refresh))(auth, msg)) 257 #define AUTH_DESTROY(auth) \ 258 ((*((auth)->ah_ops->ah_destroy))(auth)) 259 #define auth_destroy(auth) \ 260 ((*((auth)->ah_ops->ah_destroy))(auth)) 262 #define AUTH_WRAP(auth, xdrs, xfunc, xwhere) \ 263 ((*((auth)->ah_ops->ah_wrap))(auth, xdrs, \ 265 #define auth_wrap(auth, xdrs, xfunc, xwhere) \ 266 ((*((auth)->ah_ops->ah_wrap))(auth, xdrs, \ 269 #define AUTH_UNWRAP(auth, xdrs, xfunc, xwhere, seq) \ 270 ((*((auth)->ah_ops->ah_unwrap))(auth, xdrs, \ 272 #define auth_unwrap(auth, xdrs, xfunc, xwhere, seq) \ 273 ((*((auth)->ah_ops->ah_unwrap))(auth, xdrs, \ 323 #define authsys_create(c,i1,i2,i3,ip) authunix_create((c),(i1),(i2),(i3),(ip)) 324 #define authsys_create_default() authunix_create_default() 331 extern int host2netname(
char *,
const char *,
const char *);
372 extern AUTH *authkerb_seccreate(
const char *,
const char *,
const char *,
373 const u_int,
const char *,
int *);
388 extern int authkerb_getucred(
404 #define AUTH_UNIX AUTH_SYS 407 #define AUTH_DES AUTH_DH int getsecretkey(char *, char *, char *)
int user2netname(char *, const uid_t, const char *)
__BEGIN_DECLS AUTH * authunix_create(char *, uid_t, uid_t, int, uid_t *)
struct png_info_def **typedef void(__cdecl typeof(png_destroy_read_struct))(struct png_struct_def **
int getpublicandprivatekey(char *, char *)
int key_setsecret(const char *)
AUTH * authunix_create_default(void)
__END_DECLS __BEGIN_DECLS int getpublickey(const char *, char *)
int netname2host(char *, char *, const int)
enum auth_stat _svcauth_unix(struct svc_req *, struct rpc_msg *)
__BEGIN_DECLS bool_t xdr_des_block(XDR *, des_block *)
AUTH * authdes_seccreate(const char *, const u_int, const char *, const des_block *)
int(* ah_validate)(struct __auth *, struct opaque_auth *, u_int)
__END_DECLS int authany_unwrap(void)
int(* ah_unwrap)(struct __auth *, XDR *, xdrproc_t, caddr_t, u_int)
bool_t(* xdrproc_t)(XDR *,...)
int key_secretkey_is_set(void)
__BEGIN_DECLS int getnetname(char *)
int key_gendes(des_block *)
int(* ah_refresh)(struct __auth *, void *)
int host2netname(char *, const char *, const char *)
struct sec_data sec_data_t
__END_DECLS __BEGIN_DECLS AUTH * authdes_create(char *, u_int, struct sockaddr *, des_block *)
struct opaque_auth ah_verf
enum auth_stat _svcauth_null(struct svc_req *, struct rpc_msg *)
enum auth_stat _svcauth_short(struct svc_req *, struct rpc_msg *)
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
int(* ah_marshal)(struct __auth *, XDR *, u_int *)
int(* ah_wrap)(struct __auth *, XDR *, xdrproc_t, caddr_t)
__END_DECLS __BEGIN_DECLS int key_decryptsession(const char *, des_block *)
__END_DECLS __BEGIN_DECLS bool_t xdr_opaque_auth(XDR *, struct opaque_auth *)
struct des_block::@184 key
struct knetconfig * knconf
void(* ah_nextverf)(struct __auth *)
void passwd2des(char *, char *)
static IHTMLWindow2 * window
__END_DECLS int authany_wrap(void)
struct __auth::auth_ops * ah_ops
int key_encryptsession(const char *, des_block *)
AUTH * authnone_create(void)
__BEGIN_DECLS struct opaque_auth _null_auth
struct opaque_auth ah_cred
struct des_clnt_data dh_k4_clntdata_t
void(* ah_destroy)(struct __auth *)
int netname2user(char *, uid_t *, gid_t *, int *, gid_t *)
unsigned int(__cdecl typeof(jpeg_read_scanlines))(struct jpeg_decompress_struct *