xflminterface IF_DbRenameStatus : public XF_RefCount


This class represents the database rename status interface. It extends XF_RefCount.  XFLAIM does not provide an implementation of this interface.  It must be implemented by the application.  It allows an application to receive status reports on the progress of a database rename operation (IF_DbSystem::dbRename).


Method Summary

RCODE  dbRenameStatus - Informs the client of the old and new names for a pending rename operations.

 

Method Detail

dbRenameStatus

    RCODE dbRenameStatus(

        char *    pszSrcFileName,

        char *    pszDstFileName);

Informs the application that called IF_DbSystem::dbRename of a pending rename operation and gives the old and new file names.  Note that the rename will abort if this function returns an error.  This gives the application the option of stopping a rename before it happens if necessary for any reason.

    Parameters In:

char * pszSrcFileName  The old file name

char * pszDestFileName

 The new file name

    Parameters Out: none

    See Also:

[Back to Top]