Asterisk - The Open Source Telephony Project
GIT-master-3dee037
Toggle main menu visibility
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
i
l
m
n
o
p
q
r
s
t
u
v
w
y
Functions
b
c
d
e
f
g
i
l
m
n
p
r
s
t
u
v
w
Variables
a
b
c
d
e
f
i
l
m
n
o
p
q
r
s
t
y
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
Data Fields
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
c
d
e
f
g
h
i
k
l
m
n
p
r
s
t
u
v
w
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerator
Properties
Files
File List
Globals
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
y
z
Enumerations
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Macros
Modules
Pages
utils
db1-ast
include
utils/db1-ast/include/compat.h
Go to the documentation of this file.
1
/* Values for building 4.4 BSD db routines in the GNU C library. */
2
3
#ifndef _compat_h_
4
#define _compat_h_
5
6
#include <fcntl.h>
7
8
/*
9
* If you can't provide lock values in the open(2) call. Note, this
10
* allows races to happen.
11
*/
12
#ifndef O_EXLOCK
/* 4.4BSD extension. */
13
#define O_EXLOCK 0
14
#endif
15
16
#ifndef O_SHLOCK
/* 4.4BSD extension. */
17
#define O_SHLOCK 0
18
#endif
19
20
#include <errno.h>
21
22
#ifndef EFTYPE
23
#define EFTYPE EINVAL
/* POSIX 1003.1 format errno. */
24
#endif
25
26
#include <unistd.h>
27
#include <limits.h>
28
29
#ifndef _POSIX_VDISABLE
/* POSIX 1003.1 disabling char. */
30
#define _POSIX_VDISABLE 0
/* Some systems used 0. */
31
#endif
32
33
#include <termios.h>
34
35
#ifndef TCSASOFT
/* 4.4BSD extension. */
36
#define TCSASOFT 0
37
#endif
38
39
#include <sys/param.h>
40
41
#ifndef MAX
/* Usually found in <sys/param.h>. */
42
#define MAX(_a,_b) ((_a)<(_b)?(_b):(_a))
43
#endif
44
#ifndef MIN
/* Usually found in <sys/param.h>. */
45
#define MIN(_a,_b) ((_a)<(_b)?(_a):(_b))
46
#endif
47
48
49
#endif
/* compat.h */
Generated on Wed Jan 1 2025 20:04:30 for Asterisk - The Open Source Telephony Project by
1.9.4