libnx/nx/include/switch/applets/web.h
Samuel P 8360e561c5 Added WifiWebAuthApplet launching (#233)
* Added WifiWebAuthApplet launching
2019-01-18 20:00:34 -05:00

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);