Added the '-blobFile' option to specify a file containing the blob content

This commit is contained in:
olszomal
2024-09-04 09:41:33 +02:00
committed by Michał Trojnara
parent 64305d6415
commit 21133f9c3b
5 changed files with 119 additions and 28 deletions

View File

@ -90,7 +90,9 @@
#ifdef _MSC_VER
/* not WIN32, because strcasecmp exists in MinGW */
#define strcasecmp _stricmp
#endif
#define fseeko _fseeki64
#define ftello _ftelli64
#endif /* _MSC_VER */
#ifdef WIN32
#define remove_file(filename) _unlink(filename)
@ -274,6 +276,7 @@ typedef struct {
char *proxy;
int noverifypeer;
int addBlob;
const char *blob_file;
int nest;
int index;
int ignore_timestamp;