annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
282
918db59d3814 [gaim-migrate @ 292]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
1 /*
918db59d3814 [gaim-migrate @ 292]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
2 * Administrative things for libfaim.
918db59d3814 [gaim-migrate @ 292]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
3 *
918db59d3814 [gaim-migrate @ 292]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
4 * Changes by EWarmenhoven Wed May 31 00:31:52 UTC 2000
918db59d3814 [gaim-migrate @ 292]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
5 * - I don't wanna use aim_buildcode! :) I'll put the things that get made
918db59d3814 [gaim-migrate @ 292]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
6 * by the .sh file into Makefile.am and hopefully that'll work better.
918db59d3814 [gaim-migrate @ 292]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
7 *
918db59d3814 [gaim-migrate @ 292]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
8 */
918db59d3814 [gaim-migrate @ 292]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
9
918db59d3814 [gaim-migrate @ 292]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
10 #include <faim/aim.h>
918db59d3814 [gaim-migrate @ 292]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
11 /* #include <aim_buildcode.h> /* generated by mkbuildinfo.sh */
918db59d3814 [gaim-migrate @ 292]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
12
918db59d3814 [gaim-migrate @ 292]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
13 long long aim_getbuilddate(void)
918db59d3814 [gaim-migrate @ 292]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
14 {
918db59d3814 [gaim-migrate @ 292]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
15 return AIM_BUILDDATE;
918db59d3814 [gaim-migrate @ 292]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
16 }
918db59d3814 [gaim-migrate @ 292]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
17
918db59d3814 [gaim-migrate @ 292]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
18 long long aim_getbuildtime(void)
918db59d3814 [gaim-migrate @ 292]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
19 {
918db59d3814 [gaim-migrate @ 292]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
20 return AIM_BUILDTIME;
918db59d3814 [gaim-migrate @ 292]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
21 }
918db59d3814 [gaim-migrate @ 292]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
22
918db59d3814 [gaim-migrate @ 292]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
23 char *aim_getbuildstring(void)
918db59d3814 [gaim-migrate @ 292]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
24 {
918db59d3814 [gaim-migrate @ 292]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
25 static char string[100];
918db59d3814 [gaim-migrate @ 292]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
26
918db59d3814 [gaim-migrate @ 292]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
27 snprintf(string, 99, "%d.%d.%d-%Ld%Ld",
918db59d3814 [gaim-migrate @ 292]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
28 FAIM_VERSION_MAJOR,
918db59d3814 [gaim-migrate @ 292]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
29 FAIM_VERSION_MINOR,
918db59d3814 [gaim-migrate @ 292]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
30 FAIM_VERSION_MINORMINOR,
918db59d3814 [gaim-migrate @ 292]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
31 aim_getbuilddate(),
918db59d3814 [gaim-migrate @ 292]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
32 aim_getbuildtime());
918db59d3814 [gaim-migrate @ 292]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
33 return string;
918db59d3814 [gaim-migrate @ 292]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
34 }
918db59d3814 [gaim-migrate @ 292]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
35