Lines Matching defs:file
591 lws_get_mimetype(const char *file, const struct lws_http_mount *m)
594 size_t n = strlen(file), len, i;
607 if (n > len && !strcasecmp(&file[n - len], pvo->name)) {
619 if (n > len && !strcasecmp(&file[n - len], mt->extension)) {
871 * check if this is in the list of file suffixes to be interpreted by
995 lwsl_err("can't open auth file: %s\n", filename);
1986 * If we're not issuing a file, check for content_length or
2725 lws_serve_http_file(struct lws *wsi, const char *file, const char *content_type,
2757 fops = lws_vfs_select_fops(wsi->a.context->fops, file, &vpath);
2760 file, vpath, &fflags);
2763 __func__, file, errno);
2814 lwsl_info("file is being provided in gzip\n");
3280 lwsl_debug("file completed\n");
3309 * while(1) here causes us to spam the whole file contents into