33 void copyFile(FILE* file, FILE* dst);
42 FILE*
fopensearch(
const char* filename,
string& fullpath);
void streamCopyLicense(istream &src, ostream &dst, const string &exceptiontag)
Copy or remove license header.
ifstream * open_arch_stream(const char *filename)
Try to open an architecture file searching in various directories.
void copyZeroHalf(FILE *file, FILE *dst)
const char * filebasename(const char *name)
returns a pointer on the basename part of name
void streamCopy(istream &src, ostream &dst)
Copy src to dst.
void copyFirstHalf(FILE *file, FILE *dst)
string filedirname(const string &name)
returns a string containing the dirname of name If no dirname, returns "."
void streamCopyUntil(istream &src, ostream &dst, const string &until)
Copy src to dst until specific line.
const char * name(Symbol *sym)
Returns the name of a symbol.
void streamCopyUntilEnd(istream &src, ostream &dst)
Copy src to dst until end.
void copySecondHalf(FILE *file, FILE *dst)
void copyFile(FILE *file, FILE *dst)
bool check_url(const char *filename)
Check if an URL exists.
const char * strip_start(const char *filename)
FILE * fopensearch(const char *filename, string &fullpath)
Try to open the file searching in various directories.