Function : Database

NSFDbPathGet - Given a database handle, get the file name string.
----------------------------------------------------------------------------------------------------------

#include <nsfdb.h>

STATUS LNPUBLIC NSFDbPathGet(
DBHANDLE hDB,
char far *retCanonicalPathName,
char far *retExpandedPathName
);

Description :

This function takes a database handle (DBHANDLE) and returns canonical and/or expanded path specifications.

Parameters :

Sample Usage :

 
  /* Output PATH and ID info on both Dbs */
 
if (error_status = NSFDbPathGet(db_handle_src,
                                  src_canonicalpath,
                                  src_expandedpath))
      goto Exit;

  printf("Canonical Path of SRC   = %s\n", src_canonicalpath);
  printf("Expanded Path of SRC        = %s\n", src_expandedpath);


See Also :

NSFDbLocateByReplicaID
----------------------------------------------------------------------------------------------------------