mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
Add set_csync_file_locked_or_open_ext
Without using function, there were problems with DLL import/export
This commit is contained in:
parent
876de8fd69
commit
3bf15541c6
@ -182,6 +182,10 @@ csync_vio_file_stat_t *csync_vio_convert_file_stat(csync_file_stat_t *st) {
|
||||
}
|
||||
|
||||
bool (*csync_file_locked_or_open_ext) (const char*) = 0; // filled in by library user
|
||||
void set_csync_file_locked_or_open_ext(bool (*f) (const char*)) {
|
||||
csync_file_locked_or_open_ext = f;
|
||||
}
|
||||
|
||||
bool csync_file_locked_or_open( const char *dir, const char *fname) {
|
||||
char *tmp_uri = NULL;
|
||||
bool ret;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user