1
0
mirror of https://github.com/stefanocasazza/ULib.git synced 2025-10-12 20:27:27 +08:00
ULib/examples/WiAuth/v2/wi_auth2.usp
stefanocasazza 1e58dc49d0 fix+sync
2018-04-27 19:27:14 +02:00

26 lines
715 B
Plaintext

<!--#declaration
static void usp_end_wi_auth2();
static void usp_init_wi_auth2();
static void usp_fork_wi_auth2();
#include "wi_auth_declaration2.h"
-->
<!--#code
static UHTTP::service_info GET_table[] = { // NB: the table must be ordered alphabetically for binary search...
GET_ENTRY(anagrafica),
GET_ENTRY(clean),
GET_ENTRY(get_config),
GET_ENTRY(start_ap),
GET_ENTRY(welcome)
};
static UHTTP::service_info POST_table[] = { // NB: the table must be ordered alphabetically for binary search...
POST_ENTRY(info),
POST_ENTRY(login),
POST_ENTRY(notify),
POST_ENTRY(strict_notify)
};
UHTTP::manageRequest(GET_table, U_NUM_ELEMENTS(GET_table), POST_table, U_NUM_ELEMENTS(POST_table));
-->