Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
66259555
Commit
66259555
authored
Feb 27, 2008
by
Jacek Caban
Committed by
Alexandre Julliard
Feb 28, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wininet: Move WININETFTPFINDNEXTW declaration to ftp.c.
parent
8c45eecc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
21 deletions
+20
-21
ftp.c
dlls/wininet/ftp.c
+20
-1
internet.h
dlls/wininet/internet.h
+0
-20
No files found.
dlls/wininet/ftp.c
View file @
66259555
...
...
@@ -61,6 +61,24 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
wininet
);
typedef
struct
{
BOOL
bIsDirectory
;
LPWSTR
lpszName
;
DWORD
nSize
;
struct
tm
tmLastModified
;
unsigned
short
permissions
;
}
FILEPROPERTIESW
,
*
LPFILEPROPERTIESW
;
typedef
struct
{
WININETHANDLEHEADER
hdr
;
WININETFTPSESSIONW
*
lpFtpSession
;
DWORD
index
;
DWORD
size
;
LPFILEPROPERTIESW
lpafp
;
}
WININETFTPFINDNEXTW
,
*
LPWININETFTPFINDNEXTW
;
#define DATA_PACKET_SIZE 0x2000
#define szCRLF "\r\n"
#define MAX_BACKLOG 5
...
...
@@ -145,6 +163,7 @@ static BOOL FTP_ParseDirectory(LPWININETFTPSESSIONW lpwfs, INT nSocket, LPCWSTR
static
HINTERNET
FTP_ReceiveFileList
(
LPWININETFTPSESSIONW
lpwfs
,
INT
nSocket
,
LPCWSTR
lpszSearchFile
,
LPWIN32_FIND_DATAW
lpFindFileData
,
DWORD_PTR
dwContext
);
static
DWORD
FTP_SetResponseError
(
DWORD
dwResponse
);
static
BOOL
FTP_ConvertFileProp
(
LPFILEPROPERTIESW
lpafp
,
LPWIN32_FIND_DATAW
lpFindFileData
);
/***********************************************************************
* FtpPutFileA (WININET.@)
...
...
@@ -3241,7 +3260,7 @@ static HINTERNET FTP_ReceiveFileList(LPWININETFTPSESSIONW lpwfs, INT nSocket, LP
* FALSE on failure
*
*/
BOOL
FTP_ConvertFileProp
(
LPFILEPROPERTIESW
lpafp
,
LPWIN32_FIND_DATAW
lpFindFileData
)
static
BOOL
FTP_ConvertFileProp
(
LPFILEPROPERTIESW
lpafp
,
LPWIN32_FIND_DATAW
lpFindFileData
)
{
BOOL
bSuccess
=
FALSE
;
...
...
dlls/wininet/internet.h
View file @
66259555
...
...
@@ -246,25 +246,6 @@ typedef struct _WININETFTPSESSIONW
}
WININETFTPSESSIONW
,
*
LPWININETFTPSESSIONW
;
typedef
struct
{
BOOL
bIsDirectory
;
LPWSTR
lpszName
;
DWORD
nSize
;
struct
tm
tmLastModified
;
unsigned
short
permissions
;
}
FILEPROPERTIESW
,
*
LPFILEPROPERTIESW
;
typedef
struct
{
WININETHANDLEHEADER
hdr
;
WININETFTPSESSIONW
*
lpFtpSession
;
DWORD
index
;
DWORD
size
;
LPFILEPROPERTIESW
lpafp
;
}
WININETFTPFINDNEXTW
,
*
LPWININETFTPFINDNEXTW
;
struct
WORKREQ_FTPPUTFILEW
{
LPWSTR
lpszLocalFile
;
...
...
@@ -432,7 +413,6 @@ INTERNETAPI HINTERNET WINAPI FTP_FtpFindFirstFileW(LPWININETFTPSESSIONW lpwfs,
LPCWSTR
lpszSearchFile
,
LPWIN32_FIND_DATAW
lpFindFileData
,
DWORD
dwFlags
,
DWORD_PTR
dwContext
);
BOOLAPI
FTP_FtpGetCurrentDirectoryW
(
LPWININETFTPSESSIONW
lpwfs
,
LPWSTR
lpszCurrentDirectory
,
LPDWORD
lpdwCurrentDirectory
);
BOOL
FTP_ConvertFileProp
(
LPFILEPROPERTIESW
lpafp
,
LPWIN32_FIND_DATAW
lpFindFileData
);
BOOL
FTP_FtpRenameFileW
(
LPWININETFTPSESSIONW
lpwfs
,
LPCWSTR
lpszSrc
,
LPCWSTR
lpszDest
);
BOOL
FTP_FtpRemoveDirectoryW
(
LPWININETFTPSESSIONW
lpwfs
,
LPCWSTR
lpszDirectory
);
BOOL
FTP_FtpDeleteFileW
(
LPWININETFTPSESSIONW
lpwfs
,
LPCWSTR
lpszFileName
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment