annotate libfaim/aim_meta.c @ 283:0f14e6d8a51b

[gaim-migrate @ 293] - Good fun things here. Sometimes I think Adam does things just to make it difficult for me, I swear (j/k :) ). - I moved all the .h files into the faim/ directory because I'm tired of changing faim/aim.h to just aim.h every time Adam makes an update. - libfaim can now send messages much longer than WinAIM or TOC can. But, the length checking code is still in conversation.c, and I haven't changed it yet, mostly because I'm lazy. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Wed, 31 May 2000 03:20:11 +0000
parents 918db59d3814
children b402a23f35df
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
283
0f14e6d8a51b [gaim-migrate @ 293]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 282
diff changeset
13 char *aim_getbuilddate(void)
282
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
283
0f14e6d8a51b [gaim-migrate @ 293]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 282
diff changeset
18 char *aim_getbuildtime(void)
282
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
283
0f14e6d8a51b [gaim-migrate @ 293]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 282
diff changeset
27 snprintf(string, 99, "%d.%d.%d-%s%s",
282
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