source: trunk/dll/pathutil.h

Last change on this file was 1761, checked in by Steven Levine, 11 years ago

Implement IsAbsolutePath and modify SearchPathForFile to use

  • Property svn:eolstyle set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
RevLine 
[907]1
2/***********************************************************************
3
[1199]4 $Id: pathutil.h 1761 2014-03-21 23:29:52Z stevenhl $
[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
[1761]15 21 Mar 14 SHL Add IsAbsolutePath
[907]16
17***********************************************************************/
18
19#if !defined(PATHUTIL_H)
20
21#define PATHUTIL_H
22
23#if !defined(OS2_INCLUDED)
24#include <os2.h>
25#endif
26
[1438]27PSZ AddBackslashToPath(PSZ pszPathName);
[1761]28
[1398]29PSZ BldFullPathName(PSZ pszFullPathName, PCSZ pszPathName, PCSZ pszFileName);
30PSZ BldQuotedFullPathName(PSZ pszFullPathName, PCSZ pszPathName, PCSZ pszFileName);
[1394]31PSZ BldQuotedFileName(PSZ pszQuotedFileName, PCSZ pszFileName);
[1761]32
33BOOL IsAbsolutePath(PCSZ pszPathName);
34PSZ ForwardslashToBackslash(PSZ pszPathName);
35
[920]36PCSZ NormalizeCmdLine(PSZ pszWorkBuf, PSZ pszCmdLine_);
[907]37
[1394]38#define MAXCOMLINESTRGDEFAULT (1024) /* used to build command line strings */
[985]39#define CMDLNLNGTH_MIN (299)
40#define CMDLNLNGTH_MAX (32768)
41
42#ifdef DEFINE_GLOBALS
43#define DATADEF
44#else
45#define DATADEF extern
46#endif
47
48DATADEF ULONG MaxComLineStrg;
49
[907]50#endif // PATHUTIL_H
Note: See TracBrowser for help on using the repository browser.