Searched refs:FilePtr (Results 1 – 4 of 4) sorted by relevance
42 ADM_Send_file(FILE *FilePtr) in ADM_Send_file() argument58 if (fseek(FilePtr, 0L, SEEK_END) == 0) { in ADM_Send_file()59 FileLength = ftell(FilePtr); in ADM_Send_file()60 rewind(FilePtr); in ADM_Send_file()65 while ((fgets(ADM_Line, ADM_LINE_SIZE, FilePtr) != NULL) && in ADM_Send_file()141 FilePos = ftell(FilePtr); in ADM_Send_file()151 FilePos = ftell(FilePtr); in ADM_Send_file()
55 FILE *FilePtr; in ADM_Process_download() local81 if ((FilePtr = fopen(Filename, "r")) == NULL) { in ADM_Process_download()89 if (ADM_Valid_srecord(FilePtr) != 0) { in ADM_Process_download()174 if (ADM_Send_file(FilePtr) != 0) { in ADM_Process_download()194 (void) fclose(FilePtr); in ADM_Process_download()
58 ADM_Valid_srecord(FILE *FilePtr) in ADM_Valid_srecord() argument66 if (fgets(Line, ADM_LINE_SIZE, FilePtr) == NULL) in ADM_Valid_srecord()69 rewind(FilePtr); in ADM_Valid_srecord()
100 int ADM_Valid_srecord(FILE *FilePtr);101 int ADM_Send_file(FILE *FilePtr);