omniClientLock

Defined in OmniClient.h

OmniClientRequestId omniClientLock(char const *url, void *userData, OmniClientLockCallback callback)

Lock a file so no other clients can modify it.

The file is automatically unlocked when you disconnect

Note

If this function is called after omniClientShutdown, kInvalidRequestId will be returned, and the callback will not be called.