AlterOffice
AlterOffice 3.4 SDK C/C++ API Reference
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
bootstrap.h
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 
3 #ifndef INCLUDED_RTL_BOOTSTRAP_H
4 #define INCLUDED_RTL_BOOTSTRAP_H
5 
6 #include "sal/config.h"
7 
8 #include "rtl/ustring.h"
9 #include "sal/saldllapi.h"
10 
11 #ifdef __cplusplus
12 extern "C" {
13 #endif
14 
100 SAL_DLLPUBLIC void SAL_CALL rtl_bootstrap_setIniFileName( rtl_uString *pFileUri );
101 
120  rtl_uString *pName, rtl_uString **ppValue, rtl_uString *pDefault );
121 
129 SAL_DLLPUBLIC void SAL_CALL rtl_bootstrap_set(
130  rtl_uString * pName, rtl_uString * pValue );
131 
132 
133 typedef void * rtlBootstrapHandle;
134 
141 SAL_DLLPUBLIC rtlBootstrapHandle SAL_CALL rtl_bootstrap_args_open(rtl_uString * pIniName);
142 
147 SAL_DLLPUBLIC void SAL_CALL rtl_bootstrap_args_close(rtlBootstrapHandle handle)
149 
159  rtlBootstrapHandle handle, rtl_uString *pName, rtl_uString **ppValue, rtl_uString *pDefault);
160 
161 
168  rtlBootstrapHandle handle, rtl_uString ** ppIniName);
169 
176  rtlBootstrapHandle handle, rtl_uString ** macro );
177 
183  rtl_uString ** macro);
184 
195 SAL_DLLPUBLIC void SAL_CALL rtl_bootstrap_encode(
196  rtl_uString const * value, rtl_uString ** encoded );
197 
198 #ifdef __cplusplus
199 }
200 #endif
201 
202 #endif
203 
204 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
SAL_DLLPUBLIC void rtl_bootstrap_set(rtl_uString *pName, rtl_uString *pValue)
Sets a bootstrap parameter.
unsigned char sal_Bool
Definition: types.h:18
SAL_DLLPUBLIC rtlBootstrapHandle rtl_bootstrap_args_open(rtl_uString *pIniName)
Opens a bootstrap argument container.
SAL_DLLPUBLIC void rtl_bootstrap_expandMacros_from_handle(rtlBootstrapHandle handle, rtl_uString **macro)
Expands a macro using bootstrap variables.
SAL_DLLPUBLIC void rtl_bootstrap_expandMacros(rtl_uString **macro)
Expands a macro using default bootstrap variables.
CPPU_DLLPUBLIC void SAL_THROW_EXTERN_C()
This method is called to wait for a reply of a previously sent request.
SAL_DLLPUBLIC void rtl_bootstrap_args_close(rtlBootstrapHandle handle) SAL_THROW_EXTERN_C()
Closes a bootstrap argument container.
void * rtlBootstrapHandle
Definition: bootstrap.h:133
SAL_DLLPUBLIC sal_Bool rtl_bootstrap_get(rtl_uString *pName, rtl_uString **ppValue, rtl_uString *pDefault)
SAL_DLLPUBLIC void rtl_bootstrap_encode(rtl_uString const *value, rtl_uString **encoded)
Escapes special characters ("$" and "\").
SAL_DLLPUBLIC void rtl_bootstrap_setIniFileName(rtl_uString *pFileUri)
may be called by an application to set an ini-filename.
SAL_DLLPUBLIC void rtl_bootstrap_get_iniName_from_handle(rtlBootstrapHandle handle, rtl_uString **ppIniName)
Returns the name of the inifile associated with this handle.
SAL_DLLPUBLIC sal_Bool rtl_bootstrap_get_from_handle(rtlBootstrapHandle handle, rtl_uString *pName, rtl_uString **ppValue, rtl_uString *pDefault)
#define SAL_DLLPUBLIC
Definition: saldllapi.h:14