int ini_find_port (char *port, char *param) { char key[MAX_KEY_SIZE]; KEY_PORT (key, sizeof(key), port, param); return ini_find (key); }
int ini_getbool_port (int *value, char *port, char *param) { char key[MAX_KEY_SIZE]; KEY_PORT (key, sizeof(key), port, param); if (ini_getbool (value, key)) return 1; return ini_getbool_id (value, param); }
int ini_getdouble_port (double *value, char *port, char *param) { char key[MAX_KEY_SIZE]; KEY_PORT (key, sizeof(key), port, param); if (ini_getdouble (value, key)) return 1; return ini_getdouble_id (value, param); }
int ini_getstr_port (char **value, char *port, char *param) { char key[MAX_KEY_SIZE]; KEY_PORT (key, port, param); if (ini_getstr (value, key)) return 1; return ini_getstr_id (value, param); }