ReactOS 0.4.15-dev-8614-gbc76250
|
#include <limits.h>
#include <wchar.h>
#include "urlmon_main.h"
#include "wine/debug.h"
#include "shlwapi.h"
#include "strsafe.h"
Go to the source code of this file.
Classes | |
struct | Uri |
struct | UriBuilder |
struct | h16 |
struct | ipv6_address |
struct | parse_data |
struct | persist_uri |
struct | inproc_marshal_uri |
Macros | |
#define | NO_SHLWAPI_REG |
#define | URI_DISPLAY_NO_ABSOLUTE_URI 0x1 |
#define | URI_DISPLAY_NO_DEFAULT_PORT_AUTH 0x2 |
#define | ALLOW_NULL_TERM_SCHEME 0x01 |
#define | ALLOW_NULL_TERM_USER_NAME 0x02 |
#define | ALLOW_NULL_TERM_PASSWORD 0x04 |
#define | ALLOW_BRACKETLESS_IP_LITERAL 0x08 |
#define | SKIP_IP_FUTURE_CHECK 0x10 |
#define | IGNORE_PORT_DELIMITER 0x20 |
#define | RAW_URI_FORCE_PORT_DISP 0x1 |
#define | RAW_URI_CONVERT_TO_DOS_PATH 0x2 |
#define | COMBINE_URI_FORCE_FLAG_USE 0x1 |
Variables | |
static const IID | IID_IUriObj = {0x4b364760,0x9f51,0x11df,{0x98,0x1c,0x08,0x00,0x20,0x0c,0x9a,0x66}} |
static const CHAR | hexDigits [] = "0123456789ABCDEF" |
struct { | |
URL_SCHEME scheme | |
WCHAR scheme_name [16] | |
} | recognized_schemes [] |
struct { | |
URL_SCHEME scheme | |
USHORT port | |
} | default_ports [] |
struct { | |
WCHAR tld_name [4] | |
} | recognized_tlds [] |
static const IUriVtbl | UriVtbl |
static const IUriBuilderFactoryVtbl | UriBuilderFactoryVtbl |
static const IPersistStreamVtbl | PersistStreamVtbl |
static const IMarshalVtbl | MarshalVtbl |
static const IUriBuilderVtbl | UriBuilderVtbl |
Definition at line 398 of file uri.c.
Referenced by build_uri(), combine_uri(), and CreateUri().
|
static |
Definition at line 5850 of file uri.c.
Referenced by UriBuilder_CreateUri(), UriBuilder_CreateUriSimple(), and UriBuilder_CreateUriWithFlags().
|
static |
Definition at line 2794 of file uri.c.
Referenced by canonicalize_hierpart().
|
static |
Definition at line 3238 of file uri.c.
Referenced by canonicalize_uri(), and compute_canonicalized_length().
|
static |
Definition at line 3097 of file uri.c.
Referenced by canonicalize_uri(), and compute_canonicalized_length().
|
static |
Definition at line 2674 of file uri.c.
Referenced by canonicalize_authority().
|
static |
Definition at line 2404 of file uri.c.
Referenced by canonicalize_ipv4address().
|
static |
Definition at line 2453 of file uri.c.
Referenced by canonicalize_host().
|
static |
Definition at line 2562 of file uri.c.
Referenced by canonicalize_host().
|
static |
Definition at line 2193 of file uri.c.
Referenced by canonicalize_userinfo().
|
static |
Definition at line 2844 of file uri.c.
Referenced by canonicalize_hierpart(), and compare_file_paths().
|
static |
Definition at line 2989 of file uri.c.
Referenced by canonicalize_hierpart().
|
static |
Definition at line 2722 of file uri.c.
Referenced by canonicalize_authority().
|
static |
Definition at line 3188 of file uri.c.
Referenced by canonicalize_uri(), and compute_canonicalized_length().
|
static |
Definition at line 2306 of file uri.c.
Referenced by canonicalize_host().
|
static |
Definition at line 3289 of file uri.c.
Referenced by canonicalize_uri(), and compute_canonicalized_length().
|
static |
Definition at line 3373 of file uri.c.
Referenced by combine_uri(), CreateUri(), generate_uri(), Marshal_UnmarshalInterface(), and PersistStream_Load().
|
static |
Definition at line 2259 of file uri.c.
Referenced by canonicalize_authority().
|
static |
Definition at line 2145 of file uri.c.
Referenced by canonicalize_userinfo().
Definition at line 964 of file uri.c.
Referenced by check_ipv4address().
Definition at line 293 of file uri.c.
Referenced by is_hierarchical_uri(), and parse_canonicalize().
Definition at line 1005 of file uri.c.
Referenced by parse_ipv4address().
Definition at line 1037 of file uri.c.
Referenced by parse_ipv4address(), and parse_ipv6address().
Definition at line 936 of file uri.c.
Referenced by canonicalize_path_hierarchical(), parse_fragment(), parse_password(), parse_path_hierarchical(), parse_path_opaque(), parse_query(), parse_reg_name(), and parse_username().
HRESULT WINAPI CoInternetCombineIUri | ( | IUri * | pBaseUri, |
IUri * | pRelativeUri, | ||
DWORD | dwCombineFlags, | ||
IUri ** | ppCombinedUri, | ||
DWORD_PTR | dwReserved | ||
) |
Definition at line 6716 of file uri.c.
Referenced by CreateURLMonikerEx2().
HRESULT WINAPI CoInternetCombineUrlEx | ( | IUri * | pBaseUri, |
LPCWSTR | pwzRelativeUrl, | ||
DWORD | dwCombineFlags, | ||
IUri ** | ppCombinedUri, | ||
DWORD_PTR | dwReserved | ||
) |
Definition at line 6762 of file uri.c.
Referenced by check_codebase(), combine_url(), create_relative_uri(), CreateURLMonikerEx(), and navigate_url().
HRESULT WINAPI CoInternetParseIUri | ( | IUri * | pIUri, |
PARSEACTION | ParseAction, | ||
DWORD | dwFlags, | ||
LPWSTR | pwzResult, | ||
DWORD | cchResult, | ||
DWORD * | pcchResult, | ||
DWORD_PTR | dwReserved | ||
) |
Definition at line 7247 of file uri.c.
Referenced by FileProtocol_StartEx(), and nsFileURL_GetFile().
|
static |
Definition at line 6450 of file uri.c.
Referenced by CoInternetCombineIUri(), and CoInternetCombineUrlEx().
Definition at line 3875 of file uri.c.
Referenced by compare_uris().
Definition at line 3923 of file uri.c.
Referenced by Uri_IsEqual().
|
static |
Definition at line 3332 of file uri.c.
Referenced by canonicalize_uri().
|
static |
Definition at line 716 of file uri.c.
Referenced by canonicalize_ipv6address().
|
static |
Definition at line 445 of file uri.c.
Referenced by parse_ipv6address().
|
static |
Definition at line 4019 of file uri.c.
Referenced by generate_raw_uri().
HRESULT WINAPI CreateIUriBuilder | ( | IUri * | pIUri, |
DWORD | dwFlags, | ||
DWORD_PTR | dwReserved, | ||
IUriBuilder ** | ppIUriBuilder | ||
) |
Definition at line 6353 of file uri.c.
Referenced by ensure_uri_builder(), get_uri_nofrag(), nsURI_GetPrePath(), UriBuilderFactory_CreateInitializedIUriBuilder(), and UriBuilderFactory_CreateIUriBuilder().
Definition at line 5700 of file uri.c.
Referenced by AsyncInstallDistributionUnit(), BindProtocol_Start(), CoInternetCombineIUri(), CoInternetCombineUrlEx(), CoInternetGetSecurityUrlEx(), create_uri(), CreateUriWithFragment(), CreateURLMonikerEx(), FileProtocol_Start(), FtpProtocol_Start(), get_security_id_for_url(), GopherProtocol_Start(), HttpProtocol_Start(), map_url_to_zone(), MkProtocol_Start(), and URLMoniker_Load().
HRESULT WINAPI CreateUriWithFragment | ( | LPCWSTR | pwzURI, |
LPCWSTR | pwzFragment, | ||
DWORD | dwFlags, | ||
DWORD_PTR | dwReserved, | ||
IUri ** | ppURI | ||
) |
Definition at line 5795 of file uri.c.
Definition at line 483 of file uri.c.
Referenced by canonicalize_fragment(), canonicalize_password(), canonicalize_path_hierarchical(), canonicalize_path_opaque(), canonicalize_query(), canonicalize_reg_name(), canonicalize_username(), parse_canonicalize(), and parse_path_from_url().
Definition at line 520 of file uri.c.
Referenced by canonicalize_reg_name(), and search_domain_for_zone().
|
static |
Definition at line 4042 of file uri.c.
Referenced by combine_uri(), and generate_uri().
|
static |
Definition at line 4186 of file uri.c.
Referenced by build_uri().
|
static |
Definition at line 3438 of file uri.c.
Referenced by UriBuilder_GetFragment(), UriBuilder_GetHost(), UriBuilder_GetPassword(), UriBuilder_GetPath(), UriBuilder_GetQuery(), UriBuilder_GetSchemeName(), and UriBuilder_GetUserName().
Definition at line 254 of file uri.c.
Referenced by CoInternetCombineIUri(), CoInternetCombineUrlEx(), CoInternetParseIUri(), CreateIUriBuilder(), Uri_IsEqual(), and UriBuilder_SetIUri().
Definition at line 872 of file uri.c.
Referenced by ipv6_to_number().
Definition at line 5420 of file uri.c.
Referenced by Marshal_AddRef(), Marshal_DisconnectObject(), Marshal_GetMarshalSizeMax(), Marshal_GetUnmarshalClass(), Marshal_MarshalInterface(), Marshal_QueryInterface(), Marshal_Release(), Marshal_ReleaseMarshalData(), and Marshal_UnmarshalInterface().
|
inlinestatic |
Definition at line 5127 of file uri.c.
Referenced by PersistStream_AddRef(), PersistStream_GetClassID(), PersistStream_GetSizeMax(), PersistStream_IsDirty(), PersistStream_Load(), PersistStream_QueryInterface(), PersistStream_Release(), and PersistStream_Save().
Definition at line 4206 of file uri.c.
Referenced by custom_uri_AddRef(), custom_uri_GetAbsoluteUri(), custom_uri_GetAuthority(), custom_uri_GetDisplayUri(), custom_uri_GetDomain(), custom_uri_GetExtension(), custom_uri_GetFragment(), custom_uri_GetHost(), custom_uri_GetHostType(), custom_uri_GetPassword(), custom_uri_GetPath(), custom_uri_GetPathAndQuery(), custom_uri_GetPort(), custom_uri_GetProperties(), custom_uri_GetPropertyBSTR(), custom_uri_GetPropertyDWORD(), custom_uri_GetPropertyLength(), custom_uri_GetQuery(), custom_uri_GetRawUri(), custom_uri_GetScheme(), custom_uri_GetSchemeName(), custom_uri_GetUserInfo(), custom_uri_GetUserName(), custom_uri_GetZone(), custom_uri_HasProperty(), custom_uri_IsEqual(), custom_uri_Release(), Uri_AddRef(), Uri_GetProperties(), Uri_GetPropertyBSTR(), Uri_GetPropertyDWORD(), Uri_GetPropertyLength(), Uri_HasProperty(), Uri_IsEqual(), Uri_QueryInterface(), and Uri_Release().
|
inlinestatic |
Definition at line 5908 of file uri.c.
Referenced by UriBuilder_AddRef(), UriBuilder_CreateUri(), UriBuilder_CreateUriSimple(), UriBuilder_CreateUriWithFlags(), UriBuilder_GetFragment(), UriBuilder_GetHost(), UriBuilder_GetIUri(), UriBuilder_GetPassword(), UriBuilder_GetPath(), UriBuilder_GetPort(), UriBuilder_GetQuery(), UriBuilder_GetSchemeName(), UriBuilder_GetUserName(), UriBuilder_HasBeenModified(), UriBuilder_QueryInterface(), UriBuilder_Release(), UriBuilder_RemoveProperties(), UriBuilder_SetFragment(), UriBuilder_SetHost(), UriBuilder_SetIUri(), UriBuilder_SetPassword(), UriBuilder_SetPath(), UriBuilder_SetPort(), UriBuilder_SetQuery(), UriBuilder_SetSchemeName(), and UriBuilder_SetUserName().
|
inlinestatic |
Definition at line 5058 of file uri.c.
Referenced by UriBuilderFactory_AddRef(), UriBuilderFactory_CreateInitializedIUriBuilder(), UriBuilderFactory_CreateIUriBuilder(), UriBuilderFactory_QueryInterface(), and UriBuilderFactory_Release().
Definition at line 806 of file uri.c.
Referenced by ipv6_to_number().
|
static |
Definition at line 888 of file uri.c.
Referenced by canonicalize_ipv6address().
Definition at line 361 of file uri.c.
Referenced by canonicalize_fragment(), canonicalize_password(), canonicalize_path_hierarchical(), canonicalize_path_opaque(), canonicalize_query(), canonicalize_reg_name(), canonicalize_username(), and parse_canonicalize().