pidgin/purple-plugin-pack
Clone
Summary
Browse
Changes
Graph
Re-add purple2 compatibility with #if PURPLE_VERSION_CHECK(3,0,0) blocks
2017-04-06, dx
1a752dbdf56c
Re-add purple2 compatibility with #if PURPLE_VERSION_CHECK(3,0,0) blocks
Based on previous commits between 2.7.0 and now, this is sorta like reverting
those changes partially.
/*************************************************************************
* Header file for timezone module
* by Martijn van Oosterhout <kleptog@svana.org> (C) April 2006
* Licenced under the GNU General Public Licence version 2.
*************************************************************************/
#include
<time.h>
struct
state
;
struct
state
*
timezone_load
(
const
char
*
name
);
struct
tm
*
gmtsub
(
const
time_t
*
timep
,
long
offset
,
struct
tm
*
tmp
);
struct
tm
*
localsub
(
const
time_t
*
timep
,
long
offset
,
struct
tm
*
tmp
,
struct
state
*
sp
);
int
tz_init
(
const
char
*
zoneinfo_dir
);