Subversion Repositories public

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
43 root 1
/***************************************************************************
2
 *   Copyright (C) 2007 by Andreas Theofilu   *
3
 *   andreas@TheoSys.at   *
4
 *                                                                         *
5
 *   This program is free software; you can redistribute it and/or modify  *
6
 *   it under the terms of the GNU General Public License as published by  *
7
 *   the Free Software Foundation; either version 2 of the License, or     *
8
 *   (at your option) any later version.                                   *
9
 *                                                                         *
10
 *   This program is distributed in the hope that it will be useful,       *
11
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
12
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
13
 *   GNU General Public License for more details.                          *
14
 *                                                                         *
15
 *   You should have received a copy of the GNU General Public License     *
16
 *   along with this program; if not, write to the                         *
17
 *   Free Software Foundation, Inc.,                                       *
18
 *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
19
 ***************************************************************************/
20
 
21
#ifndef _helper_h
22
#define _helper_h
23
 
24
#ifndef BOOL
25
typedef unsigned char BOOL;
26
#endif
27
 
28
#ifndef TRUE
29
#define TRUE	1
30
#endif
31
 
32
#ifndef FALSE
33
#define FALSE	0
34
#endif
35
 
36
extern int MonLeiste[];
37
 
38
int ComputeSize (int OrgLen, int NewLen, int OrgSize);
39
void date_int (int *day, int *mon, int *year, long date);
40
double integer (double zahl);
41
double round (double zahl, int prez);
42
long get_date (char *sdate);
43
long get_gebos_date (char *sdate, int kenn);
44
void set_feb (int year);
45
long DateToDay (long date);
46
long DayToDate (long days);
47
long make_date (int day, int mon, int year);
48
char *PointNumber (double Zahl, int prec, char *ret);
49
 
50
#endif		// _helper_h