source: trunk/dll/pathutil.h@ 1545

Last change on this file since 1545 was 1545, checked in by Gregg Young, 15 years ago

Added ForwardslashToBackslash function to streamline code.

  • Property svn:eolstyle set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
RevLine 
[907]1
2/***********************************************************************
3
[1199]4 $Id: pathutil.h 1545 2010-10-23 22:00:47Z gyoung $
[907]5
6 Path handling utility functions
7
8 Copyright (c) 1993-98 M. Kimes
[1394]9 Copyright (c) 2001, 2009 Steven H. Levine
[907]10
11 05 Jan 08 SHL Move from fm3dll.h to here
[985]12 29 Feb 08 GKY Changes to enable user settable command line length
[1438]13 28 Jun 09 GKY Added AddBackslashToPath() to remove repeatative code.
[1545]14 23 Oct 10 GKY Add ForwardslashToBackslash function to streamline code
[907]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
[1545]26PSZ ForwardslashToBackslash(PSZ pszPathName);
[1438]27PSZ AddBackslashToPath(PSZ pszPathName);
[1398]28PSZ BldFullPathName(PSZ pszFullPathName, PCSZ pszPathName, PCSZ pszFileName);
29PSZ BldQuotedFullPathName(PSZ pszFullPathName, PCSZ pszPathName, PCSZ pszFileName);
[1394]30PSZ BldQuotedFileName(PSZ pszQuotedFileName, PCSZ pszFileName);
[920]31PCSZ NormalizeCmdLine(PSZ pszWorkBuf, PSZ pszCmdLine_);
[907]32
[1394]33#define MAXCOMLINESTRGDEFAULT (1024) /* used to build command line strings */
[985]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
43DATADEF ULONG MaxComLineStrg;
44
[907]45#endif // PATHUTIL_H
Note: See TracBrowser for help on using the repository browser.