|
Functions | |
| int | csync_lock (const char *lockfile) |
| void | csync_lock_remove (const char *lockfile) |
| int csync_lock | ( | const char * | lockfile | ) |
Lock the client if possible.
This functiion tries to lock the client with a lock file.
| lockfile | The lock file to create. |
| void csync_lock_remove | ( | const char * | lockfile | ) |
Remove the lockfile.
Only our own lock can be removed. This function can't remove a lock from another client.
| lockfile | The lock file to remove. |
1.5.6