mirror of
https://github.com/Tha14/toxic.git
synced 2025-07-01 06:16:44 +02:00
implement avatars (setting only) and generalize path tab-complete
This commit is contained in:
@ -115,4 +115,10 @@ bool file_exists(const char *path);
|
||||
/* returns file size or -1 on error */
|
||||
off_t file_size(const char *path);
|
||||
|
||||
/* compares the first size bytes of fp and signature.
|
||||
Returns 0 if they are the same, 1 if they differ, and -1 on error.
|
||||
|
||||
On success this function will seek back to the beginning of fp and will not close fp */
|
||||
int check_file_signature(const char *signature, size_t size, FILE *fp);
|
||||
|
||||
#endif /* #define MISC_TOOLS_H */
|
||||
|
Reference in New Issue
Block a user