]>
Commit | Line | Data |
---|---|---|
0cc57340 | 1 | /* |
2 | * Administrative things for libfaim. | |
3 | * | |
4 | * | |
5 | */ | |
6 | ||
7 | #include <faim/aim.h> | |
8 | #include <aim_buildcode.h> /* generated by mkbuildinfo.sh */ | |
9 | ||
10 | long long aim_getbuilddate(void) | |
11 | { | |
12 | return AIM_BUILDDATE; | |
13 | } | |
14 | ||
15 | long long aim_getbuildtime(void) | |
16 | { | |
17 | return AIM_BUILDTIME; | |
18 | } | |
19 | ||
20 | char *aim_getbuildstring(void) | |
21 | { | |
22 | static char string[100]; | |
23 | ||
24 | snprintf(string, 99, "%d.%d.%d-%Ld%Ld", | |
25 | FAIM_VERSION_MAJOR, | |
26 | FAIM_VERSION_MINOR, | |
27 | FAIM_VERSION_MINORMINOR, | |
28 | aim_getbuilddate(), | |
29 | aim_getbuildtime()); | |
30 | return string; | |
31 | } | |
32 |