NetSurf
401login.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#ifndef NS_MONKEY_401LOGIN_H
20#define NS_MONKEY_401LOGIN_H
21
22#include "utils/errors.h"
23
24struct nsurl;
25
27 const char *realm,
28 const char *username,
29 const char *password,
30 nserror (*cb)(struct nsurl *url,
31 const char *realm,
32 const char *username,
33 const char *password,
34 void *pw),
35 void *cbpw);
36
37void monkey_login_handle_command(int argc, char **argv);
38
39#endif
void monkey_login_handle_command(int argc, char **argv)
Definition: 401login.c:207
nserror gui_401login_open(struct nsurl *url, const char *realm, const char *username, const char *password, nserror(*cb)(struct nsurl *url, const char *realm, const char *username, const char *password, void *pw), void *cbpw)
Definition: 401login.c:46
Error codes.
nserror
Enumeration of error codes.
Definition: errors.h:29
struct nsurl nsurl
NetSurf URL object.
Definition: nsurl.h:31