9 #ifndef MGRIDFORCEPARAMS_H 10 #define MGRIDFORCEPARAMS_H 19 #define MGRIDFORCEPARAMS_DEFAULTKEY "BaseGridForceParams" 60 while (head != NULL) {
84 }
else return &(head->elem);
93 if (!strcasecmp(s,
"on"))
return 1;
94 if (!strcasecmp(s,
"off"))
return 0;
95 if (!strcasecmp(s,
"true"))
return 1;
96 if (!strcasecmp(s,
"false"))
return 0;
97 if (!strcasecmp(s,
"yes"))
return 1;
98 if (!strcasecmp(s,
"no"))
return 0;
99 if (!strcasecmp(s,
"1"))
return 1;
100 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)