RouteX Document Router Toolkit
Main Functions Types & Errors Query Language Demo Home

rxCloseRouterDatabase

Opens an existing database of queries. This database must have previously been created at some time by a call to rxCreateRouterDatabase.

Synopsis

void rxOpenRouterDatabase( RouteX Router, char *FileName, StatusCodeT *Status )

Arguments

Router The RouteX object you are deleting
FileName The name and path of the database you wish to open.
Status A pointer to a value of type StatusCodeT. If an error occurs during the execution of the function a value representing the error will be stored in *Status. You should check *Status after every function call.

Returns

Nothing.

Related Functions

rxCreateRouterDatabase, rxOpenRouterDatabase

Example


rxOpenRouterDatabase( Router, "d:\routing\queries.rdb", 1000, Status);



if ( *Status < 0 ) {

   printerror( Status );

   return; // error

}



// 

// rest of program using this particular routing database goes here

// 



rxCloseRouterDatabase( Router, Status ); 



if ( *Status < 0 ) {

   printerror( Status );

   return; // error

}

 

Previous Main Next Home

Copyright 2000 Lextek International