| 1 | /* |
| 2 | * Copyright (C) 1998 Mark Baysinger ([email protected]) |
| 3 | * Copyright (C) 1998,1999 Ross Combs ([email protected]) |
| 4 | * Copyright (C) 1999 Rob Crittenden ([email protected]) |
| 5 | * |
| 6 | * This program is free software; you can redistribute it and/or |
| 7 | * modify it under the terms of the GNU General Public License |
| 8 | * as published by the Free Software Foundation; either version 2 |
| 9 | * of the License, or (at your option) any later version. |
| 10 | * |
| 11 | * This program is distributed in the hope that it will be useful, |
| 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 14 | * GNU General Public License for more details. |
| 15 | * |
| 16 | * You should have received a copy of the GNU General Public License |
| 17 | * along with this program; if not, write to the Free Software |
| 18 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
| 19 | */ |
| 20 | #ifndef INCLUDED_BNETTIME_TYPES |
| 21 | #define INCLUDED_BNETTIME_TYPEScxx . . $ `src/common/bnettime.h:21:9`! |
| 22 | |
| 23 | namespace pvpgncxx . . $ pvpgn/ |
| 24 | { |
| 25 | |
| 26 | typedef structcxx . . $ pvpgn/$anonymous_type_c83edbf674c01669_0# |
| 27 | { |
| 28 | #ifdef BNETTIME_INTERNAL_ACCESScxx . . $ `src/common/bnettime.cpp:19:9`! |
| 29 | unsigned int ucxx . . $ pvpgn/$anonymous_type_c83edbf674c01669_0#u.; |
| 30 | unsigned int lcxx . . $ pvpgn/$anonymous_type_c83edbf674c01669_0#l.; |
| 31 | #else |
| 32 | unsigned int _private1cxx . . $ pvpgn/$anonymous_type_c83edbf674c01669_0#_private1.; |
| 33 | unsigned int _private2cxx . . $ pvpgn/$anonymous_type_c83edbf674c01669_0#_private2.; |
| 34 | #endif |
| 35 | } t_bnettimecxx . . $ pvpgn/t_bnettime#; |
| 36 | |
| 37 | } |
| 38 | |
| 39 | #endif |
| 40 | |
| 41 | |
| 42 | /*****/ |
| 43 | #ifndef JUST_NEED_TYPEScxx . . $ `src/bnetd/account_wrap.h:25:9`! |
| 44 | #ifndef INCLUDED_BNETTIME_PROTOS |
| 45 | #define INCLUDED_BNETTIME_PROTOScxx . . $ `src/common/bnettime.h:45:9`! |
| 46 | |
| 47 | #include <ctime> |
| 48 | #define JUST_NEED_TYPEScxx . . $ `src/common/bnettime.h:48:9`! |
| 49 | #include "common/bn_type.h"cxx . . $ `<file>/src/common/bn_type.h`/ |
| 50 | #undef JUST_NEED_TYPEScxx . . $ `src/common/bnettime.h:48:9`! |
| 51 | |
| 52 | namespace pvpgncxx . . $ pvpgn/ |
| 53 | { |
| 54 | |
| 55 | extern t_bnettimecxx . . $ pvpgn/t_bnettime# secs_to_bnettimecxx . . $ pvpgn/secs_to_bnettime(9aaee16a40fcc070).(double secs); |
| 56 | extern double bnettime_to_secscxx . . $ pvpgn/bnettime_to_secs(7d4cfa203a0dd875).(t_bnettimecxx . . $ pvpgn/t_bnettime# bntime); |
| 57 | extern t_bnettimecxx . . $ pvpgn/t_bnettime# time_to_bnettimecxx . . $ pvpgn/time_to_bnettime(f96d2c3d06d968c9).(stdcxx . . $ std/::time_tcxx . . $ std/time_t# stdtime, unsigned int usec); |
| 58 | extern stdcxx . . $ std/::time_tcxx . . $ std/time_t# bnettime_to_timecxx . . $ pvpgn/bnettime_to_time(f37c7c75a9c2d829).(t_bnettimecxx . . $ pvpgn/t_bnettime# bntime); |
| 59 | extern t_bnettimecxx . . $ pvpgn/t_bnettime# bnettimecxx . . $ pvpgn/bnettime(c08f2632e82bc0c).(void); |
| 60 | extern char const * bnettime_get_strcxx . . $ pvpgn/bnettime_get_str(3c7c6f20d7c4fe28).(t_bnettimecxx . . $ pvpgn/t_bnettime# bntime); |
| 61 | extern int bnettime_set_strcxx . . $ pvpgn/bnettime_set_str(faeb564d2075bce7).(t_bnettimecxx . . $ pvpgn/t_bnettime# * bntime, char const * timestr); |
| 62 | extern int local_tzbiascxx . . $ pvpgn/local_tzbias(b126dc7c1de90089).(void); |
| 63 | extern t_bnettimecxx . . $ pvpgn/t_bnettime# bnettime_add_tzbiascxx . . $ pvpgn/bnettime_add_tzbias(f1f1310dc900a45f).(t_bnettimecxx . . $ pvpgn/t_bnettime# bntime, int tzbias); |
| 64 | extern void bnettime_to_bn_longcxx . . $ pvpgn/bnettime_to_bn_long(5cee0b6c516bd57b).(t_bnettimecxx . . $ pvpgn/t_bnettime# in, bn_longcxx . . $ pvpgn/bn_long# * out); |
| 65 | extern void bn_long_to_bnettimecxx . . $ pvpgn/bn_long_to_bnettime(42c8eeb10f75b1bc).(bn_longcxx . . $ pvpgn/bn_long# in, t_bnettimecxx . . $ pvpgn/t_bnettime# * out); |
| 66 | |
| 67 | } |
| 68 | |
| 69 | #endif |
| 70 | #endif |