Home
last modified time | relevance | path

Searched refs:dent (Results 1 – 1 of 1) sorted by relevance

/mOS-networking-stack/samples/lighttpd-1.4.32/src/
H A Dmod_dirlisting.c635 struct dirent *dent; in http_list_directory() local
696 while ((dent = readdir(dp)) != NULL) { in http_list_directory()
699 if (dent->d_name[0] == '.') { in http_list_directory()
702 if (dent->d_name[1] == '\0') in http_list_directory()
704 if (dent->d_name[1] == '.' && dent->d_name[2] == '\0') in http_list_directory()
709 if (strcmp(dent->d_name, "README.txt") == 0) in http_list_directory()
713 if (strcmp(dent->d_name, "HEADER.txt") == 0) in http_list_directory()
727 if ((n = pcre_exec(regex, NULL, dent->d_name, in http_list_directory()
747 i = strlen(dent->d_name); in http_list_directory()
754 memcpy(path_file, dent->d_name, i + 1); in http_list_directory()
[all …]