My Project
UDK 3.2.7 C/C++ API Reference
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
rtl
uri.h
Go to the documentation of this file.
1
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2
/*
3
* This file is part of the LibreOffice project.
4
*
5
* This Source Code Form is subject to the terms of the Mozilla Public
6
* License, v. 2.0. If a copy of the MPL was not distributed with this
7
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
8
*
9
* This file incorporates work covered by the following license notice:
10
*
11
* Licensed to the Apache Software Foundation (ASF) under one or more
12
* contributor license agreements. See the NOTICE file distributed
13
* with this work for additional information regarding copyright
14
* ownership. The ASF licenses this file to you under the Apache
15
* License, Version 2.0 (the "License"); you may not use this file
16
* except in compliance with the License. You may obtain a copy of
17
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
18
*/
19
20
#ifndef _RTL_URI_H_
21
#define _RTL_URI_H_
22
23
#include "
sal/config.h
"
24
25
#include "
rtl/textenc.h
"
26
#include "
rtl/ustring.h
"
27
#include "
sal/saldllapi.h
"
28
#include "
sal/types.h
"
29
30
#if defined __cplusplus
31
extern
"C"
{
32
#endif
/* __cplusplus */
33
47
typedef
enum
48
{
54
rtl_UriCharClassNone
,
55
62
rtl_UriCharClassUric
,
63
69
rtl_UriCharClassUricNoSlash
,
70
76
rtl_UriCharClassRelSegment
,
77
83
rtl_UriCharClassRegName
,
84
90
rtl_UriCharClassUserinfo
,
91
97
rtl_UriCharClassPchar
,
98
104
rtl_UriCharClassUnoParamValue
,
105
106
rtl_UriCharClass_FORCE_EQUAL_SIZE
= SAL_MAX_ENUM
107
}
108
rtl_UriCharClass
;
109
113
typedef
enum
114
{
123
rtl_UriEncodeIgnoreEscapes
,
124
135
rtl_UriEncodeKeepEscapes
,
136
147
rtl_UriEncodeCheckEscapes
,
148
154
rtl_UriEncodeStrict
,
155
161
rtl_UriEncodeStrictKeepEscapes
,
162
163
rtl_UriEncode_FORCE_EQUAL_SIZE
= SAL_MAX_ENUM
164
}
165
rtl_UriEncodeMechanism
;
166
170
typedef
enum
171
{
174
rtl_UriDecodeNone
,
175
184
rtl_UriDecodeToIuri
,
185
192
rtl_UriDecodeWithCharset
,
193
199
rtl_UriDecodeStrict
,
200
201
rtl_UriDecode_FORCE_EQUAL_SIZE
= SAL_MAX_ENUM
202
}
203
rtl_UriDecodeMechanism
;
204
217
SAL_DLLPUBLIC
sal_Bool
const
* SAL_CALL
rtl_getUriCharClass
(
rtl_UriCharClass
eCharClass)
218
SAL_THROW_EXTERN_C
();
219
254
SAL_DLLPUBLIC
void
SAL_CALL
rtl_uriEncode
(
255
rtl_uString * pText,
256
sal_Bool
const
* pCharClass,
257
rtl_UriEncodeMechanism
eMechanism,
258
rtl_TextEncoding
eCharset,
259
rtl_uString ** pResult)
260
SAL_THROW_EXTERN_C
();
261
292
SAL_DLLPUBLIC
void
SAL_CALL
rtl_uriDecode
(
293
rtl_uString * pText,
294
rtl_UriDecodeMechanism
eMechanism,
295
rtl_TextEncoding
eCharset,
296
rtl_uString ** pResult)
297
SAL_THROW_EXTERN_C
();
298
341
SAL_DLLPUBLIC
sal_Bool
SAL_CALL
rtl_uriConvertRelToAbs
(
342
rtl_uString * pBaseUriRef,
343
rtl_uString * pRelUriRef,
344
rtl_uString ** pResult,
345
rtl_uString ** pException)
346
SAL_THROW_EXTERN_C
();
347
348
#if defined __cplusplus
349
}
350
#endif
/* __cplusplus */
351
352
#endif
/* _RTL_URI_H_ */
353
354
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Generated on Mon May 20 2013 17:30:02 for My Project by
1.8.1.2