コード例 #1
0
ファイル: fs.c プロジェクト: Lexatagan/LRNDIS
/*-----------------------------------------------------------------------------------*/
void
fs_close(struct fs_file *file)
{
#if LWIP_HTTPD_FILE_STATE
  fs_state_free(file, file->state);
#endif /* #if LWIP_HTTPD_FILE_STATE */
  f_close(&file->file_object);
}
コード例 #2
0
ファイル: fs.c プロジェクト: colinporth/radioPlus
//}}}
//{{{
void fs_close (struct fs_file* file) {

#if LWIP_HTTPD_CUSTOM_FILES
  if (file->is_custom_file) {
    fs_close_custom (file);
  }
#endif /* LWIP_HTTPD_CUSTOM_FILES */

#if LWIP_HTTPD_FILE_STATE
  fs_state_free (file, file->state);
#endif /* #if LWIP_HTTPD_FILE_STATE */
  fs_free(file);
}