working...

git-svn-id: file:///home/jan/tmp/wetterstation/trunk@71 dd492736-c11a-0410-ad51-8c26713eaf7f
This commit is contained in:
losinshi 2006-09-07 18:30:21 +00:00
parent 3b26d8cdb9
commit 8a06a29dea
3 changed files with 7 additions and 0 deletions

View File

@ -71,6 +71,7 @@ int read_str(const char *line, void *arg){
int read_int(const char *line, void *arg){
int *dest = arg;
*dest = atoi(line);
return 1;
}
/* lesen, ob id's aus der Datenbank gelesen werden sollen oder nicht */

View File

@ -88,7 +88,9 @@ static int read_time(const char *line, void *arg){
mult = 1;
}
}
*dest = atol(line) * mult;
return 1;
}

View File

@ -31,8 +31,10 @@
#include "image_config.h"
/* Optionen des Bildes */
image_cfg img_cfg;
/* Handelt ein Bild */
void process_image_cfg(char *image_cfg_file){
get_image_cfg(image_cfg_file);
@ -56,6 +58,8 @@ void process_image_cfg(char *image_cfg_file){
}
/* Checkt ob es wieder an der Zeit ist ein File
* neu zu erstellen */
int check_file_interval(){
struct stat stat_buff;