ocssw
V2022
|
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <ctype.h>
#include "sensorInfo.h"
#include "genutils.h"
Include dependency graph for rdatreminfo.c:
Go to the source code of this file.
Macros | |
#define | NEWSENSINFO 32 /* use test sensor info file */ |
Functions | |
void | parseline (char *line, char *name, char *value) |
int32_t | rdatreminfo (int32_t sensorID, int32_t evalmask, const char *pname, void **pval) |
Macro Definition Documentation
◆ NEWSENSINFO
#define NEWSENSINFO 32 /* use test sensor info file */ |
Definition at line 26 of file rdatreminfo.c.
Function Documentation
◆ parseline()
void parseline | ( | char * | line, |
char * | name, | ||
char * | value | ||
) |
Definition at line 32 of file rdsensorinfo.c.
◆ rdatreminfo()
int32_t rdatreminfo | ( | int32_t | sensorID, |
int32_t | evalmask, | ||
const char * | pname, | ||
void ** | pval | ||
) |
read in atrem initialization information.
- Parameters
-
sensorID id of the sensor to lookup evalmask set to 32 to get info out of the "eval" directory pname name of the parameter to retrieve pval pointer to the requested data
- Returns
- the number of bands, -1 if error
Definition at line 38 of file rdatreminfo.c.