summaryrefslogtreecommitdiff
path: root/registry/inc
diff options
context:
space:
mode:
Diffstat (limited to 'registry/inc')
-rw-r--r--registry/inc/regapi.hxx (renamed from registry/inc/registry.h)20
1 files changed, 6 insertions, 14 deletions
diff --git a/registry/inc/registry.h b/registry/inc/regapi.hxx
index 8af32faa94ec..c84dab43fa61 100644
--- a/registry/inc/registry.h
+++ b/registry/inc/regapi.hxx
@@ -17,18 +17,14 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_REGISTRY_INC_REGISTRY_H
-#define INCLUDED_REGISTRY_INC_REGISTRY_H
+#ifndef INCLUDED_REGISTRY_INC_REGAPI_HXX
+#define INCLUDED_REGISTRY_INC_REGAPI_HXX
#include <stddef.h>
#include <rtl/ustring.h>
#include <registry/regtype.h>
#include <registry/regdllapi.h>
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
/** This function creates the specified key.
If the key already exists in the registry, the function opens the key only.
@@ -295,7 +291,7 @@ REG_DLLPUBLIC RegError REGISTRY_CALLTYPE reg_freeValueList(RegValueType valueTyp
*/
REG_DLLPUBLIC RegError REGISTRY_CALLTYPE reg_getResolvedKeyName(RegKeyHandle hKey,
rtl_uString* keyName,
- sal_Bool firstLinkOnly,
+ bool firstLinkOnly,
rtl_uString** pResolvedName);
/** This function loads registry information from a file and save it under the
@@ -350,8 +346,8 @@ REG_DLLPUBLIC RegError REGISTRY_CALLTYPE reg_saveKey(RegKeyHandle hKey,
REG_DLLPUBLIC RegError REGISTRY_CALLTYPE reg_mergeKey(RegKeyHandle hKey,
rtl_uString* keyName,
rtl_uString* regFileName,
- sal_Bool bWarnings,
- sal_Bool bReport);
+ bool bWarnings,
+ bool bReport);
/** This function creates a new registry with the specified name and creates a root key.
@@ -388,7 +384,7 @@ REG_DLLPUBLIC RegError REGISTRY_CALLTYPE reg_getName(RegHandle hRegistry, rtl_uS
@param hReg identifies a currently open registry.
@return TRUE if accessmode is read only else FALSE.
*/
-REG_DLLPUBLIC sal_Bool REGISTRY_CALLTYPE reg_isReadOnly(RegHandle hReg);
+REG_DLLPUBLIC bool REGISTRY_CALLTYPE reg_isReadOnly(RegHandle hReg);
/** This function opens a registry with the specified name.
@@ -431,10 +427,6 @@ REG_DLLPUBLIC RegError REGISTRY_CALLTYPE reg_destroyRegistry(RegHandle hRegistry
*/
REG_DLLPUBLIC RegError REGISTRY_CALLTYPE reg_dumpRegistry(RegKeyHandle hKey);
-#ifdef __cplusplus
-}
-#endif
-
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */