NetSurf
frontends
windows
login.h
Go to the documentation of this file.
1
/*
2
* Copyright 2018 Vincent Sanders <vince@netsurf-browser.org>
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
/**
20
* \file
21
* Basic authentication login interfaces.
22
*/
23
24
#ifndef NSW32_LOGIN_H
25
#define NSW32_LOGIN_H
26
27
/**
28
* login window request.
29
*/
30
extern
nserror
nsw32_401login
(
nsurl
*
url
,
31
const
char
*
realm
,
32
const
char
*username,
33
const
char
*password,
34
nserror
(*
cb
)(
const
char
*username,
35
const
char
*password,
36
void
*cbctx),
37
void
*cbctx);
38
39
#endif
gui_login_window::cb
nserror(* cb)(const char *username, const char *password, void *pw)
Definition:
login.c:78
nserror
nserror
Enumeration of error codes.
Definition:
errors.h:29
gui_login_window::realm
char * realm
Definition:
login.c:81
gui_login_window::url
nsurl * url
Definition:
login.c:80
nsw32_401login
nserror nsw32_401login(nsurl *url, const char *realm, const char *username, const char *password, nserror(*cb)(const char *username, const char *password, void *cbctx), void *cbctx)
login window request.
Definition:
login.c:250
nsurl
struct nsurl nsurl
NetSurf URL object.
Definition:
nsurl.h:31
Generated on Mon Aug 12 2019 22:01:50 for NetSurf by
1.8.13