view 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
line wrap: on
line source

/*
 * Administrative things for libfaim.
 *
 * Changes by EWarmenhoven Wed May 31 00:31:52 UTC 2000
 * - I don't wanna use aim_buildcode! :) I'll put the things that get made
 *   by the .sh file into Makefile.am and hopefully that'll work better.
 *  
 */

#include <faim/aim.h>
/* #include <aim_buildcode.h> /* generated by mkbuildinfo.sh */

char *aim_getbuilddate(void)
{
  return AIM_BUILDDATE;
}

char *aim_getbuildtime(void)
{
  return AIM_BUILDTIME;
}

char *aim_getbuildstring(void)
{
  static char string[100];

  snprintf(string, 99, "%d.%d.%d-%s%s", 
	   FAIM_VERSION_MAJOR,
	   FAIM_VERSION_MINOR,
	   FAIM_VERSION_MINORMINOR,
	   aim_getbuilddate(),
	   aim_getbuildtime());
  return string;
}