OpenWSN Firmware
Main Page
Modules
Data Structures
Files
File List
Globals
ohlone_webpages.h
Go to the documentation of this file.
1
7
#ifndef __OHLONEWEBPAGES_H
8
#define __OHLONEWEBPAGES_H
9
10
//=========================== define ==========================================
11
12
#define HTTP_LINE(str) { \
13
if (chunk == ++current_line) { \
14
memcpy(packet, str, sizeof(str)-1); \
15
len = sizeof(str)-1; \
16
} \
17
}
18
19
#define HTTP_LINE_REPLACE16(offset, value) { \
20
if (chunk == current_line) \
21
ohlone_line_replace16(packet+offset, value); \
22
}
23
24
//=========================== typedef =========================================
25
26
//=========================== variables =======================================
27
28
//=========================== prototypes ======================================
29
30
void
ohlone_webpages_init
(
void
);
31
uint8_t
ohlone_webpage
(uint8_t *getRequest, uint16_t chunk, uint8_t *packet);
32
33
#endif
ohlone_webpage
uint8_t ohlone_webpage(uint8_t *getRequest, uint16_t chunk, uint8_t *packet)
Definition:
ohlone_webpages.c:39
ohlone_webpages_init
void ohlone_webpages_init(void)
Definition:
ohlone_webpages.c:28
firmware
openos
openwsn
07-App
ohlone
ohlone_webpages.h
Generated on Wed Sep 24 2014 04:39:18 for OpenWSN Firmware by
1.8.5