diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2004-12-23 10:34:49 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2004-12-23 10:34:49 +0000 |
commit | ae18678b4f531962950e799c4fc7d3f5320ba247 (patch) | |
tree | 4fb58940a4acd519dcfbc6971c9e6e255416faa6 /sal | |
parent | 61f9f45abdac792e2eeb85102dad1d7a34a54f2a (diff) |
INTEGRATION: CWS mhu05 (1.5.330); FILE MERGED
2004/11/25 18:33:18 mhu 1.5.330.1: #i37371# Fixed 'strategy for retrieval of bootstrap values' documentation, clarifying the lookup order.
Diffstat (limited to 'sal')
-rw-r--r-- | sal/inc/rtl/bootstrap.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/sal/inc/rtl/bootstrap.h b/sal/inc/rtl/bootstrap.h index 6f8520275565..eca94965c260 100644 --- a/sal/inc/rtl/bootstrap.h +++ b/sal/inc/rtl/bootstrap.h @@ -2,9 +2,9 @@ * * $RCSfile: bootstrap.h,v $ * - * $Revision: 1.5 $ + * $Revision: 1.6 $ * - * last change: $Author: dbo $ $Date: 2002-10-21 15:08:19 $ + * last change: $Author: vg $ $Date: 2004-12-23 11:34:49 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -75,7 +75,7 @@ extern "C" { minimum bootstrap settings for every application by excplitly or implicitly passing the values to the application.<p> - 4-LEVEL STRATEGY FOR RETRIEVAL OF BOOTSTRAP VALUES :<p> + 5-LEVEL STRATEGY FOR RETRIEVAL OF BOOTSTRAP VALUES :<p> The 1st level is tried first. On failure, the next level is tried. Every query starts at the first level again, so @@ -88,21 +88,21 @@ extern "C" { if an ini-file exists (espicially useful for e.g. daemons that want to start an executable with dynamical changing settings).<p> - 3rd level: ini-files. Every application looks for an ini-file. + 3rd level: environment variables. The application tries to get the + setting from the environment.<p> + + 4th level: ini-files. Every application looks for an ini-file. The filename defaults to /absoulte/path/to/executable[rc|.ini] (without .bin or .exe suffix). The ini-filename can be set by the special command line parameter '-env:INIFILENAME=/absolute/path/to/inifile' at runtime or it may be set at compiletime by an API-call.<p> - 4th level: environment variables. The application tries to get the - setting from the environment.<p> - 5th level: default. An application can have some default settings decided at compile time, which allow the application to run even with no deployment settings. <p> - If neither of the 4 levels leads to an successful retrieval of the value + If neither of the 5 levels leads to an successful retrieval of the value (no default possible), the application may fail to start.<p> NAMING CONVENTIONS <p> |