Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Sobota, 17. október 2026

Rozdiely pre libcfg+/src/cfg+.h medzi verziami 1.40 a 1.41

verzia 1.40, 2002/07/15 14:45:54 verzia 1.41, 2002/07/15 16:17:02
Riadok 252  enum cfg_property_type {
Riadok 252  enum cfg_property_type {
         /** Array of strings which forces to stop command line parsing. */          /** Array of strings which forces to stop command line parsing. */
         CFG_LINE_STOP_STRING = 0,          CFG_LINE_STOP_STRING = 0,
   
         /** default: "-" */          /** Command line short option prefix (default: "-") */
         CFG_LINE_SHORT_OPTION_PREFIX = 1,          CFG_LINE_SHORT_OPTION_PREFIX = 1,
   
         /** default: "--" */          /** Command line long option prefix (default: "--") */
         CFG_LINE_LONG_OPTION_PREFIX = 2,          CFG_LINE_LONG_OPTION_PREFIX = 2,
   
         /** Command line option argument separator (default: "=") */          /** Command line option argument separator (default: "=") */
Riadok 420  struct cfg_context {
Riadok 420  struct cfg_context {
         /** Context type (command line or config file) */          /** Context type (command line or config file) */
         enum cfg_context_type type;          enum cfg_context_type type;
   
           /** Possition range */
           long begin_pos;
           long end_pos;
   
         /** Flags */          /** Flags */
         int flags;          int flags;
   
Riadok 436  struct cfg_context {
Riadok 440  struct cfg_context {
         char **prop[CFG_N_PROPS];          char **prop[CFG_N_PROPS];
   
         /** Currents */          /** Currents */
         int cur_idx;          long cur_idx;
         int cur_idx_tmp;          long cur_idx_tmp;
         int cur_opt_type;          int  cur_opt_type;
   
         /** Current option string */          /** Current option string */
         char *cur_opt;          char *cur_opt;
Riadok 453  struct cfg_context {
Riadok 457  struct cfg_context {
          */           */
         /*@{*/          /*@{*/
   
         int argc;          /* int argc; */
         char **argv;          char **argv;
   
         /*@}*/          /*@}*/
Riadok 463  struct cfg_context {
Riadok 467  struct cfg_context {
          */           */
         /*@{*/          /*@{*/
   
         long begin_pos;  
         long end_pos;  
         char *filename;          char *filename;
         FILE *fhandle;          FILE *fhandle;
   
Riadok 507  extern "C" {
Riadok 509  extern "C" {
          * @return                      initialized command line context           * @return                      initialized command line context
          */           */
         CFG_CONTEXT cfg_get_cmdline_context(          CFG_CONTEXT cfg_get_cmdline_context(
                         int argc,                          long argc,
                         char **argv,                          char **argv,
                         struct cfg_option *options);                          struct cfg_option *options);
   
Riadok 536  extern "C" {
Riadok 538  extern "C" {
          */           */
         void cfg_set_cmdline_context(          void cfg_set_cmdline_context(
                         const CFG_CONTEXT con,                          const CFG_CONTEXT con,
                         int argc,                          long argc,
                         char **argv);                          char **argv);
   
         /**          /**

Legend:
Odstranené z verzie1.40  
zmenené riadky
  Pridané vo verzii1.41

Platon Group <platon@platon.sk> http://platon.sk/
Copyright © 2002-2006 Platon Group
Stránka používa redakčný systém Metafox
Na začiatok