9 #ifndef MGRIDFORCEPARAMS_H
10 #define MGRIDFORCEPARAMS_H
18 #define MGRIDFORCEPARAMS_DEFAULTKEY "BaseGridForceParams"
59 while (head != NULL) {
83 }
else return &(head->elem);
92 if (!strcasecmp(s,
"on"))
return 1;
93 if (!strcasecmp(s,
"off"))
return 0;
94 if (!strcasecmp(s,
"true"))
return 1;
95 if (!strcasecmp(s,
"false"))
return 0;
96 if (!strcasecmp(s,
"yes"))
return 1;
97 if (!strcasecmp(s,
"no"))
return 0;
98 if (!strcasecmp(s,
"1"))
return 1;
99 if (!strcasecmp(s,
"0"))
return 0;
MGridforceParams * get_first()
int index_for_key(const char *key)
static int atoBool(const char *s)
MGridforceParams * find_key(const char *key)
void unpack_data(MIStream *msg)
MGridforceParams * add(const char *key)
void pack_data(MOStream *msg)
MGridforceParams * at_index(int idx)