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

verzia 1.12, 2001/12/02 23:28:35 verzia 1.13, 2001/12/05 23:58:48
Riadok 55  enum cfg_error {
Riadok 55  enum cfg_error {
         CFG_ERROR_NOEQUAL = -10,          CFG_ERROR_NOEQUAL = -10,
   
         /* An unknown option. */          /* An unknown option. */
         CFG_ERR_UNKNOWN = -15,          CFG_ERR_UNKNOWN = -11,
         CFG_ERROR_UNKNOWN = -15,          CFG_ERROR_UNKNOWN = -11,
   
           /* File not found error. */
           CFG_ERR_FILE_NOT_FOUND = -12,
           CFG_ERROR_FILE_NOT_FOUND = -12,
   
           /* Seek error (fseek() failure). */
           CFG_ERR_SEEK_ERROR = -13,
           CFG_ERROR_SEEK_ERROR = -13,
   
         /* Internal error. */          /* Internal error. */
         CFG_ERR_INTERNAL = -20,          CFG_ERR_INTERNAL = -20,
Riadok 75  enum cfg_flag {
Riadok 83  enum cfg_flag {
         CFG_SKIP_FIRST = 0,          CFG_SKIP_FIRST = 0,
         CFG_PROCESS_FIRST = 4,          CFG_PROCESS_FIRST = 4,
   
         /*          /* TODO:
            CFG_APPEND,             CFG_APPEND,
            CFG_OVERWRITE,             CFG_OVERWRITE,
            CFG_APPEND_MULTI_ONLY             CFG_APPEND_MULTI_ONLY
Riadok 141  enum cfg_option_type {
Riadok 149  enum cfg_option_type {
   
 enum cfg_context_type {  enum cfg_context_type {
   
           /* No context. */
           CFG_NO_CONTEXT = 0,
   
         /* Command line context type. */          /* Command line context type. */
         CFG_CMDLINE = 1,          CFG_CMDLINE = 1,
         CFG_LINE = 1,          CFG_LINE = 1,
Riadok 226  struct cfg_context {
Riadok 237  struct cfg_context {
          * Config file specific properties.           * Config file specific properties.
          */           */
   
         int begin_pos;          long begin_pos;
         int end_pos;          long end_pos;
         char *filename;          char *filename;
   
         FILE *fhandle;          FILE *fhandle;
Riadok 257  extern "C" {
Riadok 268  extern "C" {
         CFG_CONTEXT cfg_get_context(struct cfg_option *options);          CFG_CONTEXT cfg_get_context(struct cfg_option *options);
   
         CFG_CONTEXT cfg_get_cmdline_context(          CFG_CONTEXT cfg_get_cmdline_context(
                                                         int argc,                          int argc,
                                                         char **argv,                          char **argv,
                                                         struct cfg_option *options);                          struct cfg_option *options);
   
         CFG_CONTEXT cfg_get_cfgfile_context(          CFG_CONTEXT cfg_get_cfgfile_context(
                                                         int begin_pos,                          long begin_pos,
                                                         int end_pos,                          long end_pos,
                                                         char *filename,                          char *filename,
                                                         struct cfg_option *options);                          struct cfg_option *options);
   
         void cfg_set_cmdline_context(          void cfg_set_cmdline_context(
                                                         const CFG_CONTEXT con,                          const CFG_CONTEXT con,
                                                         int argc,                          int argc,
                                                         char **argv);                          char **argv);
   
         void cfg_set_cfgfile_context(          void cfg_set_cfgfile_context(
                                                         const CFG_CONTEXT con,                          const CFG_CONTEXT con,
                                                         int begin_pos,                          long begin_pos,
                                                         int end_pos,                          long end_pos,
                                                         char *filename);                          char *filename);
   
         /* Context flags & special properties manipulation. */          /* Context flags & special properties manipulation. */
   

Legend:
Odstranené z verzie1.12  
zmenené riadky
  Pridané vo verzii1.13

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