diff options
author | Kaleb Keithley <kaleb@freedesktop.org> | 2003-11-14 16:49:23 +0000 |
---|---|---|
committer | Kaleb Keithley <kaleb@freedesktop.org> | 2003-11-14 16:49:23 +0000 |
commit | ac8c3cf394fb9d0eb57332ea7b2d12fb3c4a396d (patch) | |
tree | 02cb7504dab187ebcae1e7fbb0b002225dda2a73 /lock.h | |
parent | c8ddd5d82a72167de6e0a544b55f9b03ab93053e (diff) |
XFree86 4.3.0.1xf86-4_3_0_1PRE_xf86-4_3_0_1
Diffstat (limited to 'lock.h')
-rw-r--r-- | lock.h | 18 |
1 files changed, 13 insertions, 5 deletions
@@ -23,9 +23,17 @@ Except as contained in this notice, the name of The Open Group shall not be used in advertising or otherwise to promote the sale, use or other dealings in this Software without prior written authorization from The Open Group. ******************************************************************************/ +/* $XFree86: xc/programs/xsm/lock.h,v 1.6 2001/12/14 20:02:25 dawes Exp $ */ -extern Status LockSession (); -extern void UnlockSession (); -extern char *GetLockId (); -extern Bool CheckSessionLocked (); -extern void UnableToLockSession (); +#ifndef _LOCK_H_ +#define _LOCK_H_ + +#include <X11/Xdefs.h> + +extern Status LockSession(char *session_name, Bool write_id); +extern void UnlockSession(char* session_name); +extern char * GetLockId(char *session_name); +extern Bool CheckSessionLocked(char *session_name, Bool get_id, char **id_ret); +extern void UnableToLockSession(char *session_name); + +#endif |