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
*
4
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5
*
6
* Copyright 2000, 2010 Oracle and/or its affiliates.
7
*
8
* OpenOffice.org - a multi-platform office productivity suite
9
*
10
* This file is part of OpenOffice.org.
11
*
12
* OpenOffice.org is free software: you can redistribute it and/or modify
13
* it under the terms of the GNU Lesser General Public License version 3
14
* only, as published by the Free Software Foundation.
15
*
16
* OpenOffice.org is distributed in the hope that it will be useful,
17
* but WITHOUT ANY WARRANTY; without even the implied warranty of
18
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19
* GNU Lesser General Public License version 3 for more details
20
* (a copy is included in the LICENSE file that accompanied this code).
21
*
22
* You should have received a copy of the GNU Lesser General Public License
23
* version 3 along with OpenOffice.org. If not, see
24
* <http://www.openoffice.org/license.html>
25
* for a copy of the LGPLv3 License.
26
*
27
************************************************************************/
28
29
#ifndef _RTL_URI_H_
30
#define _RTL_URI_H_
31
32
#include "
rtl/textenc.h
"
33
#include "
rtl/ustring.h
"
34
#include "
sal/types.h
"
35
36
#if defined __cplusplus
37
extern
"C"
{
38
#endif
/* __cplusplus */
39
53
typedef
enum
54
{
60
rtl_UriCharClassNone
,
61
68
rtl_UriCharClassUric
,
69
75
rtl_UriCharClassUricNoSlash
,
76
82
rtl_UriCharClassRelSegment
,
83
89
rtl_UriCharClassRegName
,
90
96
rtl_UriCharClassUserinfo
,
97
103
rtl_UriCharClassPchar
,
104
110
rtl_UriCharClassUnoParamValue
,
111
112
rtl_UriCharClass_FORCE_EQUAL_SIZE
= SAL_MAX_ENUM
113
}
114
rtl_UriCharClass
;
115
119
typedef
enum
120
{
129
rtl_UriEncodeIgnoreEscapes
,
130
141
rtl_UriEncodeKeepEscapes
,
142
153
rtl_UriEncodeCheckEscapes
,
154
160
rtl_UriEncodeStrict
,
161
167
rtl_UriEncodeStrictKeepEscapes
,
168
169
rtl_UriEncode_FORCE_EQUAL_SIZE
= SAL_MAX_ENUM
170
}
171
rtl_UriEncodeMechanism
;
172
176
typedef
enum
177
{
180
rtl_UriDecodeNone
,
181
190
rtl_UriDecodeToIuri
,
191
198
rtl_UriDecodeWithCharset
,
199
205
rtl_UriDecodeStrict
,
206
207
rtl_UriDecode_FORCE_EQUAL_SIZE
= SAL_MAX_ENUM
208
}
209
rtl_UriDecodeMechanism
;
210
223
SAL_DLLPUBLIC
sal_Bool
const
* SAL_CALL
rtl_getUriCharClass
(
rtl_UriCharClass
eCharClass)
224
SAL_THROW_EXTERN_C
();
225
260
SAL_DLLPUBLIC
void
SAL_CALL
rtl_uriEncode
(
261
rtl_uString * pText,
262
sal_Bool
const
* pCharClass,
263
rtl_UriEncodeMechanism
eMechanism,
264
rtl_TextEncoding
eCharset,
265
rtl_uString ** pResult)
266
SAL_THROW_EXTERN_C
();
267
298
SAL_DLLPUBLIC
void
SAL_CALL
rtl_uriDecode
(
299
rtl_uString * pText,
300
rtl_UriDecodeMechanism
eMechanism,
301
rtl_TextEncoding
eCharset,
302
rtl_uString ** pResult)
303
SAL_THROW_EXTERN_C
();
304
347
SAL_DLLPUBLIC
sal_Bool
SAL_CALL
rtl_uriConvertRelToAbs
(
348
rtl_uString * pBaseUriRef,
349
rtl_uString * pRelUriRef,
350
rtl_uString ** pResult,
351
rtl_uString ** pException)
352
SAL_THROW_EXTERN_C
();
353
354
#if defined __cplusplus
355
}
356
#endif
/* __cplusplus */
357
358
#endif
/* _RTL_URI_H_ */
359
360
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Generated on Mon Oct 8 2012 00:36:42 for My Project by
1.8.1.2