view libfaim/aim_meta.c @ 736:d05d746384a7

[gaim-migrate @ 746] Eric the Lumberjack continues to hack away at the tree. When people ask what kinds of trees Eric hacks, he simply replied "CVS trees. They're mostly used for computer stuff". Then the ignorants go away, thinking they have been enlightened into the world of computers, which unknowingly they have been. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Tue, 22 Aug 2000 00:37:01 +0000
parents b402a23f35df
children 595ac7759563
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;
}