Searched refs:fileListInfoPtr (Results 1 – 2 of 2) sorted by relevance
50 AddFileListItemInfo(FileListInfoPtr fileListInfoPtr, char* name, in AddFileListItemInfo() argument54 calloc((fileListInfoPtr->numEntries + 1), in AddFileListItemInfo()62 if(fileListInfoPtr->numEntries != 0) { in AddFileListItemInfo()63 memcpy(fileListItemInfoPtr, fileListInfoPtr->pEntries, in AddFileListItemInfo()64 fileListInfoPtr->numEntries * sizeof(FileListItemInfo)); in AddFileListItemInfo()67 strcpy(fileListItemInfoPtr[fileListInfoPtr->numEntries].name, name); in AddFileListItemInfo()68 fileListItemInfoPtr[fileListInfoPtr->numEntries].size = size; in AddFileListItemInfo()69 fileListItemInfoPtr[fileListInfoPtr->numEntries].data = data; in AddFileListItemInfo()71 if(fileListInfoPtr->pEntries != NULL) { in AddFileListItemInfo()72 free(fileListInfoPtr->pEntries); in AddFileListItemInfo()[all …]
55 int AddFileListItemInfo(FileListInfoPtr fileListInfoPtr, char* name, unsigned int size, unsigned in…