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.12 and 1.13

version 1.12, 2002/02/25 18:45:56 version 1.13, 2002/04/08 20:57:35
Line 46  cfg_get_next_opt(con)
Line 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;
Line 74  cfg_get_cur_idx(con)
Line 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));
 }  }
   

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.13

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