File: lock.h

package info (click to toggle)
etherdfs-server 0~20180203-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 160 kB
  • sloc: ansic: 1,259; makefile: 15
file content (16 lines) | stat: -rw-r--r-- 246 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/*
 * part of ethersrv-linux
 *
 * Copyright (C) 2017 Mateusz Viste
 */

#ifndef LOCK_H_SENTINEL
#define LOCK_H_SENTINEL

/* acquire the lock file */
int lockme(char *lockfile);

/* release the lock file */
void unlockme(char *lockfile);

#endif