#include <cpl.h>
#include <string.h>
#include <strings.h>
#include <sys/types.h>
#include <regex.h>
#include <assert.h>
#include "xsh_data_instrument.h"
#include "xsh_qc_handling.h"
#include "xsh_msg.h"
#include "xsh_paf_save.h"
#include "xsh_error.h"
Go to the source code of this file.
Defines | |
#define | PAF_KEY_LEN 21 |
#define | PAF_KEY_FORMAT "%-21s " |
Functions | |
static FILE * | irplib_paf_init (const xsh_instrument *instrument, const char *recipe, const char *filename, const cpl_propertylist *primary_header) |
Open a new PAF file, output a default header. | |
static cpl_error_code | irplib_paf_dump (qc_description *pqc, const char *kwname, const cpl_propertylist *paflist, FILE *paf) |
Print a propertylist as PAF. | |
static cpl_error_code | irplib_paf_dump_int (char *key, int value, const char *comment, FILE *paf) |
Print an int-property as PAF. | |
static cpl_error_code | irplib_paf_dump_double (char *key, double value, const char *comment, FILE *paf) |
Print a double-property as PAF. | |
static cpl_error_code | irplib_paf_dump_string (char *key, const char *value, const char *comment, FILE *paf) |
Print a string-property as PAF. | |
cpl_error_code | xsh_paf_save (const xsh_instrument *instrument, const char *recipe, const cpl_propertylist *paflist, const char *filename, const char *pro_catg) |
Create a new PAF file. | |
static void | no_space (char *str) |
#define PAF_KEY_FORMAT "%-21s " |
Definition at line 58 of file xsh_paf_save.c.
Referenced by irplib_paf_dump_double(), irplib_paf_dump_int(), and irplib_paf_dump_string().
#define PAF_KEY_LEN 21 |
Definition at line 56 of file xsh_paf_save.c.
Referenced by irplib_paf_dump_double(), irplib_paf_dump_int(), irplib_paf_dump_string(), and irplib_paf_init().