Skip to content

Commit

Permalink
update longtaillib to 0.2.15 (#196)
Browse files Browse the repository at this point in the history
  • Loading branch information
DanEngelbrecht authored Jan 26, 2022
1 parent ded2c56 commit a47b60c
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion longtaillib/longtail/include/src/longtail.h
Original file line number Diff line number Diff line change
Expand Up @@ -356,6 +356,7 @@ typedef void (*Longtail_Storage_CloseFindFunc)(struct Longtail_StorageAPI* stora
typedef int (*Longtail_Storage_GetEntryPropertiesFunc)(struct Longtail_StorageAPI* storage_api, Longtail_StorageAPI_HIterator iterator, struct Longtail_StorageAPI_EntryProperties* out_properties);
typedef int (*Longtail_Storage_LockFileFunc)(struct Longtail_StorageAPI* storage_api, const char* path, Longtail_StorageAPI_HLockFile* out_lock_file);
typedef int (*Longtail_Storage_UnlockFileFunc)(struct Longtail_StorageAPI* storage_api, Longtail_StorageAPI_HLockFile file_lock);
typedef char* (*Longtail_Storage_GetParentPathFunc)(struct Longtail_StorageAPI* storage_api, const char* path);

struct Longtail_StorageAPI
{
Expand All @@ -382,6 +383,7 @@ struct Longtail_StorageAPI
Longtail_Storage_GetEntryPropertiesFunc GetEntryProperties;
Longtail_Storage_LockFileFunc LockFile;
Longtail_Storage_UnlockFileFunc UnlockFile;
Longtail_Storage_GetParentPathFunc GetParentPath;
};

LONGTAIL_EXPORT uint64_t Longtail_GetStorageAPISize();
Expand Down Expand Up @@ -410,7 +412,8 @@ LONGTAIL_EXPORT struct Longtail_StorageAPI* Longtail_MakeStorageAPI(
Longtail_Storage_CloseFindFunc close_find_func,
Longtail_Storage_GetEntryPropertiesFunc get_entry_properties_func,
Longtail_Storage_LockFileFunc lock_file_func,
Longtail_Storage_UnlockFileFunc unlock_file_func);
Longtail_Storage_UnlockFileFunc unlock_file_func,
Longtail_Storage_GetParentPathFunc get_parent_path_func);

LONGTAIL_EXPORT int Longtail_Storage_OpenReadFile(struct Longtail_StorageAPI* storage_api, const char* path, Longtail_StorageAPI_HOpenFile* out_open_file);
LONGTAIL_EXPORT int Longtail_Storage_GetSize(struct Longtail_StorageAPI* storage_api, Longtail_StorageAPI_HOpenFile f, uint64_t* out_size);
Expand All @@ -434,6 +437,7 @@ LONGTAIL_EXPORT void Longtail_Storage_CloseFind(struct Longtail_StorageAPI* stor
LONGTAIL_EXPORT int Longtail_Storage_GetEntryProperties(struct Longtail_StorageAPI* storage_api, Longtail_StorageAPI_HIterator iterator, struct Longtail_StorageAPI_EntryProperties* out_properties);
LONGTAIL_EXPORT int Longtail_Storage_LockFile(struct Longtail_StorageAPI* storage_api, const char* path, Longtail_StorageAPI_HLockFile* out_lock_file);
LONGTAIL_EXPORT int Longtail_Storage_UnlockFile(struct Longtail_StorageAPI* storage_api, Longtail_StorageAPI_HLockFile lock_file);
LONGTAIL_EXPORT char* Longtail_Storage_GetParentPath(struct Longtail_StorageAPI* storage_api, const char* path);

////////////// Longtail_ProgressAPI

Expand Down
Binary file modified longtaillib/longtail/liblongtail_darwin_x64.a
Binary file not shown.
Binary file modified longtaillib/longtail/liblongtail_linux_x64.a
Binary file not shown.
Binary file modified longtaillib/longtail/liblongtail_win32_x64.a
Binary file not shown.

0 comments on commit a47b60c

Please sign in to comment.