Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Friday, October 16, 2026

Diff for libcfg+/src/parse.c between version 1.10 and 1.11

version 1.10, 2002/02/17 15:18:45 version 1.11, 2002/02/18 21:34:56
Line 42  int cfg_get_next_opt(const CFG_CONTEXT c
Line 42  int cfg_get_next_opt(const CFG_CONTEXT c
                 : cfg_cfgfile_get_next_opt(con);                  : cfg_cfgfile_get_next_opt(con);
 }  }
   
   /* OBSOLETE FUNCTION
 char *cfg_get_opt_arg(const CFG_CONTEXT con)  char *cfg_get_opt_arg(const CFG_CONTEXT con)
 {  {
         return con->cur_arg;          return con->cur_arg;
 }  }
   */
 char *cfg_get_cur_opt(const CFG_CONTEXT con)  char *cfg_get_cur_opt(const CFG_CONTEXT con)
 {  {
         return con->cur_opt;          return con->cur_opt;
Line 59  char *cfg_get_cur_arg(const CFG_CONTEXT
Line 60  char *cfg_get_cur_arg(const CFG_CONTEXT
   
 int cfg_get_cur_idx(const CFG_CONTEXT con)  int cfg_get_cur_idx(const CFG_CONTEXT con)
 {  {
         return con->cur_idx;          return con->type == CFG_CMDLINE
                   ? con->cur_idx
                   : (con->fhandle != NULL ? ftell(con->fhandle) : 0);
 }  }
   

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11

Platon Group <platon@platon.org> http://platon.org/
Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top