Mercurial > pidgin.yaz
comparison libfaim/aim_meta.c @ 282:918db59d3814
[gaim-migrate @ 292]
Libfaim is versioned.
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Wed, 31 May 2000 00:57:39 +0000 |
parents | |
children | 0f14e6d8a51b |
comparison
equal
deleted
inserted
replaced
281:7b06ba09ffe2 | 282:918db59d3814 |
---|---|
1 /* | |
2 * Administrative things for libfaim. | |
3 * | |
4 * Changes by EWarmenhoven Wed May 31 00:31:52 UTC 2000 | |
5 * - I don't wanna use aim_buildcode! :) I'll put the things that get made | |
6 * by the .sh file into Makefile.am and hopefully that'll work better. | |
7 * | |
8 */ | |
9 | |
10 #include <faim/aim.h> | |
11 /* #include <aim_buildcode.h> /* generated by mkbuildinfo.sh */ | |
12 | |
13 long long aim_getbuilddate(void) | |
14 { | |
15 return AIM_BUILDDATE; | |
16 } | |
17 | |
18 long long aim_getbuildtime(void) | |
19 { | |
20 return AIM_BUILDTIME; | |
21 } | |
22 | |
23 char *aim_getbuildstring(void) | |
24 { | |
25 static char string[100]; | |
26 | |
27 snprintf(string, 99, "%d.%d.%d-%Ld%Ld", | |
28 FAIM_VERSION_MAJOR, | |
29 FAIM_VERSION_MINOR, | |
30 FAIM_VERSION_MINORMINOR, | |
31 aim_getbuilddate(), | |
32 aim_getbuildtime()); | |
33 return string; | |
34 } | |
35 |