File: maillock.h.in

package info (click to toggle)
liblockfile 1.14-1.1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 384 kB
  • sloc: ansic: 908; makefile: 77
file content (39 lines) | stat: -rw-r--r-- 873 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/*
 *	Copyright (C) 1999 Miquel van Smoorenburg
 *
 *	This library is free software; you can redistribute it and/or modify
 *	it under the terms of the GNU Library General Public License as
 *	published by the Free Software Foundation; either version 2 of the
 *	License, or (at your option) any later version.
 *
 *	On Debian GNU/Linux systems, the complete text of the GNU Library
 *	General Public License can be found in `/usr/doc/copyright/LGPL'.
 *	You can also find a copy on the GNU website at http://www.gnu.org/
 */
#ifndef _MAILLOCK_H
#define _MAILLOCK_H

#ifdef  __cplusplus
extern "C" {
#endif

#ifndef _PATH_MAILDIR
@PATHMAILDIR@
#endif

#define MAILDIR		(_PATH_MAILDIR "/")

/*
 *	Prototypes.
 */
int	maillock(const char *name, int retries);
void	touchlock();
void	mailunlock();

#ifdef  __cplusplus
}
#endif

#include <lockfile.h>

#endif /* _MAILLOCK_H */