Ignore:
Timestamp:
Feb 20, 2016, 10:43:32 PM (8 years ago)
Author:
coas-nagasima
Message:

インクルードのパス指定をContikiに合わせ変更。
整数型の型名をContikiに合わせ変更。

Location:
uKadecot/trunk/uip/apps/webserver
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • uKadecot/trunk/uip/apps/webserver/http_parser.c

    r108 r158  
    2222 * IN THE SOFTWARE.
    2323 */
    24 #include "http_parser.h"
     24#include "webserver/http_parser.h"
    2525//#include <assert.h>
    2626#include <stddef.h>
  • uKadecot/trunk/uip/apps/webserver/http_pcb.h

    r108 r158  
    2323#define __HTTP_PCB_H__
    2424
    25 #include "http_parser.h"
     25#include "webserver/http_parser.h"
    2626
    2727#define MAX_ELEMENT_SIZE 256
  • uKadecot/trunk/uip/apps/webserver/httpd-fs.h

    r155 r158  
    5454#ifdef HTTPD_FS_STATISTICS
    5555#if HTTPD_FS_STATISTICS == 1
    56 u16_t httpd_fs_count(char *name);
     56uint16_t httpd_fs_count(char *name);
    5757#endif /* HTTPD_FS_STATISTICS */
    5858#endif /* HTTPD_FS_STATISTICS */
  • uKadecot/trunk/uip/apps/webserver/httpd.c

    r156 r158  
    5656 */
    5757
    58 #include "uip.h"
     58#include "net/ip/uip.h"
    5959#include "httpd.h"
    6060#include "httpd-fs.h"
  • uKadecot/trunk/uip/apps/webserver/httpd.h

    r156 r158  
    3636#define __HTTPD_H__
    3737
    38 #include "psock.h"
     38#include "net/ip/psock.h"
    3939#include "httpd-fs.h"
    4040#include "http_pcb.h"
     
    7676
    7777void httpd_log(char *msg);
    78 void httpd_log_file(u16_t *requester, char *file);
     78void httpd_log_file(uint16_t *requester, char *file);
    7979
    8080#endif /* __HTTPD_H__ */
  • uKadecot/trunk/uip/apps/webserver/websocket.c

    r148 r158  
    3838#include <string.h>
    3939#include "websocket.h"
    40 #include "uip.h"
     40#include "net/ip/uip.h"
    4141#include "kernel.h"
    4242#include "kernel_cfg.h"
     
    6969{
    7070        ws_state_t *s = &ws->rstate;
    71         const u8_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];
    7272
    7373        for(; pos < end; pos++){
     
    192192{
    193193        ws_state_t *s = &ws->wstate;
    194         u8_t *pos = (u8_t *)data, *end = &((u8_t *)data)[len];
     194        uint8_t *pos = (uint8_t *)data, *end = &((uint8_t *)data)[len];
    195195
    196196        for(; pos < end; pos++){
Note: See TracChangeset for help on using the changeset viewer.