1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
|
if ( MCore_DefineResourceElement ( "MCore", "appliDocument", "char",
&(Config->appli_document), "" ) == ERROR )
return ERROR;
i = 0; /* will get detected from dbName using /etc/services */
if ( MCore_DefineResourceElement ( "MCore", "dbPort", "int",
&(Config->port), &i ) == ERROR )
f = 6378137.0 ;
if ( MCore_DefineResourceElement ( "MCore", "datum_SemiMajorAxis", "double",
&(Config->datum_semi_majoraxis), &f ) == ERROR )
return ERROR;
F = False ;
if ( MCore_DefineResourceElement ( "MCore", "allowBadColorBehaviour", "Boolean",
&(Config->allow_bad_color_behaviour), &F ) == ERROR )
return ERROR; |
Partager