amiga-ntimed/include/inline/timezone.h

199 lines
5.7 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 altzone_c() \
LP0(0xcc, long, altzone_c, \
, TIMEZONE_BASE_NAME)
#define asctime(timeptr) \
LP1(0x8a, char*, asctime, const struct tm *, timeptr, a0, \
, TIMEZONE_BASE_NAME)
#define asctime_r(timeptr, buf) \
LP2(0x90, 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 ctime_rz(tz, timep, buf) \
LP3(0x6c, char *, ctime_rz, const timezone_t, tz, a2, const time_t *, timep, a0, char *, buf, a1, \
, TIMEZONE_BASE_NAME)
#define daylight_c() \
LP0(0xc0, int, daylight_c, \
, TIMEZONE_BASE_NAME)
#define difftime(time1, time0) \
LP2(0x72, double, difftime, const time_t, time1, d1, const time_t, time0, d0, \
, TIMEZONE_BASE_NAME)
#define getsystime(tv) \
LP1(0xf0, int, getsystime, struct timeval *, tv, a0, \
, TIMEZONE_BASE_NAME)
#ifndef AVOID_TIMEOFDAY
#define gettimeofday(tv, tz) \
LP2(0xfc, 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(0x11a, 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, const timezone_t, tz, a2, const 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 offtime(timep, offset) \
LP2(0x78, struct tm *, offtime, const time_t *, timep, a0, long, offset, d0, \
, TIMEZONE_BASE_NAME)
#define offtime_r(timep, offset, tmp) \
LP3(0x7e, struct tm *, offtime_r, const time_t *, timep, a0, long, offset, d0, struct tm *, tmp, a1, \
, TIMEZONE_BASE_NAME)
#define posix2time(t) \
LP1(0xe4, time_t, posix2time, time_t, t, d0, \
, TIMEZONE_BASE_NAME)
#define posix2time_z(tz, t) \
LP2(0xea, time_t, posix2time_z, const timezone_t, tz, a0, time_t, t, d0, \
, TIMEZONE_BASE_NAME)
#define setsystime(tv) \
LP1(0xf6, int, setsystime, struct timeval *, tv, a0, \
, TIMEZONE_BASE_NAME)
#ifndef AVOID_TIMEOFDAY
#define settimeofday(tv, tz) \
LP2(0x102, int, settimeofday, const struct timeval *, tv, a0, const timezone_t, tz, a1, \
, TIMEZONE_BASE_NAME)
#endif
#define stou(s) \
LP1NR(0x120, stou, char *, s, a0, \
, TIMEZONE_BASE_NAME)
#define strftime(s, maxsize, format, t) \
LP4(0x96, 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(0x9c, 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 strptime(buf, format, t) \
LP3(0xa2, char*, strptime, const char *const, buf, a0, const char *const, format, a1, struct tm *const, t, a2, \
, TIMEZONE_BASE_NAME)
#define strptime_l(buf, format, t, locale) \
LP4(0xa8, char*, strptime_l, const char *const, buf, a0, const char *const, format, a1, 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 time2posix(t) \
LP1(0xd8, time_t, time2posix, time_t, t, d0, \
, TIMEZONE_BASE_NAME)
#define time2posix_z(tz, t) \
LP2(0xde, time_t, time2posix_z, const timezone_t, tz, a0, time_t, t, d0, \
, TIMEZONE_BASE_NAME)
#define timegm(tmp) \
LP1(0xae, time_t, timegm, struct tm *, tmp, a0, \
, TIMEZONE_BASE_NAME)
#define timelocal(tmp) \
LP1(0xb4, time_t, timelocal, struct tm *, tmp, a0, \
, TIMEZONE_BASE_NAME)
#define timelocal_z(tz, tmp) \
LP2(0xba, time_t, timelocal_z, const timezone_t, tz, a1, struct tm *, tmp, a0, \
, TIMEZONE_BASE_NAME)
#define timeoff(tmp, offset) \
LP2(0x84, time_t, timeoff, struct tm *, tmp, a0, long, offset, d0, \
, TIMEZONE_BASE_NAME)
#define timezone_c() \
LP0(0xc6, long, timezone_c, \
, 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 tzgetlocation() \
LP0(0x114, const char*, tzgetlocation, \
, TIMEZONE_BASE_NAME)
#define tzgetname(tz, isdst) \
LP2(0x10e, const char *, tzgetname, const timezone_t, tz, a0, int, isdst, d0, \
, TIMEZONE_BASE_NAME)
#define tzname_c() \
LP0(0xd2, char**, tzname_c, \
, TIMEZONE_BASE_NAME)
#define tzset() \
LP0NR(0x1e, tzset, \
, TIMEZONE_BASE_NAME)
#define tzsetwall() \
LP0NR(0x108, tzsetwall, \
, TIMEZONE_BASE_NAME)
#define utos(s) \
LP1NR(0x126, utos, char *, s, a0, \
, TIMEZONE_BASE_NAME)
#endif /* !_INLINE_TIMEZONE_H */