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

Rozdiely pre libcfg+/src/cfg+.h medzi verziami 1.5 a 1.6

verzia 1.5, 2001/10/11 13:27:34 verzia 1.6, 2001/10/16 18:22:17
Riadok 101  enum cfg_option_type {
Riadok 101  enum cfg_option_type {
         CFG_STR = 8,          CFG_STR = 8,
         CFG_STRING = 8,          CFG_STRING = 8,
   
         /* End (to mark last item in list). */          /* End (to mark last item in list). */
         CFG_END = 0,          CFG_END = 0,
   
         /* Single, multi or multi separated. Single by default. */          /* Single, multi or multi separated. Single by default. */
Riadok 177  struct cfg_context {
Riadok 177  struct cfg_context {
         /* The question is, if it is needed to have this implemented. */          /* The question is, if it is needed to have this implemented. */
         char **short_option_prefix; /* default: "-" */          char **short_option_prefix; /* default: "-" */
         char **long_option_prefix; /* default: "--" */          char **long_option_prefix; /* default: "--" */
         char **option_arg_separator; /* default: "=" */          char **line_option_arg_separator; /* default: "=" */
   
         /*          /*
          * Config file specific properties.           * Config file specific properties.
Riadok 192  struct cfg_context {
Riadok 192  struct cfg_context {
   
         /* Array of string prefixes which mark comment line. */          /* Array of string prefixes which mark comment line. */
         char **comment_str;          char **comment_str;
   
           char **file_option_arg_separator; /* default: "=" */
 };  };
   
 typedef struct cfg_context* CFG_CONTEXT;  typedef struct cfg_context* CFG_CONTEXT;
Riadok 262  void cfg_add_cfgfile_comment_str(
Riadok 264  void cfg_add_cfgfile_comment_str(
                                                 char *str                                                  char *str
                                                 );                                                  );
   
   void cfg_clear_cmdline_short_option_prefix(
                                                   const CFG_CONTEXT con
                                                   );
   
   void cfg_add_cmdline_short_option_prefix(
                                                   const CFG_CONTEXT con,
                                                   char *str
                                                   );
   
   void cfg_clear_cmdline_long_option_prefix(
                                                   const CFG_CONTEXT con
                                                   );
   
   void cfg_add_cmdline_long_option_prefix(
                                                   const CFG_CONTEXT con,
                                                   char *str
                                                   );
   
   void cfg_clear_cmdline_option_arg_separator(
                                                   const CFG_CONTEXT con
                                                   );
   
   void cfg_add_cmdline_option_arg_separator(
                                                   const CFG_CONTEXT con,
                                                   char *str
                                                   );
   
   void cfg_clear_cfgfile_option_arg_separator(
                                                   const CFG_CONTEXT con
                                                   );
   
   void cfg_add_cfgfile_option_arg_separator(
                                                   const CFG_CONTEXT con,
                                                   char *str
                                                   );
   
   
 /* Processing context options. */  /* Processing context options. */
   
 int cfg_parse(  int cfg_parse(

Legend:
Odstranené z verzie1.5  
zmenené riadky
  Pridané vo verzii1.6

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