Main Page | Class List | Directories | File List | Class Members | File Members

iniconfig.h File Reference

configuration files More...

#include "instctrl.h"
#include "telescope.h"

Go to the source code of this file.

Defines

#define __iniconfig_h   1

Functions

int init_configfile (void)
 (constructor) initializes the ini file configuration system and loads the parameter for all other .c files (modules)
int inifile_update_sequence_context ()
 updates the sequence context information received from the CCU using the information in the goccia.ini file
int inifile_finish (void)
 checks all needed files for accessability
int configfile_checkfiles (struct instctrl_filename_struct filenames, struct telescope_filename_struct tel_filenames)
 checks all needed files for accessability
int configfileRcheck (char *filename, char *msg)
 checks whether a file can be opend in read mode

Variables

char fitsoutput_path [1000]
char fitsoutput_prefix [1000]
char fitsoutput_suffix [1000]
char fitsoutput_replacekeyname [1000]
char fitsoutput_fitsmd5name [1000]
char fitsoutput_astrometryname [1000]
int fitsoutput_filenum
char ini_name [1000]
int ccu_channels
char gui_saods9name [1000]
char fitsoutput_sextractorname [1000]
char fitsoutput_sexfilename [1000]


Detailed Description

configuration files

Copyright (C) 2001-2003 Dirk Huenniger (dhun@astro.uni-bonn.de)

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, version 2.


Function Documentation

int configfile_checkfiles struct instctrl_filename_struct  filenames,
struct telescope_filename_struct  tel_filenames
 

checks all needed files for accessability

Parameters:
filenames the filenames of the instrument control system
tel_filenames the filename(s) of the telescope control system
Returns:
int error code
This function checks all needed files for accessability.

int configfileRcheck char *  filename,
char *  msg
 

checks whether a file can be opend in read mode

Parameters:
filename the file to be checked
msg a human readable string descibing the purpose of the file
Returns:
int error code
This function checks whether a file can be opend read mode. Otherwise it print an error message.

int inifile_finish void   ) 
 

checks all needed files for accessability

Returns:
int error code
This function checks all needed files for accessability.

int inifile_update_sequence_context  ) 
 

updates the sequence context information received from the CCU using the information in the goccia.ini file

Returns:
int error code
This function updates the sequence context information received from the CCU using the information in the goccia.ini file

int init_configfile void   ) 
 

(constructor) initializes the ini file configuration system and loads the parameter for all other .c files (modules)

Returns:
int error code
This function initialized the ini file configuration system and loads the parameter for all other .c files (modules)


Variable Documentation

int ccu_channels
 

the number of channels to be read out simutaneously

char fitsoutput_astrometryname[1000]
 

the command to run a script to optimize the astrometry of the system

int fitsoutput_filenum
 

the serial number of the current file

char fitsoutput_fitsmd5name[1000]
 

the command to calculate the md5sum of the datasection of a .fits file

char fitsoutput_path[1000]
 

the path to write .fits files

char fitsoutput_prefix[1000]
 

the filename prefix for .fits files

char fitsoutput_replacekeyname[1000]
 

the command to replace a key in a .fits file

char fitsoutput_sexfilename[1000]
 

the name of the output file of sextractor

char fitsoutput_sextractorname[1000]
 

the command to run sextrctor

char fitsoutput_suffix[1000]
 

the filename suffix for .fits files

char gui_saods9name[1000]
 

the command to run a fits viewer

char ini_name[1000]
 

the name of the main ini file


Generated on Fri Dec 16 22:23:39 2005 for gboccia by  doxygen 1.4.2