~wb-munzinger/+junk/sanlock

« back to all changes in this revision

Viewing changes to lockfile.h

  • Committer: David Weber
  • Date: 2012-01-18 13:00:36 UTC
  • Revision ID: wb@munzinger.de-20120118130036-9a7wvhhmfuip7zx5
Tags: upstream-1.9
Import

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Copyright 2010-2011 Red Hat, Inc.
 
3
 *
 
4
 * This copyrighted material is made available to anyone wishing to use,
 
5
 * modify, copy, or redistribute it subject to the terms and conditions
 
6
 * of the GNU General Public License v2 or (at your option) any later version.
 
7
 */
 
8
 
 
9
#ifndef __LOCKFILE_H__
 
10
#define __LOCKFILE_H__
 
11
 
 
12
int lockfile(const char *dir, const char *name);
 
13
void unlink_lockfile(int fd, const char *dir, const char *name);
 
14
 
 
15
#endif