UDK 3.2.7 C/C++ API Reference

rtl/bootstrap.h

Go to the documentation of this file.
00001 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
00002 /*
00003  * This file is part of the LibreOffice project.
00004  *
00005  * This Source Code Form is subject to the terms of the Mozilla Public
00006  * License, v. 2.0. If a copy of the MPL was not distributed with this
00007  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
00008  *
00009  * This file incorporates work covered by the following license notice:
00010  *
00011  *   Licensed to the Apache Software Foundation (ASF) under one or more
00012  *   contributor license agreements. See the NOTICE file distributed
00013  *   with this work for additional information regarding copyright
00014  *   ownership. The ASF licenses this file to you under the Apache
00015  *   License, Version 2.0 (the "License"); you may not use this file
00016  *   except in compliance with the License. You may obtain a copy of
00017  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
00018  */
00019 #ifndef _RTL_BOOTSTRAP_H_
00020 #define _RTL_BOOTSTRAP_H_
00021 
00022 #include "sal/config.h"
00023 
00024 #include "rtl/ustring.h"
00025 #include "sal/saldllapi.h"
00026 
00027 #ifdef __cplusplus
00028 extern "C" {
00029 #endif
00030 
00120 SAL_DLLPUBLIC void SAL_CALL rtl_bootstrap_setIniFileName( rtl_uString *pFileUri )
00121     SAL_THROW_EXTERN_C();
00122 
00140 SAL_DLLPUBLIC sal_Bool SAL_CALL rtl_bootstrap_get(
00141         rtl_uString *pName, rtl_uString **ppValue, rtl_uString *pDefault )
00142     SAL_THROW_EXTERN_C();
00143 
00151 SAL_DLLPUBLIC void SAL_CALL rtl_bootstrap_set(
00152         rtl_uString * pName, rtl_uString * pValue )
00153     SAL_THROW_EXTERN_C();
00154 
00155 
00156 typedef void * rtlBootstrapHandle;
00157 
00164 SAL_DLLPUBLIC rtlBootstrapHandle SAL_CALL rtl_bootstrap_args_open(rtl_uString * pIniName)
00165     SAL_THROW_EXTERN_C();
00166 
00171 SAL_DLLPUBLIC void SAL_CALL rtl_bootstrap_args_close(rtlBootstrapHandle handle)
00172     SAL_THROW_EXTERN_C();
00173 
00182 SAL_DLLPUBLIC sal_Bool SAL_CALL rtl_bootstrap_get_from_handle(
00183         rtlBootstrapHandle handle, rtl_uString *pName, rtl_uString **ppValue, rtl_uString *pDefault)
00184     SAL_THROW_EXTERN_C();
00185 
00186 
00191 SAL_DLLPUBLIC void SAL_CALL rtl_bootstrap_get_iniName_from_handle(
00192         rtlBootstrapHandle handle, rtl_uString ** ppIniName)
00193     SAL_THROW_EXTERN_C();
00194 
00200 SAL_DLLPUBLIC void SAL_CALL rtl_bootstrap_expandMacros_from_handle(
00201     rtlBootstrapHandle handle, rtl_uString ** macro )
00202     SAL_THROW_EXTERN_C();
00207 SAL_DLLPUBLIC void SAL_CALL rtl_bootstrap_expandMacros(
00208     rtl_uString ** macro )
00209     SAL_THROW_EXTERN_C();
00210 
00222 SAL_DLLPUBLIC void SAL_CALL rtl_bootstrap_encode(
00223     rtl_uString const * value, rtl_uString ** encoded )
00224     SAL_THROW_EXTERN_C();
00225 
00226 #ifdef __cplusplus
00227 }
00228 #endif
00229 
00230 #endif
00231 
00232 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines