-
Notifications
You must be signed in to change notification settings - Fork 0
/
authipc.h
54 lines (44 loc) · 1.32 KB
/
authipc.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
/**************************************************************************
=======================
The Voyager Web Browser
=======================
Copyright (C) 1995-2001 by
Oliver Wagner <owagner@vapor.com>
All Rights Reserved
Parts Copyright (C) by
David Gerber <zapek@vapor.com>
Jon Bright <jon@siliconcircus.com>
Matt Sealey <neko@vapor.com>
**************************************************************************/
#ifndef VOYAGER_AUTHIPC_H
#define VOYAGER_AUTHIPC_H
/*
* $Id: authipc.h,v 1.8 2001/07/01 22:02:35 owagner Exp $
*/
/* doesn't really belong there, but well... */
struct authnode {
struct MinNode n;
char server[ 256 ]; // hostname
char realm[ 256 ]; // realm
char authdata[ 256 ]; // user+pass
char authuser[ 128 ]; // user
char authpass[ 128 ]; // password
int save; // save to disk ?
};
struct authmsg {
struct Message m;
int method;
int quitme;
char realm[ 256 ];
char server[ 256 ];
char authdata[ 80 ];
int failedalready;
int rc;
int ftpmode;
};
extern ULONG authportsigmask;
extern struct MsgPort *authport;
int auth_query( struct parsedurl *purl, char *server, char *realm, int failedalready, char *authdata, int ftpmode );
void auth_process( void );
int pauth_get( char *server, char *realm, char *authdata, int ftpmode );
#endif /* VOYAGER_AUTHIPC_H */