UDK 3.2.7 C/C++ API Reference
|
00001 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ 00002 /************************************************************************* 00003 * 00004 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 00005 * 00006 * Copyright 2000, 2010 Oracle and/or its affiliates. 00007 * 00008 * OpenOffice.org - a multi-platform office productivity suite 00009 * 00010 * This file is part of OpenOffice.org. 00011 * 00012 * OpenOffice.org is free software: you can redistribute it and/or modify 00013 * it under the terms of the GNU Lesser General Public License version 3 00014 * only, as published by the Free Software Foundation. 00015 * 00016 * OpenOffice.org is distributed in the hope that it will be useful, 00017 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00018 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00019 * GNU Lesser General Public License version 3 for more details 00020 * (a copy is included in the LICENSE file that accompanied this code). 00021 * 00022 * You should have received a copy of the GNU Lesser General Public License 00023 * version 3 along with OpenOffice.org. If not, see 00024 * <http://www.openoffice.org/license.html> 00025 * for a copy of the LGPLv3 License. 00026 * 00027 ************************************************************************/ 00028 #ifndef _RTL_BOOTSTRAP_H_ 00029 #define _RTL_BOOTSTRAP_H_ 00030 00031 #include <rtl/ustring.h> 00032 00033 #ifdef __cplusplus 00034 extern "C" { 00035 #endif 00036 00127 SAL_DLLPUBLIC void SAL_CALL rtl_bootstrap_setIniFileName( rtl_uString *pFileUri ) 00128 SAL_THROW_EXTERN_C(); 00129 00147 SAL_DLLPUBLIC sal_Bool SAL_CALL rtl_bootstrap_get( 00148 rtl_uString *pName, rtl_uString **ppValue, rtl_uString *pDefault ) 00149 SAL_THROW_EXTERN_C(); 00150 00158 SAL_DLLPUBLIC void SAL_CALL rtl_bootstrap_set( 00159 rtl_uString * pName, rtl_uString * pValue ) 00160 SAL_THROW_EXTERN_C(); 00161 00162 00163 typedef void * rtlBootstrapHandle; 00164 00171 SAL_DLLPUBLIC rtlBootstrapHandle SAL_CALL rtl_bootstrap_args_open(rtl_uString * pIniName) 00172 SAL_THROW_EXTERN_C(); 00173 00178 SAL_DLLPUBLIC void SAL_CALL rtl_bootstrap_args_close(rtlBootstrapHandle handle) 00179 SAL_THROW_EXTERN_C(); 00180 00189 SAL_DLLPUBLIC sal_Bool SAL_CALL rtl_bootstrap_get_from_handle( 00190 rtlBootstrapHandle handle, rtl_uString *pName, rtl_uString **ppValue, rtl_uString *pDefault) 00191 SAL_THROW_EXTERN_C(); 00192 00193 00198 SAL_DLLPUBLIC void SAL_CALL rtl_bootstrap_get_iniName_from_handle( 00199 rtlBootstrapHandle handle, rtl_uString ** ppIniName) 00200 SAL_THROW_EXTERN_C(); 00201 00207 SAL_DLLPUBLIC void SAL_CALL rtl_bootstrap_expandMacros_from_handle( 00208 rtlBootstrapHandle handle, rtl_uString ** macro ) 00209 SAL_THROW_EXTERN_C(); 00214 SAL_DLLPUBLIC void SAL_CALL rtl_bootstrap_expandMacros( 00215 rtl_uString ** macro ) 00216 SAL_THROW_EXTERN_C(); 00217 00229 SAL_DLLPUBLIC void SAL_CALL rtl_bootstrap_encode( 00230 rtl_uString const * value, rtl_uString ** encoded ) 00231 SAL_THROW_EXTERN_C(); 00232 00233 #ifdef __cplusplus 00234 } 00235 #endif 00236 00237 #endif 00238 00239 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */