[go: up one dir, main page]

File: version.c

package info (click to toggle)
linpopup 0.9.3.pre4-1
  • links: PTS
  • area: main
  • in suites: slink
  • size: 440 kB
  • ctags: 151
  • sloc: ansic: 2,102; sh: 197; makefile: 171
file content (69 lines) | stat: -rw-r--r-- 1,722 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
/* LinPopUp - A Linux enhanced port of Winpopup, running over Samba.
 * By Jean-Marc Jacquet <littleigloo@chez.com> 
 * Copyright (C) 1998 Little Igloo Org  http://www.chez.com/littleigloo
 *
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 */

#include <stdio.h>
#include <string.h>
#include "version.h"



char *
many_version_infos (char *buf)
{
  sprintf (buf, "LINPOPUP Version %s Copyright (C)%s Little Igloo Org.\nCompiled by %s on %s the %s at %s,\nUsing %s and %s. \n---",
	   PROG_VERSION, VERSION_DATE,
	   COMPILE_BY, COMPILE_HOST, COMPILE_DATE, COMPILE_TIME,
	   CC_VERSION, GTK_VERSION);
  return buf;
}



char *
a_little_version_infos (char *buf)
{
  sprintf (buf, "LINPOPUP  V%s Copyright (C) %s Little Igloo Org", PROG_VERSION, VERSION_DATE);
  return buf;
}



char *
what_is_this_stupid_programm_that_have_crashed (char *buf)
{
  sprintf (buf, "LINPOPUP  V%s", PROG_VERSION);
  return buf;
}



char *
version (char *buf)
{
  strcpy (buf, PROG_VERSION);
  return buf;
}

char *
compile_host (char *buf)
{
  strcpy (buf, COMPILE_HOST);
  return buf;
}