2
2
This file is part of CDO. CDO is a collection of Operators to
3
3
manipulate and analyse Climate model Data.
5
Copyright (C) 2003-2009 Uwe Schulzweida, Uwe.Schulzweida@zmaw.de
5
Copyright (C) 2003-2010 Uwe Schulzweida, Uwe.Schulzweida@zmaw.de
6
6
See COPYING file for copying and redistribution conditions.
8
8
This program is free software; you can redistribute it and/or modify
38
38
#define MAX_LINE_LEN 4096
42
42
int nptype, namitf, namitl;
43
43
char lineac[MAX_LINE_LEN], lineuc[MAX_LINE_LEN], linelc[MAX_LINE_LEN];
56
typedef struct _NML_LINE NML_LINE;
57
typedef struct _NML_ENTRY NML_ENTRY;
65
NML_ENTRY *entry[MAX_NML_ENTRY];
68
typedef struct _NAMELIST NAMELIST;
70
NAMELIST *namelistNew(const char *name);
71
void namelistDelete(NAMELIST *nml);
72
void namelistClear(NAMELIST *nml);
73
void namelistDebug(int debug);
74
int namelistAdd(NAMELIST *nml, const char *name, int type, int dis, void *ptr, size_t size);
75
void namelistPrint(NAMELIST *nml);
76
void namelistRead(FILE *nmlfp, NAMELIST *nml);
77
int namelistNum(NAMELIST *nml, const char *name);
62
nml_entry_t *entry[MAX_NML_ENTRY];
66
namelist_t *namelistNew(const char *name);
67
void namelistDelete(namelist_t *nml);
68
void namelistReset(namelist_t *nml);
69
int namelistAdd(namelist_t *nml, const char *name, int type, int dis, void *ptr, size_t size);
70
void namelistPrint(namelist_t *nml);
71
void namelistRead(FILE *nmlfp, namelist_t *nml);
72
int namelistNum(namelist_t *nml, const char *name);
79
74
#endif /* _NAMELIST_H */