@param resource The login resource. If NULL a default will be created
@return 1 on successs, 0 on failure.
*/
-int osrfSystemBootstrapClientResc( char* configFile, char* contextNode, char* resource );
+int osrfSystemBootstrapClientResc( const char* configFile,
+ const char* contextNode, const char* resource );
/**
Bootstrap the server.
@param contextnode The config context
@return 0 on success, -1 on error
*/
-int osrfSystemBootstrap( char* hostName, char* configfile, char* contextNode );
+int osrfSystemBootstrap( const char* hostName, const char* configfile,
+ const char* contextNode );
transport_client* osrfSystemGetTransportClient( void );
}
-int osrfSystemBootstrap( char* hostname, char* configfile, char* contextNode ) {
+int osrfSystemBootstrap( const char* hostname, const char* configfile,
+ const char* contextNode ) {
if( !(hostname && configfile && contextNode) ) return -1;
/* first we grab the settings */
/*----------- End of routines to manage list of children --*/
-int osrfSystemBootstrapClientResc( char* config_file, char* contextnode, char* resource ) {
+int osrfSystemBootstrapClientResc( const char* config_file,
+ const char* contextnode, const char* resource ) {
int failure = 0;