NetSurf
login.h
Go to the documentation of this file.
1 /*
2  * Copyright 2008 Chris Young <chris@unsatisfactorysoftware.co.uk>
3  *
4  * This file is part of NetSurf, http://www.netsurf-browser.org/
5  *
6  * NetSurf is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; version 2 of the License.
9  *
10  * NetSurf is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  * GNU General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License
16  * along with this program. If not, see <http://www.gnu.org/licenses/>.
17  */
18 
19 #ifndef AMIGA_LOGIN_H
20 #define AMIGA_LOGIN_H
21 
22 #include <stdbool.h>
23 
24 struct gui_login_window;
25 
27  const char *username, const char *password,
28  nserror (*cb)(const char *username,
29  const char *password,
30  void *pw),
31  void *cbpw);
32 #endif
33 
nserror gui_401login_open(nsurl *url, const char *realm, const char *username, const char *password, nserror(*cb)(const char *username, const char *password, void *pw), void *cbpw)
Open the login dialog.
Definition: login.c:96
nserror(* cb)(const char *username, const char *password, void *pw)
Definition: login.c:78
nserror
Enumeration of error codes.
Definition: errors.h:29
char * realm
Definition: login.c:81
void * cbpw
Definition: login.c:79
nsurl * url
Definition: login.c:80
struct nsurl nsurl
NetSurf URL object.
Definition: nsurl.h:31