#include <stddef.h>
#include <stdio.h>
#include <stdlib.h>
#include <ether.h>
#include <ipv4.h>
#include <http.h>
#include <network.h>
#include <nvram.h>
#include <string.h>
int outputConfig |
( |
device * |
devptr, |
|
|
int |
flashSuccess |
|
) |
| |
Finalize the configuration page and output it to the HTTP device.
- Parameters
-
devptr | pointer to the current device for httpWrite calls |
int postConfig |
( |
struct http * |
webptr | ) |
|
Interpret ond act on an HTTP POST request of the config.html page.
- Parameters
-
webptr | pointer to the HTTP device |
int setupConfig |
( |
struct http * |
webptr | ) |
|
Acquire memory for various configuration char pointers in structure.
- Parameters
-
webptr | pointer to the HTTP device |
- Returns
- OK if allocation went properly, otherwise SYSERR