| Line |   | 
|---|
| 1 | 
 | 
|---|
| 2 | /***********************************************************************
 | 
|---|
| 3 | 
 | 
|---|
| 4 |   $Id: pathutil.h 1545 2010-10-23 22:00:47Z gyoung $
 | 
|---|
| 5 | 
 | 
|---|
| 6 |   Path handling utility functions
 | 
|---|
| 7 | 
 | 
|---|
| 8 |   Copyright (c) 1993-98 M. Kimes
 | 
|---|
| 9 |   Copyright (c) 2001, 2009 Steven H. Levine
 | 
|---|
| 10 | 
 | 
|---|
| 11 |   05 Jan 08 SHL Move from fm3dll.h to here
 | 
|---|
| 12 |   29 Feb 08 GKY Changes to enable user settable command line length
 | 
|---|
| 13 |   28 Jun 09 GKY Added AddBackslashToPath() to remove repeatative code.
 | 
|---|
| 14 |   23 Oct 10 GKY Add ForwardslashToBackslash function to streamline code
 | 
|---|
| 15 | 
 | 
|---|
| 16 | ***********************************************************************/
 | 
|---|
| 17 | 
 | 
|---|
| 18 | #if !defined(PATHUTIL_H)
 | 
|---|
| 19 | 
 | 
|---|
| 20 | #define PATHUTIL_H
 | 
|---|
| 21 | 
 | 
|---|
| 22 | #if !defined(OS2_INCLUDED)
 | 
|---|
| 23 | #include <os2.h>
 | 
|---|
| 24 | #endif
 | 
|---|
| 25 | 
 | 
|---|
| 26 | PSZ ForwardslashToBackslash(PSZ pszPathName);
 | 
|---|
| 27 | PSZ AddBackslashToPath(PSZ pszPathName);
 | 
|---|
| 28 | PSZ BldFullPathName(PSZ pszFullPathName, PCSZ pszPathName, PCSZ pszFileName);
 | 
|---|
| 29 | PSZ BldQuotedFullPathName(PSZ pszFullPathName, PCSZ pszPathName, PCSZ pszFileName);
 | 
|---|
| 30 | PSZ BldQuotedFileName(PSZ pszQuotedFileName, PCSZ pszFileName);
 | 
|---|
| 31 | PCSZ NormalizeCmdLine(PSZ pszWorkBuf, PSZ pszCmdLine_);
 | 
|---|
| 32 | 
 | 
|---|
| 33 | #define MAXCOMLINESTRGDEFAULT (1024)                    /* used to build command line strings */
 | 
|---|
| 34 | #define CMDLNLNGTH_MIN (299)
 | 
|---|
| 35 | #define CMDLNLNGTH_MAX (32768)
 | 
|---|
| 36 | 
 | 
|---|
| 37 | #ifdef DEFINE_GLOBALS
 | 
|---|
| 38 | #define DATADEF
 | 
|---|
| 39 | #else
 | 
|---|
| 40 | #define DATADEF extern
 | 
|---|
| 41 | #endif
 | 
|---|
| 42 | 
 | 
|---|
| 43 | DATADEF ULONG MaxComLineStrg;
 | 
|---|
| 44 | 
 | 
|---|
| 45 | #endif // PATHUTIL_H
 | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.