source: trunk/dll/walkem.h@ 1330

Last change on this file since 1330 was 1321, checked in by Steven Levine, 17 years ago

Rework casts variable types for OpenWatcom 1.8 compatibility
Add more FORTIFY support

  • Property svn:eolstyle set to native
  • Property svn:keywords set to Id
File size: 1.9 KB
RevLine 
[1077]1
2/***********************************************************************
3
[1202]4 $Id: walkem.h 1321 2008-12-07 01:48:06Z stevenhl $
[1077]5
6 Misc persistent lists support
7
8 Copyright (c) 1993-98 M. Kimes
9 Copyright (c) 2008 Steven H. Levine
10
11 17 Jul 08 SHL Baseline
12
13***********************************************************************/
14
15#if !defined(WALKEM_H)
16#define WALKEM_H
17
18#if !defined(OS2_INCLUDED)
19#include <os2.h>
20#endif
21
[1228]22typedef struct
23{
24 USHORT size;
25 USHORT dummy;
26 CHAR szCurrentPath1[CCHMAXPATH];
27 CHAR szCurrentPath2[CCHMAXPATH];
28}
29WALK2;
30
31typedef struct LINKDIRS
32{
33 CHAR *path;
34 struct LINKDIRS *next;
35}
36LINKDIRS;
37
[1162]38VOID FillPathListBox(HWND hwnd, HWND hwnddrive, HWND hwnddir, PSZ path,
39 BOOL nounwriteable);
[1186]40MRESULT EXPENTRY WalkAllDlgProc(HWND hwnd, ULONG msg, MPARAM mp1, MPARAM mp2);
[1162]41MRESULT EXPENTRY WalkCopyDlgProc(HWND hwnd, ULONG msg, MPARAM mp1,
42 MPARAM mp2);
43MRESULT EXPENTRY WalkDlgProc(HWND hwnd, ULONG msg, MPARAM mp1, MPARAM mp2);
44MRESULT EXPENTRY WalkExtractDlgProc(HWND hwnd, ULONG msg, MPARAM mp1,
45 MPARAM mp2);
46MRESULT EXPENTRY WalkMoveDlgProc(HWND hwnd, ULONG msg, MPARAM mp1,
47 MPARAM mp2);
48MRESULT EXPENTRY WalkTargetDlgProc(HWND hwnd, ULONG msg, MPARAM mp1,
49 MPARAM mp2);
50MRESULT EXPENTRY WalkTwoCmpDlgProc(HWND hwnd, ULONG msg, MPARAM mp1,
51 MPARAM mp2);
52MRESULT EXPENTRY WalkTwoSetDlgProc(HWND hwnd, ULONG msg, MPARAM mp1,
53 MPARAM mp2);
54INT add_setup(PSZ stateName);
55BOOL add_udir(BOOL userdirs, PSZ inpath);
56VOID fill_setups_list(VOID);
57VOID free_ldir(VOID);
58VOID free_udirs(VOID);
59VOID load_udirs(VOID);
60INT remove_setup(PSZ stateName);
61BOOL remove_udir(PSZ path);
62VOID save_setups(VOID);
63VOID save_udirs(VOID);
64
[1077]65#ifdef FORTIFY
[1321]66VOID free_ldir(VOID);
[1077]67VOID free_setups(VOID);
68#endif
69
[1214]70// Data declarations
71extern BOOL fUdirsChanged;
72extern LINKDIRS *ldirhead;
73extern BOOL loadedudirs;
74extern LINKDIRS *udirhead;
75
[1077]76#endif // WALKEM_H
Note: See TracBrowser for help on using the repository browser.