OpenWSN Firmware
ohlone_webpages.h File Reference

Go to the source code of this file.

Macros

#define HTTP_LINE(str)
 Webpages for Ohlone. More...
 
#define HTTP_LINE_REPLACE16(offset, value)
 

Functions

void ohlone_webpages_init (void)
 
uint8_t ohlone_webpage (uint8_t *getRequest, uint16_t chunk, uint8_t *packet)
 

Macro Definition Documentation

#define HTTP_LINE (   str)
Value:
{ \
if (chunk == ++current_line) { \
memcpy(packet, str, sizeof(str)-1); \
len = sizeof(str)-1; \
} \
}

Webpages for Ohlone.

Author
Ankur Mehta mehta.nosp@m.nk@e.nosp@m.ecs.b.nosp@m.erke.nosp@m.ley.e.nosp@m.du, September 2010
#define HTTP_LINE_REPLACE16 (   offset,
  value 
)
Value:
{ \
if (chunk == current_line) \
ohlone_line_replace16(packet+offset, value); \
}
void ohlone_line_replace16(uint8_t *buffer, uint16_t value)
Definition: ohlone_webpages.c:69

Function Documentation

uint8_t ohlone_webpage ( uint8_t *  getRequest,
uint16_t  chunk,
uint8_t *  packet 
)
void ohlone_webpages_init ( void  )