MCPcopy Create free account
hub / github.com/TheOfficialFloW/VitaShell / fileListFindEntry

Function fileListFindEntry

file.c:688–704  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

686}
687
688FileListEntry *fileListFindEntry(FileList *list, const char *name) {
689 if (!list)
690 return NULL;
691
692 FileListEntry *entry = list->head;
693
694 int name_length = strlen(name);
695
696 while (entry) {
697 if (entry->name_length == name_length && strcasecmp(entry->name, name) == 0)
698 return entry;
699
700 entry = entry->next;
701 }
702
703 return NULL;
704}
705
706FileListEntry *fileListGetNthEntry(FileList *list, int n) {
707 if (!list)

Callers 11

delete_threadFunction · 0.85
export_threadFunction · 0.85
send_threadFunction · 0.85
fileBrowserMenuCtrlFunction · 0.85
fileBrowserHandleSymlinkFunction · 0.85
browserMainFunction · 0.85
compress_threadFunction · 0.85
dialogStepsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected