Asterisk.org: Developer Documentation (28 Oct 2009)

Wed Oct 28 15:49:13 2009

## Asterisk developer's documentation

# private.h File Reference

`#include "sys/types.h"`
`#include "stdio.h"`
`#include "errno.h"`
`#include "string.h"`
`#include "limits.h"`
`#include "time.h"`
`#include "stdlib.h"`
`#include "unistd.h"`

Include dependency graph for private.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Defines

#define | _(msgid) msgid
#define | FALSE 0
#define | FILENAME_MAX 1024
#define | GNUC_or_lint
#define | HAVE_ADJTIME 1
#define | HAVE_GETTEXT 0
#define | HAVE_LONG_DOUBLE 1
#define | HAVE_SETTIMEOFDAY 3
#define | HAVE_STRERROR 1
#define | HAVE_UNISTD_H 1
#define | HAVE_UTMPX_H 0
#define | INITIALIZE(x) ((x) = 0)
#define | INT_STRLEN_MAXIMUM(type) ((TYPE_BIT(type) - TYPE_SIGNED(type)) * 302 / 1000 + 1 + TYPE_SIGNED(type))
#define | is_digit(c) ((unsigned)(c) - '0' <= 9)
#define | LOCALE_HOME _PATH_LOCALE
#define | P(x) ()
#define | PCTS 1
#define | STD_INSPIRED 1
#define | TM_GMTOFF tm_gmtoff
#define | TM_ZONE tm_zone
#define | TRUE 1
#define | TYPE_BIT(type) (sizeof (type) * CHAR_BIT)
#define | TYPE_SIGNED(type) (((type) -1) < 0)
#define | TZ_DOMAIN "tz"
#define | TZDIR "/usr/share/zoneinfo"

## Define Documentation

#define _ | ( | msgid |  | ) | msgid

Definition at line 214 of file private.h.

#define FALSE 0

Definition at line 158 of file private.h.

#define FILENAME_MAX 1024

Definition at line 144 of file private.h.

Referenced by ast_monitor_change_fname(), ast_monitor_start(), ast_monitor_stop(), start_monitor_action(), and tzload().

#define GNUC_or_lint

Definition at line 190 of file private.h.

#define HAVE_ADJTIME 1

Definition at line 56 of file private.h.

#define HAVE_GETTEXT 0

Definition at line 60 of file private.h.

#define HAVE_LONG_DOUBLE 1

Definition at line 19 of file private.h.

#define HAVE_SETTIMEOFDAY 3

Definition at line 64 of file private.h.

#define HAVE_STRERROR 1

Definition at line 20 of file private.h.

#define HAVE_UNISTD_H 1

Definition at line 21 of file private.h.

#define HAVE_UTMPX_H 0

Definition at line 76 of file private.h.

#define INITIALIZE | ( | x |  | ) | ((x) = 0)

Definition at line 197 of file private.h.

#define INT_STRLEN_MAXIMUM | ( | type |  | ) | ((TYPE_BIT(type) - TYPE_SIGNED(type)) * 302 / 1000 + 1 + TYPE_SIGNED(type))

Definition at line 176 of file private.h.

#define is_digit | ( | c |  | ) | ((unsigned)(c) - '0' <= 9)

Definition at line 113 of file private.h.

Referenced by getnum(), and getrule().

#define LOCALE_HOME _PATH_LOCALE

Definition at line 22 of file private.h.

#define P | ( | x |  | ) | ()

Definition at line 124 of file private.h.

#define PCTS 1

Definition at line 18 of file private.h.

#define STD_INSPIRED 1

Definition at line 17 of file private.h.

#define TM_GMTOFF tm_gmtoff

Definition at line 14 of file private.h.

#define TM_ZONE tm_zone

Definition at line 15 of file private.h.

#define TRUE 1

Definition at line 154 of file private.h.

#define TYPE_BIT | ( | type |  | ) | (sizeof (type) * CHAR_BIT)

Definition at line 162 of file private.h.

Referenced by time2().

#define TYPE_SIGNED | ( | type |  | ) | (((type) -1) < 0)

Definition at line 166 of file private.h.

Referenced by time2().

#define TZ_DOMAIN "tz"

Definition at line 219 of file private.h.

#define TZDIR "/usr/share/zoneinfo"

Definition at line 26 of file private.h.

Referenced by tzload().