Ignore:
Timestamp:
28/03/2008 22:59:28 (4 years ago)
Author:
chris
Message:

Allow configuration of the server port that the client will connect to
(bbackupd and bbackupquery).

Redesign ConfigurationVerify? to use classes instead of structs.

Use port 22011 instead of 2201 during tests, to reduce the chances of
conflicting with a running bbstored or other process.

Ignore autogen_* in svn:ignore everywhere instead of individual per-file
ignores.

Location:
box/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • box/trunk

    • Property svn:ignore
      •  

        old new  
        1111release 
        1212runtest.pl 
         13.hg 
  • box/trunk/lib/backupstore/BackupStoreConfigVerify.cpp

    r1777 r2116  
    1717static const ConfigurationVerifyKey verifyserverkeys[] =  
    1818{ 
    19         SERVERTLS_VERIFY_SERVER_KEYS(0) // no default listen addresses 
     19        SERVERTLS_VERIFY_SERVER_KEYS(ConfigurationVerifyKey::NoDefaultValue) 
     20        // no default listen addresses 
    2021}; 
    2122 
     
    3334static const ConfigurationVerifyKey verifyrootkeys[] =  
    3435{ 
    35         {"AccountDatabase",     0, ConfigTest_Exists, 0}, 
    36         {"TimeBetweenHousekeeping",     0, ConfigTest_Exists | ConfigTest_IsInt, 0}, 
    37         {"ExtendedLogging",     "no", ConfigTest_IsBool, 0},                    // make value "yes" to enable in config file 
     36        ConfigurationVerifyKey("AccountDatabase", ConfigTest_Exists), 
     37        ConfigurationVerifyKey("TimeBetweenHousekeeping", 
     38                ConfigTest_Exists | ConfigTest_IsInt), 
     39        ConfigurationVerifyKey("ExtendedLogging", ConfigTest_IsBool, false), 
     40        // make value "yes" to enable in config file 
    3841 
    3942        #ifdef WIN32 
    40                 {"RaidFileConf", "", ConfigTest_LastEntry, 0} 
     43                ConfigurationVerifyKey("RaidFileConf", ConfigTest_LastEntry) 
    4144        #else 
    42                 {"RaidFileConf", BOX_FILE_RAIDFILE_DEFAULT_CONFIG, ConfigTest_LastEntry, 0} 
     45                ConfigurationVerifyKey("RaidFileConf", ConfigTest_LastEntry, 
     46                        BOX_FILE_RAIDFILE_DEFAULT_CONFIG) 
    4347        #endif 
    44  
    4548}; 
    4649 
Note: See TracChangeset for help on using the changeset viewer.