das2C
das core C utilities (v3)
Loading...
Searching...
No Matches
dsdf.h
Go to the documentation of this file.
1/* Copyright (C) 2015-2017 Chris Piker <chris-piker@uiowa.edu>
2 *
3 * This file is part of das2C, the Core Das2 C Library.
4 *
5 * Das2C is free software; you can redistribute it and/or modify it under
6 * the terms of the GNU Lesser General Public License version 2.1 as published
7 * by the Free Software Foundation.
8 *
9 * Das2C is distributed in the hope that it will be useful, but WITHOUT ANY
10 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for
12 * more details.
13 *
14 * You should have received a copy of the GNU Lesser General Public License
15 * version 2.1 along with das2C; if not, see <http://www.gnu.org/licenses/>.
16 */
17
18
21#ifndef _dsdf_h_
22#define _dsdf_h_
23
24#include <das3/descriptor.h>
25
26#ifdef __cplusplus
27extern "C" {
28#endif
29
46DAS_API DasDesc* dsdf_parse(const char* sFileName);
47
48
63DAS_API double* dsdf_valToArray(const char* sValue, size_t* pLen);
64
65
73DAS_API const char* dsdf_setIdlBin(const char* sIdlBin);
74
75
76
101 const char* sRawParam, char* sNormParam, size_t uNormLen
102);
103
106#ifdef __cplusplus
107}
108#endif
109
110#endif /* _dsdf_h_ */
DAS_API char * dsdf_valToNormParam(const char *sRawParam, char *sNormParam, size_t uNormLen)
Normalize a general reader command line parameter set.
DAS_API double * dsdf_valToArray(const char *sValue, size_t *pLen)
Helper function to parse a DSDF value as a double array.
DAS_API DasDesc * dsdf_parse(const char *sFileName)
Parse a DSDF file into a descriptor object.
DAS_API const char * dsdf_setIdlBin(const char *sIdlBin)
Set the location of the IDL binary.
Base structure for Stream Header Items.
Definition descriptor.h:74