summaryrefslogtreecommitdiffstats
path: root/src/include/krb5/libos.h
blob: 2657c1b81ca1157386df962cea6264d87a4e246a (plain)
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
/*
 * $Source$
 * $Author$
 * $Id$
 *
 * Copyright 1989,1990 by the Massachusetts Institute of Technology.
 *
 * For copying and distribution information, please see the file
 * <krb5/mit-copyright.h>.
 *
 * Definitions for this implementation of the libos layer.
 */

#include <krb5/copyright.h>

#ifndef __KRB5_LIBOS__
#define __KRB5_LIBOS__

/* lock mode flags */
#define	KRB5_LOCKMODE_SHARED	0x0001
#define	KRB5_LOCKMODE_EXCLUSIVE	0x0002
#define	KRB5_LOCKMODE_DONTBLOCK	0x0004
#define	KRB5_LOCKMODE_UNLOCK	0x0008

/* get all the addresses of this host */
extern int krb5_os_localaddr PROTOTYPE((krb5_address ***addr));

#endif /* __KRB5_LIBOS__ */