mirror of
https://github.com/switchbrew/libnx.git
synced 2025-06-23 05:12:39 +02:00
29 lines
581 B
C
29 lines
581 B
C
/**
|
|
* @file web.h
|
|
* @brief Wrapper for using the WifiWebAuthApplet LibraryApplet.
|
|
* @author p-sam
|
|
* @copyright libnx Authors
|
|
*/
|
|
#pragma once
|
|
#include "../types.h"
|
|
#include "../services/applet.h"
|
|
|
|
typedef struct {
|
|
u8 unk_x0[0x4];
|
|
char url[0xFC];
|
|
} WebWifiPageArgUrl;
|
|
|
|
typedef struct {
|
|
WebWifiPageArgUrl url1;
|
|
WebWifiPageArgUrl url2;
|
|
u8 unk_x200[0x300];
|
|
u8 unk_x500[0x18];
|
|
} WebWifiPageArg;
|
|
|
|
typedef struct {
|
|
WebWifiPageArg arg;
|
|
} WebWifiConfig;
|
|
|
|
void webWifiCreate(WebWifiConfig* config, const char* url);
|
|
Result webWifiShow(WebWifiConfig* config);
|