LibreOffice
LibreOffice 4.1 SDK C/C++ API Reference
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 
45 typedef enum
46 {
52 
61 
69 
77 
85 
93 
101 
109 
111 }
113 
117 typedef enum
118 {
127 
138 
149 
156 
163 
165 }
167 
171 typedef enum
172 {
176 
185 
192 
199 
201 }
203 
215 SAL_DLLPUBLIC sal_Bool const * SAL_CALL rtl_getUriCharClass(rtl_UriCharClass eCharClass)
217 
252 SAL_DLLPUBLIC void SAL_CALL rtl_uriEncode(
253  rtl_uString * pText,
254  sal_Bool const * pCharClass,
255  rtl_UriEncodeMechanism eMechanism,
256  rtl_TextEncoding eCharset,
257  rtl_uString ** pResult)
259 
290 SAL_DLLPUBLIC void SAL_CALL rtl_uriDecode(
291  rtl_uString * pText,
292  rtl_UriDecodeMechanism eMechanism,
293  rtl_TextEncoding eCharset,
294  rtl_uString ** pResult)
296 
340  rtl_uString * pBaseUriRef,
341  rtl_uString * pRelUriRef,
342  rtl_uString ** pResult,
343  rtl_uString ** pException)
345 
346 #if defined __cplusplus
347 }
348 #endif /* __cplusplus */
349 
350 #endif /* _RTL_URI_H_ */
351 
352 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */