Ignore:
Timestamp:
Feb 4, 2016, 11:11:09 PM (8 years ago)
Author:
coas-nagasima
Message:

URLがフォルダを指している場合、/index.htmlにリダイレクトするよう変更。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uKadecot/trunk/uip/apps/webserver/httpd-fs.h

    r154 r155  
    4343  int drv;
    4444  const char *name;
    45   void *fs;
     45  int redirect;
     46  char fs[64 + 512/*sizeof(FATFS)*/];
    4647};
    4748
    4849/* file must be allocated by caller and will be filled in
    4950   by the function. */
    50 int httpd_fs_open(int drv, const char *name, struct httpd_fs_file *file);
     51int httpd_fs_open(int drv, char *name, int len, struct httpd_fs_file *file);
    5152int httpd_fs_read(struct httpd_fs_file *file, void *dst, int len);
    5253
Note: See TracChangeset for help on using the changeset viewer.