123 lines
3.5 KiB
C
123 lines
3.5 KiB
C
/* Automatically generated header! Do not edit! */
|
|
|
|
#ifndef _INLINE_TIMEZONE_H
|
|
#define _INLINE_TIMEZONE_H
|
|
|
|
#ifndef __INLINE_MACROS_H
|
|
#include <inline/macros.h>
|
|
#endif /* !__INLINE_MACROS_H */
|
|
|
|
#ifndef TIMEZONE_BASE_NAME
|
|
#define TIMEZONE_BASE_NAME TimezoneBase
|
|
#endif /* !TIMEZONE_BASE_NAME */
|
|
|
|
#define asctime(timeptr) \
|
|
LP1(0x72, char*, asctime, const struct tm *, timeptr, a0, \
|
|
, TIMEZONE_BASE_NAME)
|
|
|
|
#define asctime_r(timeptr, buf) \
|
|
LP2(0x78, char*, asctime_r, const struct tm *, timeptr, a0, char *, buf, a1, \
|
|
, TIMEZONE_BASE_NAME)
|
|
|
|
#define ctime(timep) \
|
|
LP1(0x60, char*, ctime, const time_t *const, timep, a0, \
|
|
, TIMEZONE_BASE_NAME)
|
|
|
|
#define ctime_r(timep, buf) \
|
|
LP2(0x66, char*, ctime_r, const time_t *const, timep, a0, char *, buf, a1, \
|
|
, TIMEZONE_BASE_NAME)
|
|
|
|
#define difftime(time1, time0) \
|
|
LP2(0x6c, double, difftime, const time_t, time1, d1, const time_t, time0, d0, \
|
|
, TIMEZONE_BASE_NAME)
|
|
|
|
#define getsystime(tv) \
|
|
LP1NR(0x8a, getsystime, struct timeval *, tv, a0, \
|
|
, TIMEZONE_BASE_NAME)
|
|
|
|
#ifndef AVOID_TIMEOFDAY
|
|
#define gettimeofday(tv, tz) \
|
|
LP2(0x96, int, gettimeofday, struct timeval *, tv, a0, const timezone_t, tz, a1, \
|
|
, TIMEZONE_BASE_NAME)
|
|
#endif
|
|
|
|
#define gmtime(timep) \
|
|
LP1(0x54, struct tm*, gmtime, const time_t *, timep, a0, \
|
|
, TIMEZONE_BASE_NAME)
|
|
|
|
#define gmtime_r(timep, tm0) \
|
|
LP2(0x5a, struct tm*, gmtime_r, const time_t *, timep, a0, struct tm *, tm0, a1, \
|
|
, TIMEZONE_BASE_NAME)
|
|
|
|
#define gmtoffset(tloc) \
|
|
LP1(0xa2, int, gmtoffset, time_t, tloc, d0, \
|
|
, TIMEZONE_BASE_NAME)
|
|
|
|
#define localtime(timep) \
|
|
LP1(0x42, struct tm*, localtime, const time_t *const, timep, a0, \
|
|
, TIMEZONE_BASE_NAME)
|
|
|
|
#define localtime_r(timep, tmp) \
|
|
LP2(0x48, struct tm*, localtime_r, const time_t *const, timep, a0, struct tm *, tmp, a1, \
|
|
, TIMEZONE_BASE_NAME)
|
|
|
|
#define localtime_rz(tz, timep, tmp) \
|
|
LP3(0x4e, struct tm*, localtime_rz, timezone_t, tz, a2, time_t const *, timep, a0, struct tm *, tmp, a1, \
|
|
, TIMEZONE_BASE_NAME)
|
|
|
|
#define mktime(tmp) \
|
|
LP1(0x36, time_t, mktime, struct tm *, tmp, a0, \
|
|
, TIMEZONE_BASE_NAME)
|
|
|
|
#define mktime_z(tz, tmp) \
|
|
LP2(0x3c, time_t, mktime_z, const timezone_t, tz, a1, struct tm *, tmp, a0, \
|
|
, TIMEZONE_BASE_NAME)
|
|
|
|
#define setsystime(tv) \
|
|
LP1NR(0x90, setsystime, struct timeval *, tv, a0, \
|
|
, TIMEZONE_BASE_NAME)
|
|
|
|
#ifndef AVOID_TIMEOFDAY
|
|
#define settimeofday(tv, tz) \
|
|
LP2(0x9c, int, settimeofday, const struct timeval *, tv, a0, const timezone_t, tz, a1, \
|
|
, TIMEZONE_BASE_NAME)
|
|
#endif
|
|
|
|
#define strftime(s, maxsize, format, t) \
|
|
LP4(0x7e, size_t, strftime, char * const, s, a0, size_t, maxsize, d0, const char *const, format, a1, const struct tm *const, t, a2, \
|
|
, TIMEZONE_BASE_NAME)
|
|
|
|
#define strftime_l(s, maxsize, format, t, locale) \
|
|
LP5(0x84, size_t, strftime_l, char * const, s, a0, size_t, maxsize, d0, const char *const, format, a1, const struct tm *const, t, a2, locale_t, locale, a3, \
|
|
, TIMEZONE_BASE_NAME)
|
|
|
|
#define time(p) \
|
|
LP1(0x30, time_t, time, time_t *, p, a0, \
|
|
, TIMEZONE_BASE_NAME)
|
|
|
|
#define tzalloc(name) \
|
|
LP1(0x24, timezone_t, tzalloc, char const *, name, a0, \
|
|
, TIMEZONE_BASE_NAME)
|
|
|
|
#define tzfree(tz) \
|
|
LP1NR(0x2a, tzfree, timezone_t, tz, a0, \
|
|
, TIMEZONE_BASE_NAME)
|
|
|
|
#define tzlocation() \
|
|
LP0(0xa8, char*, tzlocation, \
|
|
, TIMEZONE_BASE_NAME)
|
|
|
|
#define tzset() \
|
|
LP0NR(0x1e, tzset, \
|
|
, TIMEZONE_BASE_NAME)
|
|
|
|
#define underscore_add(s) \
|
|
LP1NR(0xae, underscore_add, char *, s, a0, \
|
|
, TIMEZONE_BASE_NAME)
|
|
|
|
#define underscore_remove(s) \
|
|
LP1NR(0xb4, underscore_remove, char *, s, a0, \
|
|
, TIMEZONE_BASE_NAME)
|
|
|
|
#endif /* !_INLINE_TIMEZONE_H */
|