mirror of
https://github.com/zeek/zeek.git
synced 2025-10-14 04:28:20 +00:00
Remove default argument for callbacks, reorder function arguments
This commit is contained in:
parent
605973497f
commit
e6f1eea1b7
11 changed files with 72 additions and 75 deletions
|
@ -60,8 +60,8 @@ public:
|
|||
* @return A struct describing the result of the operation, containing a code, an
|
||||
* optional error string, and a ValPtr for operations that return values.
|
||||
*/
|
||||
OperationResult OpenBackend(BackendPtr backend, RecordValPtr options, TypePtr key_type, TypePtr val_type,
|
||||
OpenResultCallback* cb = nullptr);
|
||||
OperationResult OpenBackend(BackendPtr backend, OpenResultCallback* cb, RecordValPtr options, TypePtr key_type,
|
||||
TypePtr val_type);
|
||||
|
||||
/**
|
||||
* Closes a storage backend.
|
||||
|
@ -71,7 +71,7 @@ public:
|
|||
* @return A struct describing the result of the operation, containing a code, an
|
||||
* optional error string, and a ValPtr for operations that return values.
|
||||
*/
|
||||
OperationResult CloseBackend(BackendPtr backend, OperationResultCallback* cb = nullptr);
|
||||
OperationResult CloseBackend(BackendPtr backend, OperationResultCallback* cb);
|
||||
|
||||
void Expire();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue