home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 18 REXX / 18-REXX.zip / rxasync2.zip / FILEFUNC.H < prev    next >
Text File  |  1994-12-26  |  2KB  |  47 lines

  1. /*****************************************************************************/
  2. /*                                                                           */
  3. /*  MODULE         FILEFUNC.H                                                */
  4. /*                                                                           */
  5. /*  VERSION        Version 2.0 - 26th Dec 1994                               */
  6. /*                                                                           */
  7. /*  COPYRIGHT      Copyright (c) 1993, 1994 by Crucial Applications          */
  8. /*                             All rights reserved.                          */
  9. /*                                                                           */
  10. /*  DESCRIPTION    Header file for FILEFUNC.C File System Functions          */
  11. /*                                                                           */
  12. /*****************************************************************************/
  13.  
  14. #ifndef FILEFUNC_H_INCLUDED
  15. #define FILEFUNC_H_INCLUDED
  16.  
  17. /*********************************************************************/
  18. /* General definitions                                               */
  19. /*********************************************************************/
  20.  
  21. #define  DRIVE_DELIM_CH  ':'           /* Drive delimiter as char    */
  22. #define  PATH_DELIM_CH   '\\'          /* Path delimiter  as char    */
  23. #define  FILE_DELIM_CH   '.'           /* File delimiter  as char    */
  24.  
  25. /*********************************************************************/
  26. /* Prototypes                                                        */
  27. /*********************************************************************/
  28.  
  29. BOOL fFileExists( PSZ pszFileName );
  30. BOOL fFileDelete( PSZ pszFileName );
  31. BOOL fFileCopy( PSZ pszFromName, PSZ pszToName );
  32. BOOL fFileRename( PSZ pszFromName, PSZ pszToName );
  33. BOOL fFileMove( PSZ pszFromName, PSZ pszToName );
  34.  
  35. VOID FileNameIs( PSZ pszFile, PSZ pszName );
  36. VOID FilePathIs( PSZ pszFile, PSZ pszPath );
  37. VOID FileChgDir( PSZ pszNewDir );
  38. VOID FileGetDir( PSZ pszCurDir );
  39.  
  40. /*********************************************************************/
  41.  
  42. #endif
  43.  
  44. /*********************************************************************/
  45. /* END MODULE                                                        */
  46. /*********************************************************************/
  47.