NetSurf
Data Structures | Macros | Functions
login.cpp File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include <Alert.h>
#include <String.h>
#include <TextControl.h>
#include <View.h>
#include <Window.h>
#include "utils/log.h"
#include "utils/messages.h"
#include "utils/url.h"
#include "utils/utils.h"
#include "utils/nsurl.h"
#include "netsurf/content_type.h"
#include "netsurf/browser_window.h"
#include "netsurf/clipboard.h"
#include "beos/gui.h"
#include "beos/scaffolding.h"
#include "beos/window.h"
Include dependency graph for login.cpp:

Go to the source code of this file.

Data Structures

class  LoginAlert
 

Macros

#define __STDBOOL_H__   1
 
#define TC_H   25
 
#define TC_MARGIN   10
 

Functions

static void create_login_window (nsurl *host, lwc_string *realm, const char *fetchurl, nserror(*cb)(const char *username, const char *password, void *pw), void *cbpw)
 
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)
 

Macro Definition Documentation

◆ __STDBOOL_H__

#define __STDBOOL_H__   1

Definition at line 19 of file login.cpp.

◆ TC_H

#define TC_H   25

Definition at line 78 of file login.cpp.

◆ TC_MARGIN

#define TC_MARGIN   10

Definition at line 79 of file login.cpp.

Function Documentation

◆ create_login_window()

static void create_login_window ( nsurl host,
lwc_string *  realm,
const char *  fetchurl,
nserror(*)(const char *username, const char *password, void *pw)  cb,
void *  cbpw 
)
static

Definition at line 195 of file login.cpp.

References text().

Referenced by gui_401login_open().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ gui_401login_open()

nserror gui_401login_open ( nsurl url,
const char *  realm,
const char *  username,
const char *  password,
nserror(*)(const char *username, const char *password, void *pw)  cb,
void *  cbpw 
)

Definition at line 175 of file login.cpp.

References create_login_window(), NSERROR_OK, nsurl_get_component(), and NSURL_HOST.

Here is the call graph for this function: