You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
79 lines
1.3 KiB
79 lines
1.3 KiB
/*++
|
|
|
|
Copyright (c) 1994 Microsoft Corporation
|
|
|
|
Module Name:
|
|
|
|
proc.h
|
|
|
|
Abstract:
|
|
|
|
This file contains global procedure declarations for the HTTP API
|
|
project.
|
|
|
|
Author:
|
|
|
|
Keith Moore (keithmo) 16-Nov-1994
|
|
|
|
Revision History:
|
|
|
|
--*/
|
|
|
|
|
|
#ifndef _PROC_H_
|
|
#define _PROC_H_
|
|
|
|
#if defined(__cplusplus)
|
|
extern "C" {
|
|
#endif
|
|
|
|
#define SECURITY_WIN32
|
|
#include <sspi.h>
|
|
|
|
DWORD
|
|
pHttpGetUrlLen(
|
|
IN INTERNET_SCHEME SchemeType,
|
|
IN LPSTR lpszTargetName,
|
|
IN LPSTR lpszObjectName,
|
|
IN DWORD dwPort,
|
|
OUT LPDWORD lpdwUrlLen
|
|
);
|
|
|
|
DWORD
|
|
pHttpGetUrlString(
|
|
IN INTERNET_SCHEME SchemeType,
|
|
IN LPSTR lpszTargetName,
|
|
IN LPSTR lpszCWD,
|
|
IN LPSTR lpszObjectName,
|
|
IN LPSTR lpszExtension,
|
|
IN DWORD dwPort,
|
|
OUT LPSTR * lplpUrlName,
|
|
OUT LPDWORD lpdwUrlLen
|
|
);
|
|
|
|
DWORD
|
|
pHttpBuildUrl(
|
|
IN INTERNET_SCHEME SchemeType,
|
|
IN LPSTR lpszTargetName,
|
|
IN LPSTR lpszObjectName,
|
|
IN DWORD dwPort,
|
|
IN LPSTR lpszUrl,
|
|
IN OUT LPDWORD lpdwBuffSize
|
|
);
|
|
|
|
BOOL FParseHttpDate(
|
|
FILETIME *lpFt,
|
|
LPCSTR lpcszDateStr
|
|
);
|
|
|
|
BOOL FFileTimetoHttpDateTime(
|
|
FILETIME *lpft, // output filetime in GMT
|
|
LPSTR lpszBuff,
|
|
LPDWORD lpdwSize
|
|
);
|
|
|
|
#if defined(__cplusplus)
|
|
}
|
|
#endif
|
|
|
|
#endif // _PROC_H_
|