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

rxEndDocument

Tells RouteX that you are finished parsing a document. This must be called before calling rxStartDocument again.

Synopsis

void rxEndDocument( RouteX Router, StatusCodeT *Status )

Arguments

Router The RouteX object you are deleting
 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

rxStartRoutingBatch, rxEndRoutingBatch, rxStartDocument

Example


void ParseDoc( char *docname ) 

{

   rxStartDocument( Router, docname, strlen( docname ), Status );



   if ( Status < 0 ) {

      return;  // error - print later

   }



   // some function to open the file and parse the words

   ParseWords( docname );



   if ( Status < 0 ) {

      return;

   }



   rxEndDocument( Router, *Status );

}

 

Previous Main Next Home

Copyright 2000 Lextek International