|
dhcpd-pools
3.0
ISC dhcpd lease usage analyser
|
#include <config.h>#include <time.h>#include <errno.h>#include <limits.h>#include <stdbool.h>#include <stddef.h>#include <stdlib.h>#include <string.h>#include "flexmember.h"#include "time-internal.h"
Macros | |
| #define | SIZE_MAX ((size_t) -1) |
Enumerations | |
| enum | { DEFAULT_MXFAST = 64 * sizeof (size_t) / 4 } |
| enum | { ABBR_SIZE_MIN = DEFAULT_MXFAST - offsetof (struct tm_zone, abbrs) } |
Functions | |
| static void | extend_abbrs (char *abbrs, char const *abbr, size_t abbr_size) |
| timezone_t | tzalloc (char const *name) |
| static bool | save_abbr (timezone_t tz, struct tm *tm) |
| void | tzfree (timezone_t tz) |
| static char * | getenv_TZ (void) |
| static int | setenv_TZ (char const *tz) |
| static bool | change_env (timezone_t tz) |
| static timezone_t | set_tz (timezone_t tz) |
| static bool | revert_tz (timezone_t tz) |
| struct tm * | localtime_rz (timezone_t tz, time_t const *t, struct tm *tm) |
| time_t | mktime_z (timezone_t tz, struct tm *tm) |
Variables | |
| static timezone_t const | local_tz = (timezone_t) 1 |
| #define SIZE_MAX ((size_t) -1) |
Referenced by save_abbr().
|
static |
|
static |
Referenced by save_abbr(), and tzalloc().
|
static |
Referenced by set_tz().
| struct tm* localtime_rz | ( | timezone_t | tz, |
| time_t const * | t, | ||
| struct tm * | tm | ||
| ) |
| time_t mktime_z | ( | timezone_t | tz, |
| struct tm * | tm | ||
| ) |
|
static |
|
static |
|
static |
|
static |
| timezone_t tzalloc | ( | char const * | name | ) |
| void tzfree | ( | timezone_t | tz | ) |
Referenced by revert_tz(), and set_tz().
|
static |
Referenced by revert_tz(), set_tz(), and tzfree().
1.8.13