37 #include "contiki-net.h"
38 #include "http-strings.h"
39 #include "http-user-agent-string.h"
44 struct webclient_state;
45 void webclient_datahandler(
char *data, uint16_t len);
46 void webclient_connected(
void);
47 void webclient_timedout(
void);
48 void webclient_aborted(
void);
49 void webclient_closed(
void);
53 void webclient_init(
void);
54 unsigned char webclient_get(
const char *host, uint16_t port,
const char *file);
55 void webclient_close(
void);
57 void webclient_appcall(
void *state);
60 char *webclient_mimetype(
void);
61 char *webclient_filename(
void);
62 char *webclient_hostname(
void);
63 unsigned short webclient_port(
void);