mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-05 15:33:51 +00:00
46 lines
1.2 KiB
C
46 lines
1.2 KiB
C
/*
|
|
* Copyright (C) the libgit2 contributors. All rights reserved.
|
|
*
|
|
* This file is part of libgit2, distributed under the GNU GPL v2 with
|
|
* a Linking Exception. For full terms see the included COPYING file.
|
|
*/
|
|
|
|
#if defined(__MINGW_VERSION) || defined(__MINGW32_VERSION)
|
|
|
|
#ifndef __CUSTOM_URLMON_H
|
|
#define __CUSTOM_URLMON_H
|
|
|
|
typedef struct IInternetSecurityManager IInternetSecurityManager;
|
|
|
|
typedef struct IInternetSecurityManagerVtbl
|
|
{
|
|
HRESULT(STDMETHODCALLTYPE *QueryInterface)(IInternetSecurityManager *, REFIID, void **);
|
|
ULONG(STDMETHODCALLTYPE *AddRef)(IInternetSecurityManager *);
|
|
ULONG(STDMETHODCALLTYPE *Release)(IInternetSecurityManager *);
|
|
LPVOID SetSecuritySite;
|
|
LPVOID GetSecuritySite;
|
|
HRESULT(STDMETHODCALLTYPE *MapUrlToZone)(IInternetSecurityManager *, LPCWSTR, DWORD *, DWORD);
|
|
LPVOID GetSecurityId;
|
|
LPVOID ProcessUrlAction;
|
|
LPVOID QueryCustomPolicy;
|
|
LPVOID SetZoneMapping;
|
|
LPVOID GetZoneMappings;
|
|
} IInternetSecurityManagerVtbl;
|
|
|
|
struct IInternetSecurityManager
|
|
{
|
|
CONST_VTBL struct IInternetSecurityManagerVtbl *lpVtbl;
|
|
};
|
|
|
|
#define URLZONE_LOCAL_MACHINE 0
|
|
#define URLZONE_INTRANET 1
|
|
#define URLZONE_TRUSTED 2
|
|
|
|
#endif /* __CUSTOM_URLMON_H */
|
|
|
|
#else
|
|
|
|
#include_next <urlmon.h>
|
|
|
|
#endif
|