Changeset 158 for uKadecot/trunk/uip/apps/webserver
- Timestamp:
- Feb 20, 2016, 10:43:32 PM (8 years ago)
- Location:
- uKadecot/trunk/uip/apps/webserver
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
uKadecot/trunk/uip/apps/webserver/http_parser.c
r108 r158 22 22 * IN THE SOFTWARE. 23 23 */ 24 #include " http_parser.h"24 #include "webserver/http_parser.h" 25 25 //#include <assert.h> 26 26 #include <stddef.h> -
uKadecot/trunk/uip/apps/webserver/http_pcb.h
r108 r158 23 23 #define __HTTP_PCB_H__ 24 24 25 #include " http_parser.h"25 #include "webserver/http_parser.h" 26 26 27 27 #define MAX_ELEMENT_SIZE 256 -
uKadecot/trunk/uip/apps/webserver/httpd-fs.h
r155 r158 54 54 #ifdef HTTPD_FS_STATISTICS 55 55 #if HTTPD_FS_STATISTICS == 1 56 u 16_t httpd_fs_count(char *name);56 uint16_t httpd_fs_count(char *name); 57 57 #endif /* HTTPD_FS_STATISTICS */ 58 58 #endif /* HTTPD_FS_STATISTICS */ -
uKadecot/trunk/uip/apps/webserver/httpd.c
r156 r158 56 56 */ 57 57 58 #include " uip.h"58 #include "net/ip/uip.h" 59 59 #include "httpd.h" 60 60 #include "httpd-fs.h" -
uKadecot/trunk/uip/apps/webserver/httpd.h
r156 r158 36 36 #define __HTTPD_H__ 37 37 38 #include " psock.h"38 #include "net/ip/psock.h" 39 39 #include "httpd-fs.h" 40 40 #include "http_pcb.h" … … 76 76 77 77 void httpd_log(char *msg); 78 void httpd_log_file(u 16_t *requester, char *file);78 void httpd_log_file(uint16_t *requester, char *file); 79 79 80 80 #endif /* __HTTPD_H__ */ -
uKadecot/trunk/uip/apps/webserver/websocket.c
r148 r158 38 38 #include <string.h> 39 39 #include "websocket.h" 40 #include " uip.h"40 #include "net/ip/uip.h" 41 41 #include "kernel.h" 42 42 #include "kernel_cfg.h" … … 69 69 { 70 70 ws_state_t *s = &ws->rstate; 71 const u 8_t *pos = (const u8_t *)data, *end = &((const u8_t *)data)[len];71 const uint8_t *pos = (const uint8_t *)data, *end = &((const uint8_t *)data)[len]; 72 72 73 73 for(; pos < end; pos++){ … … 192 192 { 193 193 ws_state_t *s = &ws->wstate; 194 u 8_t *pos = (u8_t *)data, *end = &((u8_t *)data)[len];194 uint8_t *pos = (uint8_t *)data, *end = &((uint8_t *)data)[len]; 195 195 196 196 for(; pos < end; pos++){
Note:
See TracChangeset
for help on using the changeset viewer.