Lines Matching full:srcpath
256 static int backup_dir(FILE* fh, const char* srcPath)
261 int srcLen = strlen(srcPath);
265 dir = opendir(srcPath);
269 srcPath, strerror(errno));
291 strcpy(fullPath, srcPath);
503 static int restore_data(const char* srcPath)
507 FILE* fh = fopen(srcPath, "r");
510 srcPath, strerror(errno));
527 backupFilePath = strdup(srcPath);
534 printf("Restoring from %s to /data...\n", srcPath);