Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Saturday, October 17, 2026

Diff for libcfg+/src/cfg+.h between version 1.44 and 1.45

version 1.44, 2002/07/18 22:16:30 version 1.45, 2002/08/03 20:03:21
Line 269  enum cfg_property_type { /* {{{ */
Line 269  enum cfg_property_type { /* {{{ */
         CFG_LINE_LEFTOVER_MULTI_VALS_SEPARATOR = 5,          CFG_LINE_LEFTOVER_MULTI_VALS_SEPARATOR = 5,
   
         /** Command line quote prefix & postfix */          /** Command line quote prefix & postfix */
         CFG_LINE_QUOTE_PREFIX = 6,          CFG_LINE_QUOTE_PREFIX  = 6,
         CFG_LINE_QUOTE_POSTFIX = 7,          CFG_LINE_QUOTE_POSTFIX = 7,
   
         /** Array of strings prefixes which forces to stop config file parsing.          /** Array of strings prefixes which forces to stop config file parsing.
Line 295  enum cfg_property_type { /* {{{ */
Line 295  enum cfg_property_type { /* {{{ */
         CFG_FILE_LEFTOVER_MULTI_VALS_SEPARATOR = 13,          CFG_FILE_LEFTOVER_MULTI_VALS_SEPARATOR = 13,
   
         /** Config file quote prefix & postfix */          /** Config file quote prefix & postfix */
         CFG_FILE_QUOTE_PREFIX = 14,          CFG_FILE_QUOTE_PREFIX  = 14,
         CFG_FILE_QUOTE_POSTFIX = 15,          CFG_FILE_QUOTE_POSTFIX = 15,
   
         /*@}*/          /*@}*/
Line 314  enum cfg_property_type { /* {{{ */
Line 314  enum cfg_property_type { /* {{{ */
         /*@{*/          /*@{*/
   
         /** File quote prefix & postfix */          /** File quote prefix & postfix */
         CFG_QUOTE = 50,          CFG_QUOTE         = 50,
         CFG_LINE_QUOTE = 51,          CFG_LINE_QUOTE    = 51,
         CFG_FILE_QUOTE = 52,          CFG_FILE_QUOTE    = 52,
         CFG_QUOTE_PREFIX = 53,          CFG_QUOTE_PREFIX  = 53,
         CFG_QUOTE_POSTFIX = 54,          CFG_QUOTE_POSTFIX = 54,
   
         /** Multi values separator */          /** Multi values separator */
         CFG_MULTI_VALS_SEPARATOR = 55,          CFG_MULTI_VALS_SEPARATOR          = 55,
         CFG_FILE_MULTI_VALS_SEPARATOR = 56,          CFG_FILE_MULTI_VALS_SEPARATOR     = 56,
         CFG_LINE_MULTI_VALS_SEPARATOR = 57,          CFG_LINE_MULTI_VALS_SEPARATOR     = 57,
         CFG_NORMAL_MULTI_VALS_SEPARATOR = 58,          CFG_NORMAL_MULTI_VALS_SEPARATOR   = 58,
         CFG_LEFTOVER_MULTI_VALS_SEPARATOR = 59,          CFG_LEFTOVER_MULTI_VALS_SEPARATOR = 59,
   
         /** Option argument separator */          /** Option argument separator */
Line 336  enum cfg_property_type { /* {{{ */
Line 336  enum cfg_property_type { /* {{{ */
 }; /* }}} */  }; /* }}} */
 /*@}*/  /*@}*/
   
   /* used as terminator of va_list parameters */
   #define CFG_EOF CFG_N_PROPS
   
 /**  /**
  * @name Internal enumerations   * @name Internal enumerations
  */   */
Line 719  extern "C" {
Line 722  extern "C" {
          */           */
         int cfg_clear_property(          int cfg_clear_property(
                         const CFG_CONTEXT con, enum cfg_property_type type);                          const CFG_CONTEXT con, enum cfg_property_type type);
   #define cfg_clear_properties(_con, _type) cfg_clear_property((_con), (_type))
   
   
         /**          /**
          * Add string to property           * Add string to property
Line 733  extern "C" {
Line 738  extern "C" {
                         const CFG_CONTEXT con, enum cfg_property_type type, char *str);                          const CFG_CONTEXT con, enum cfg_property_type type, char *str);
   
         /**          /**
            * Add multiple strings to property
            *
            * @param con   initialized context
            * @param type  property type
            * @param str   string for addition
            * @return              1 on success, 0 on not enough memory error
            * @see                 cfg_property_type
            *
            * argument list must be termited with typeN = CFG_EOF or
            * strN = NULL
            * cfg_add_properties(con, type1, str1, type2, str2, type3=CFG_EOF) construction allowed
            */
           int cfg_add_properties(
                   const CFG_CONTEXT con, enum cfg_property_type type, char *str, ...);
   
           /**
          * Remove string from property           * Remove string from property
          *           *
          * @param con   initialized context           * @param con   initialized context

Legend:
Removed from v.1.44  
changed lines
  Added in v.1.45

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