Rozdiely pre libcfg+/src/parse.c medzi verziami 1.12 a 1.13
| verzia 1.12, 2002/02/25 18:45:56 |
verzia 1.13, 2002/04/08 20:57:35 |
| Riadok 46 cfg_get_next_opt(con) |
|
| Riadok 46 cfg_get_next_opt(con) |
|
| : cfg_cfgfile_get_next_opt(con); |
: cfg_cfgfile_get_next_opt(con); |
| } |
} |
| |
|
| /* OBSOLETE FUNCTION |
|
| char * |
|
| cfg_get_opt_arg(con) |
|
| const CFG_CONTEXT con; |
|
| { |
|
| return con->cur_arg; |
|
| } |
|
| */ |
|
| char * |
char * |
| cfg_get_cur_opt(con) |
cfg_get_cur_opt(con) |
| const CFG_CONTEXT con; |
const CFG_CONTEXT con; |
| Riadok 74 cfg_get_cur_idx(con) |
|
| Riadok 66 cfg_get_cur_idx(con) |
|
| { |
{ |
| return con->type == CFG_CMDLINE |
return con->type == CFG_CMDLINE |
| ? con->cur_idx |
? con->cur_idx |
| : (con->fhandle != NULL ? ftell(con->fhandle) : 0); |
: (con->flags & CFG_FILE_LINE_USAGE |
| |
? con->cur_idx |
| |
: (con->fhandle != NULL ? (int) ftell(con->fhandle) : 0)); |
| } |
} |
| |
|
Platon Group <platon@platon.sk> http://platon.sk/
|
|