mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-12 19:33:03 +00:00
Put version into central file
SVN revision: 2466
This commit is contained in:
parent
c8db551b0e
commit
8755d9372d
16
src/elog-version.h
Normal file
16
src/elog-version.h
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
/********************************************************************
|
||||||
|
|
||||||
|
Name: elog-version.h
|
||||||
|
Created by: Stefan Ritt
|
||||||
|
|
||||||
|
Contents: Version file for all ELOG programs
|
||||||
|
|
||||||
|
$Id: elog-version.h 1 2012-06-10 12:56:11Z ritt $
|
||||||
|
|
||||||
|
\********************************************************************/
|
||||||
|
|
||||||
|
/* Version of ELOG */
|
||||||
|
#define VERSION "2.9.2"
|
||||||
|
|
||||||
|
/* ELOG identification */
|
||||||
|
static const char ELOGID[] = "elogd " VERSION " built " __DATE__ ", " __TIME__;
|
||||||
12
src/elogd.c
12
src/elogd.c
@ -1,10 +1,11 @@
|
|||||||
/********************************************************************
|
/********************************************************************
|
||||||
Name: elogd.c
|
|
||||||
Created by: Stefan Ritt
|
Name: elogd.c
|
||||||
|
Created by: Stefan Ritt
|
||||||
|
|
||||||
Contents: Web server program for Electronic Logbook ELOG
|
Contents: Web server program for Electronic Logbook ELOG
|
||||||
|
|
||||||
$Id$
|
$Id$
|
||||||
|
|
||||||
\********************************************************************/
|
\********************************************************************/
|
||||||
|
|
||||||
@ -12,9 +13,6 @@
|
|||||||
|
|
||||||
char svn_revision[] = "$Id$";
|
char svn_revision[] = "$Id$";
|
||||||
|
|
||||||
/* ELOG identification */
|
|
||||||
static const char ELOGID[] = "elogd " VERSION " built " __DATE__ ", " __TIME__;
|
|
||||||
|
|
||||||
BOOL running_as_daemon; /* Running as a daemon/service? */
|
BOOL running_as_daemon; /* Running as a daemon/service? */
|
||||||
int elog_tcp_port; /* Server's TCP port */
|
int elog_tcp_port; /* Server's TCP port */
|
||||||
|
|
||||||
|
|||||||
13
src/elogd.h
13
src/elogd.h
@ -1,15 +1,16 @@
|
|||||||
/********************************************************************
|
/********************************************************************
|
||||||
Name: elogd.h
|
|
||||||
Created by: Stefan Ritt
|
Name: elogd.h
|
||||||
|
Created by: Stefan Ritt
|
||||||
|
|
||||||
Contents: Header file for ELOG program
|
Contents: Header file for ELOG program
|
||||||
|
|
||||||
$Id: elogd.c 2354 2011-01-10 11:53:11Z ritt $
|
$Id: elogd.c 2354 2011-01-10 11:53:11Z ritt $
|
||||||
|
|
||||||
\********************************************************************/
|
\********************************************************************/
|
||||||
|
|
||||||
/* Version of ELOG */
|
/* Include version from central version file */
|
||||||
#define VERSION "2.9.2"
|
#include "elog-version.h"
|
||||||
|
|
||||||
#define _GNU_SOURCE
|
#define _GNU_SOURCE
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user