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.6 and 1.7

version 1.6, 2001/11/27 17:11:30 version 1.7, 2001/11/28 20:46:51
Line 11 
Line 11 
   
 /* Processing context options. */  /* Processing context options. */
   
 int cfg_parse(  int cfg_parse(const CFG_CONTEXT con)
                                                 const CFG_CONTEXT con  
                          )  
 {  {
         return 0;          return 0;
 }  }
   
 int cfg_get_next_opt(  int cfg_get_next_opt(const CFG_CONTEXT con)
                                                 const CFG_CONTEXT con  
                                         )  
 {  {
         return con->type == CFG_CMDLINE          return con->type == CFG_CMDLINE
                 ? cfg_cmdline_get_next_opt(con)                  ? cfg_cmdline_get_next_opt(con)
                 : cfg_cfgfile_get_next_opt(con);                  : cfg_cfgfile_get_next_opt(con);
 }  }
   
 int cfg_get_opt_arg(  int cfg_get_opt_arg(const CFG_CONTEXT con)
                                                 const CFG_CONTEXT con  
                                    )  
 {  {
         return 0;          return 0;
 }  }
   
   char *cfg_get_cur_opt(const CFG_CONTEXT con)
   {
           return con->cur_opt;
   }
   
   char *cfg_get_cur_arg(const CFG_CONTEXT con)
   {
           return con->cur_arg;
   }
   
   int cfg_get_cur_idx(const CFG_CONTEXT con)
   {
           return con->cur_idx;
   }
   

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

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