blob: 9d2a90a8b736243a6624f1809949d4f105b87f80 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#ifndef LOCK_H
#define LOCK_H
#include <stdbool.h>
#include <sys/types.h>
#include "util/macros.h"
void init_file_locks_context(const char *fallback_dir, pid_t pid);
bool lock_file(const char *filename) WARN_UNUSED_RESULT;
void unlock_file(const char *filename);
#endif
|