OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
pml_iop_config.h File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
Include dependency graph for pml_iop_config.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  tab_atom
 

Macros

#define DEFAULT_CFG   "pml.cfg"
 
#define MAX_LINE   180
 
#define MAX_TOK   20
 
#define MAX_ENTRY   80
 
#define MAX_TAB   100
 
#define MAX_ARR   20
 

Functions

void loadconfig (char *fname)
 
char * get_cfg_s (char *tok, char *fname)
 
int get_cfg_i (char *tok, char *fname)
 
float get_cfg_f (char *tok, char *fname)
 
float * get_cfg_array (char *tok, char *fname)
 

Variables

int tab_size
 
struct tab_atom cfg_tab [MAX_TAB]
 

Macro Definition Documentation

◆ DEFAULT_CFG

#define DEFAULT_CFG   "pml.cfg"

Definition at line 8 of file pml_iop_config.h.

◆ MAX_ARR

#define MAX_ARR   20

Definition at line 13 of file pml_iop_config.h.

◆ MAX_ENTRY

#define MAX_ENTRY   80

Definition at line 11 of file pml_iop_config.h.

◆ MAX_LINE

#define MAX_LINE   180

Definition at line 9 of file pml_iop_config.h.

◆ MAX_TAB

#define MAX_TAB   100

Definition at line 12 of file pml_iop_config.h.

◆ MAX_TOK

#define MAX_TOK   20

Definition at line 10 of file pml_iop_config.h.

Function Documentation

◆ get_cfg_array()

float* get_cfg_array ( char *  tok,
char *  fname 
)

Definition at line 116 of file pml_iop_config.c.

◆ get_cfg_f()

float get_cfg_f ( char *  tok,
char *  fname 
)

Definition at line 98 of file pml_iop_config.c.

◆ get_cfg_i()

int get_cfg_i ( char *  tok,
char *  fname 
)

Definition at line 81 of file pml_iop_config.c.

◆ get_cfg_s()

char* get_cfg_s ( char *  tok,
char *  fname 
)

Definition at line 64 of file pml_iop_config.c.

◆ loadconfig()

void loadconfig ( char *  fname)

Definition at line 18 of file pml_iop_config.c.

Variable Documentation

◆ cfg_tab

struct tab_atom cfg_tab[MAX_TAB]

Definition at line 13 of file pml_iop_config.c.

◆ tab_size

int tab_size

Definition at line 12 of file pml_iop_config.c.