sipxtacklib
Version 3.3
Main Page
Related Pages
Classes
Files
File List
File Members
include
resparse
wnt
sys
param.h
Go to the documentation of this file.
1
//
2
// Copyright (C) 2004-2006 SIPfoundry Inc.
3
// Licensed by SIPfoundry under the LGPL license.
4
//
5
// Copyright (C) 2004-2006 Pingtel Corp. All rights reserved.
6
// Licensed to SIPfoundry under a Contributor Agreement.
7
//
8
// $$
10
11
#ifndef _SYS_PARAM_H
12
#define _SYS_PARAM_H
13
14
/* Max number of open files. The Posix version is OPEN_MAX. */
15
/* Number of fds is virtually unlimited in cygwin, but we must provide
16
some reasonable value for Posix conformance */
17
#define NOFILE 8192
18
19
/* Max number of groups; must keep in sync with NGROUPS_MAX in limits.h */
20
#define NGROUPS 1
21
22
/* Ticks/second for system calls such as times() */
23
/* FIXME: is this the appropriate value? */
24
#define HZ 1000
25
26
/* Max hostname size that can be dealt with */
27
/* FIXME: is this the appropriate value? */
28
#define MAXHOSTNAMELEN 64
29
30
/* This is defined to be the same as MAX_PATH which is used internally.
31
The Posix version is PATH_MAX. */
32
#define MAXPATHLEN (260 - 1
/*NUL*/
)
33
34
/* Some autoconf'd packages check for endianness. When cross-building we
35
can't run programs on the target. Fortunately, autoconf supports the
36
definition of byte order in sys/param.h (that's us!).
37
The values here are the same as used in gdb/defs.h (are the more
38
appropriate values?). */
39
#define BIG_ENDIAN 4321
40
#define LITTLE_ENDIAN 1234
41
42
/* All known win32 systems are little endian. */
43
#define BYTE_ORDER LITTLE_ENDIAN
44
45
/* FIXME: Why is this here? */
46
#include <limits.h>
47
48
#endif
sipXtackLib home page