Files
libreoffice/include/registry/registry.h

441 lines
22 KiB
C
Raw Normal View History

/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2012-07-02 17:12:00 +01:00
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* This file incorporates work covered by the following license notice:
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright
* ownership. The ASF licenses this file to you under the Apache
* License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
2000-09-18 14:18:43 +00:00
#ifndef INCLUDED_REGISTRY_REGISTRY_H
#define INCLUDED_REGISTRY_REGISTRY_H
2000-09-18 14:18:43 +00:00
#include <stddef.h>
#include <rtl/ustring.h>
#include <registry/regtype.h>
#include <registry/regdllapi.h>
2000-09-18 14:18:43 +00:00
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
2001-11-15 17:01:32 +00:00
/** This function creates the specified key.
If the key already exists in the registry, the function opens the key only.
@param hKey identifies a currently open key. The key which will be opened or created by this
function is a subkey of the key identified by hKey.
@param keyName points to a null terminated string specifying the name of a key.
@param phNewKey points to a variable that receives the handle of the opened or created key.
The memory to store this variable will be allocated and will be freed by the function
reg_closeKey. If the function fails, phNewKey is NULL.
2000-09-18 14:18:43 +00:00
@return REG_NO_ERROR if succeeds else an error code.
*/
REG_DLLPUBLIC RegError REGISTRY_CALLTYPE reg_createKey(RegKeyHandle hKey,
2000-09-18 14:18:43 +00:00
rtl_uString* keyName,
RegKeyHandle* phNewKey);
/** This function opens the specified key.
2001-11-15 17:01:32 +00:00
@param hKey identifies a currently open key. The key which will be opened by this function
is a subkey of the key identified by hKey
@param keyName points to a null terminated string specifying the name of a key.
2012-01-20 17:16:19 -06:00
@param phOpenKey points to a variable that receives the handle of the opened key.
2001-11-15 17:01:32 +00:00
The memory to store this variable will be allocated and will be freed by the function
reg_closeKey. If the function fails, phNewKey is NULL.
2000-09-18 14:18:43 +00:00
@return REG_NO_ERROR if succeeds else an error code.
*/
REG_DLLPUBLIC RegError REGISTRY_CALLTYPE reg_openKey(RegKeyHandle hKey,
2000-09-18 14:18:43 +00:00
rtl_uString* keyName,
RegKeyHandle* phOpenKey);
/** This function opens all subkeys of the specified key.
2001-11-15 17:01:32 +00:00
@param hKey identifies a currently open key. The key that subkeys will be opened by this
function is a subkey of the key identified by hKey
@param keyName points to a null terminated string specifying the name of a key whose subkeys
will be opened.
@param pphSubKeys points to a variable that receives an array of all opened subkeys.
The memory to store this variable will be allocated and will be freed by the function
reg_closeSubKeys. If the function fails, pphSubKeys is NULL.
@param pnSubKeys specifies the length of the array (the number of open subkeys).
2000-09-18 14:18:43 +00:00
@return REG_NO_ERROR if succeeds else an error code.
*/
REG_DLLPUBLIC RegError REGISTRY_CALLTYPE reg_openSubKeys(RegKeyHandle hKey,
2000-09-18 14:18:43 +00:00
rtl_uString* keyName,
RegKeyHandle** pphSubKeys,
sal_uInt32* pnSubKeys);
2001-11-15 17:01:32 +00:00
/** This function closes all subkeys specified in the array.
@param phSubKeys points to a variable that containss an array of all opened subkeys.
The allocated memory of pphSubKeys and all open subkeys will be freed.
@param nSubKeys specifies the length of the array (the number of subkeys to closed).
2000-09-18 14:18:43 +00:00
@return REG_NO_ERROR if succeeds else an error code.
*/
REG_DLLPUBLIC RegError REGISTRY_CALLTYPE reg_closeSubKeys(RegKeyHandle* phSubKeys,
2000-09-18 14:18:43 +00:00
sal_uInt32 nSubKeys);
/** This function deletes the specified key.
2001-11-15 17:01:32 +00:00
@param hKey identifies a currently open key. The key deleted by this function
is a subkey of the key identified by hKey
@param keyName points to a null terminated string specifying the name of a key which will
be deleted.
2000-09-18 14:18:43 +00:00
@return REG_NO_ERROR if succeeds else an error code.
*/
REG_DLLPUBLIC RegError REGISTRY_CALLTYPE reg_deleteKey(RegKeyHandle hKey,
2000-09-18 14:18:43 +00:00
rtl_uString* keyName);
/** This function closes the specified key.
2001-11-15 17:01:32 +00:00
@param hKey identifies a currently open key which will be closed by this function.
The memory of the variable specifying the key will be freed.
2000-09-18 14:18:43 +00:00
@return REG_NO_ERROR if succeeds else an error code.
*/
REG_DLLPUBLIC RegError REGISTRY_CALLTYPE reg_closeKey(RegKeyHandle hKey);
2000-09-18 14:18:43 +00:00
2001-11-15 17:01:32 +00:00
/** This function returns the name of a key.
@param hKey identifies a currently open key which name will be returned.
2000-09-18 14:18:43 +00:00
@param pKeyName contains the keyname if succeeds else an empty string.
*/
REG_DLLPUBLIC RegError REGISTRY_CALLTYPE reg_getKeyName(RegKeyHandle hKey, rtl_uString** pKeyName);
2000-09-18 14:18:43 +00:00
2001-11-15 17:01:32 +00:00
/** This function sets a value of a key.
@param hKey identifies a currently open key. The key which value will be set by this
function is a subkey of the key identified by hKey.
@param keyName points to a null terminated string specifying the name of a key which value
will be set. If keyName is NULL, then the value of the key specified by
hKey will be set.
@param valueType specifies the type of the value.
@param pData points to a memory block containing the data of the value.
@param valueSize specifies the size of pData in bytes
2000-09-18 14:18:43 +00:00
@return REG_NO_ERROR if succeeds else an error code.
*/
REG_DLLPUBLIC RegError REGISTRY_CALLTYPE reg_setValue(RegKeyHandle hKey,
2000-09-18 14:18:43 +00:00
rtl_uString* keyName,
RegValueType valueType,
RegValue pData,
sal_uInt32 valueSize);
2001-11-15 17:01:32 +00:00
/** This function sets an long list value of a key.
@param[in] hKey identifies a currently open key. The key which value will be set by this
function is a subkey of the key identified by hKey.
@param[in] keyName points to a null terminated string specifying the name of a key which value
2001-11-15 17:01:32 +00:00
will be set. If keyName is NULL, then the value of the key specified by
hKey will be set.
@param[out] pValueList points to an array of longs containing the data of the value.
@param[out] len specifies the len of pValueList.
2000-09-18 14:18:43 +00:00
@return REG_NO_ERROR if succeeds else an error code.
*/
REG_DLLPUBLIC RegError REGISTRY_CALLTYPE reg_setLongListValue(RegKeyHandle hKey,
2000-09-18 14:18:43 +00:00
rtl_uString* keyName,
sal_Int32* pValueList,
sal_uInt32 len);
2001-11-15 17:01:32 +00:00
/** This function sets an ascii list value of a key.
@param[in] hKey identifies a currently open key. The key which value will be set by this
function is a subkey of the key identified by hKey.
@param[in] keyName points to a null terminated string specifying the name of a key which value
2001-11-15 17:01:32 +00:00
will be set. If keyName is NULL, then the value of the key specified by
hKey will be set.
@param[in] pValueList points to an array of sal_Char* containing the data of the value.
@param[in] len specifies the len of pValueList.
2000-09-18 14:18:43 +00:00
@return REG_NO_ERROR if succeeds else an error code.
*/
REG_DLLPUBLIC RegError REGISTRY_CALLTYPE reg_setStringListValue(RegKeyHandle hKey,
2000-09-18 14:18:43 +00:00
rtl_uString* keyName,
sal_Char** pValueList,
sal_uInt32 len);
2001-11-15 17:01:32 +00:00
/** This function sets an unicode string list value of a key.
@param[in] hKey identifies a currently open key. The key which value will be set by this
function is a subkey of the key identified by hKey.
@param[in] keyName points to a null terminated string specifying the name of a key which value
2001-11-15 17:01:32 +00:00
will be set. If keyName is NULL, then the value of the key specified by
hKey will be set.
@param[in] pValueList points to an array of sal_Unicode* containing the data of the value.
@param[in] len specifies the len of pValueList.
2000-09-18 14:18:43 +00:00
@return REG_NO_ERROR if succeeds else an error code.
*/
REG_DLLPUBLIC RegError REGISTRY_CALLTYPE reg_setUnicodeListValue(RegKeyHandle hKey,
2000-09-18 14:18:43 +00:00
rtl_uString* keyName,
sal_Unicode** pValueList,
sal_uInt32 len);
2001-11-15 17:01:32 +00:00
/** This function gets info about type and size of a key value.
@param hKey identifies a currently open key. The key which value info will be got by this
function is a subkey of the key identified by hKey.
@param keyName points to a null terminated string specifying the name of a key which value
will be got. If keyName is NULL, then the value info of the key specified by
hKey will be got.
@param pValueType returns the type of the value.
@param pValueSize returns the size of the value in bytes
2000-09-18 14:18:43 +00:00
@return REG_NO_ERROR if succeeds else an error code.
*/
REG_DLLPUBLIC RegError REGISTRY_CALLTYPE reg_getValueInfo(RegKeyHandle hKey,
2000-09-18 14:18:43 +00:00
rtl_uString* keyName,
RegValueType* pValueType,
sal_uInt32* pValueSize);
2001-11-15 17:01:32 +00:00
/** This function gets the value of a key.
@param hKey identifies a currently open key. The key which value will be got by this
function is a subkey of the key identified by hKey.
@param keyName points to a null terminated string specifying the name of a key which value
will be got. If keyName is NULL, then the value of the key specified by
hKey will be got.
@param pData points to an allocated memory block receiving the data of the value.
2000-09-18 14:18:43 +00:00
@return REG_NO_ERROR if succeeds else an error code.
*/
REG_DLLPUBLIC RegError REGISTRY_CALLTYPE reg_getValue(RegKeyHandle hKey,
2000-09-18 14:18:43 +00:00
rtl_uString* keyName,
RegValue pData);
2001-11-15 17:01:32 +00:00
/** This function gets the long list value of a key.
@param[in] hKey identifies a currently open key. The key which value will be got by this
function is a subkey of the key identified by hKey.
@param[in] keyName points to a null terminated string specifying the name of a key which value
2001-11-15 17:01:32 +00:00
will be got. If keyName is NULL, then the value of the key specified by
hKey will be got.
@param[out] pValueList a Pointer to a long value list which returns the data of the value.
@param[out] pLen returns the length of the value list.
2000-09-18 14:18:43 +00:00
@return REG_NO_ERROR if succeeds else an error code.
*/
REG_DLLPUBLIC RegError REGISTRY_CALLTYPE reg_getLongListValue(RegKeyHandle hKey,
2000-09-18 14:18:43 +00:00
rtl_uString* keyName,
sal_Int32** pValueList,
sal_uInt32* pLen);
2001-11-15 17:01:32 +00:00
/** This function gets the string list value of a key.
@param[in] hKey identifies a currently open key. The key whose value will be retrieved by this
function is a subkey of the key identified by hKey.
@param[in] keyName points to a null terminated string specifying the name of a key whose value
will be retrieved. If keyName is NULL, then the value of the key specified by
hKey will be retrieved.
@param[out] pValueList a Pointer to an ascii value list which returns the data of the value.
@param[out] pLen returns the length of the value list.
2000-09-18 14:18:43 +00:00
@return REG_NO_ERROR if succeeds else an error code.
*/
REG_DLLPUBLIC RegError REGISTRY_CALLTYPE reg_getStringListValue(RegKeyHandle hKey,
2000-09-18 14:18:43 +00:00
rtl_uString* keyName,
sal_Char*** pValueList,
sal_uInt32* pLen);
2001-11-15 17:01:32 +00:00
/** This function gets the unicode list value of a key.
@param[in] hKey identifies a currently open key. The key whose value will be retrieved by this
function is a subkey of the key identified by hKey.
@param[in] keyName points to a null terminated string specifying the name of a key whose value
will be retrieved. If keyName is NULL, then the value of the key specified by
hKey will be retrieved.
@param[out] pValueList a Pointer to an unicode value list which returns the data of the value.
@param[out] pLen returns the length of the value list.
2000-09-18 14:18:43 +00:00
@return REG_NO_ERROR if succeeds else an error code.
*/
REG_DLLPUBLIC RegError REGISTRY_CALLTYPE reg_getUnicodeListValue(RegKeyHandle hKey,
2000-09-18 14:18:43 +00:00
rtl_uString* keyName,
sal_Unicode*** pValueList,
sal_uInt32* pLen);
2001-11-15 17:01:32 +00:00
/** This function frees the memory of a value list.
@param valueType specifies the type of the list values.
@param pValueList a Pointer to the value list.
@param len specifies the length of the value list.
2000-09-18 14:18:43 +00:00
@return REG_NO_ERROR if succeeds else an error code.
*/
REG_DLLPUBLIC RegError REGISTRY_CALLTYPE reg_freeValueList(RegValueType valueType,
2000-09-18 14:18:43 +00:00
RegValue pValueList,
sal_uInt32 len);
CWS-TOOLING: integrate CWS sb103 2009-01-15 15:28:08 +0100 sb r266375 : #i97629# set UNO_PATH in python start program and use it in bootstrap function in officehelper.py (and do not erroneously encode a vnd.sun.star.pathname URE_BOOTSTRAP value in tools::extendApplicationEnvironment) 2009-01-15 10:40:17 +0100 sb r266338 : #i97424# explicit shut down of ImplImageTree singleton in DeInitVCL still required 2009-01-14 12:07:15 +0100 sb r266276 : CWS-TOOLING: rebase CWS sb103 to trunk@265758 (milestone: DEV300:m38) 2009-01-14 08:53:02 +0100 sb r266266 : #i96284# remove implementation of unused (but expensive) link feature; plus some general cleanup 2009-01-08 14:42:59 +0100 sb r266010 : #i96683# enable dlclose for GCC 3 (based on a patch by cmc) 2009-01-06 14:18:23 +0100 sb r265920 : #i97424# spurious unreferenced local variables 2008-12-19 15:33:39 +0100 sb r265727 : #i57359# no need for a special glibc 2.2.4 based libgcc_s.so.1 for URE any more as the general one used for OOo is guaranteed to be based on at least glibc 2.2.4, anyway 2008-12-19 13:54:37 +0100 sb r265724 : #i97424# clean up and speed up vcl ImplImageTree 2008-12-18 14:28:10 +0100 sb r265690 : #i97132# spread usage of the rtl::Static pattern (patch by cmc) 2008-12-15 14:33:00 +0100 sb r265499 : #i90492# generate UTF-8 encoded output (patch by tora) 2008-12-15 11:45:05 +0100 sb r265469 : #i95593# -Djava.library.path to find libtest_javauno_any.so 2008-12-15 11:23:14 +0100 sb r265468 : #i93769# it appears that Java nowadays expects file URIs in UTF-8, so ExternalUriReferenceTranslator.toExternal must not be called 2008-12-10 12:02:50 +0100 sb r265164 : #i93219# use (corrected) signal handling instead of forking again (to avoid unintended generation of core files)
2009-02-12 09:18:09 +00:00
/** This function resolves a keyname.
2001-11-15 17:01:32 +00:00
@param[in] hKey identifies a currently open key. The key specified by keyName is a subkey
2001-11-15 17:01:32 +00:00
of the key identified by hKey.
@param[in] keyName points to a null terminated string specifying the relativ name of a key.
CWS-TOOLING: integrate CWS sb103 2009-01-15 15:28:08 +0100 sb r266375 : #i97629# set UNO_PATH in python start program and use it in bootstrap function in officehelper.py (and do not erroneously encode a vnd.sun.star.pathname URE_BOOTSTRAP value in tools::extendApplicationEnvironment) 2009-01-15 10:40:17 +0100 sb r266338 : #i97424# explicit shut down of ImplImageTree singleton in DeInitVCL still required 2009-01-14 12:07:15 +0100 sb r266276 : CWS-TOOLING: rebase CWS sb103 to trunk@265758 (milestone: DEV300:m38) 2009-01-14 08:53:02 +0100 sb r266266 : #i96284# remove implementation of unused (but expensive) link feature; plus some general cleanup 2009-01-08 14:42:59 +0100 sb r266010 : #i96683# enable dlclose for GCC 3 (based on a patch by cmc) 2009-01-06 14:18:23 +0100 sb r265920 : #i97424# spurious unreferenced local variables 2008-12-19 15:33:39 +0100 sb r265727 : #i57359# no need for a special glibc 2.2.4 based libgcc_s.so.1 for URE any more as the general one used for OOo is guaranteed to be based on at least glibc 2.2.4, anyway 2008-12-19 13:54:37 +0100 sb r265724 : #i97424# clean up and speed up vcl ImplImageTree 2008-12-18 14:28:10 +0100 sb r265690 : #i97132# spread usage of the rtl::Static pattern (patch by cmc) 2008-12-15 14:33:00 +0100 sb r265499 : #i90492# generate UTF-8 encoded output (patch by tora) 2008-12-15 11:45:05 +0100 sb r265469 : #i95593# -Djava.library.path to find libtest_javauno_any.so 2008-12-15 11:23:14 +0100 sb r265468 : #i93769# it appears that Java nowadays expects file URIs in UTF-8, so ExternalUriReferenceTranslator.toExternal must not be called 2008-12-10 12:02:50 +0100 sb r265164 : #i93219# use (corrected) signal handling instead of forking again (to avoid unintended generation of core files)
2009-02-12 09:18:09 +00:00
The name of hKey together with keyName will be generated.
@param[in] firstLinkOnly ignored
@param[out] pResolvedName returns the resolved keyName.
2000-09-18 14:18:43 +00:00
@return REG_NO_ERROR if succeeds else an error code.
*/
REG_DLLPUBLIC RegError REGISTRY_CALLTYPE reg_getResolvedKeyName(RegKeyHandle hKey,
2000-09-18 14:18:43 +00:00
rtl_uString* keyName,
sal_Bool firstLinkOnly,
rtl_uString** pResolvedName);
2001-11-15 17:01:32 +00:00
/** This function loads registry information from a file and save it under the
2000-09-18 14:18:43 +00:00
specified keyName.
2001-11-15 17:01:32 +00:00
@param hKey identifies a currently open key. The key which should store the registry information
is a subkey of this key.
@param keyName points to a null terminated string specifying the name of the key which stores the
registry information. If keyName is NULL the registry information will be saved under
the key specified by hKey.
@param regFileName points to a null terminated string specifying the file which conains the
registry information.
2000-09-18 14:18:43 +00:00
@return REG_NO_ERROR if succeeds else an error code.
*/
REG_DLLPUBLIC RegError REGISTRY_CALLTYPE reg_loadKey(RegKeyHandle hKey,
2000-09-18 14:18:43 +00:00
rtl_uString* keyName,
rtl_uString* regFileName);
2001-11-15 17:01:32 +00:00
/** This function saves the registry information under a specified key and all of its subkeys and save
it in a registry file.
@param hKey identifies a currently open key. The key which information is saved by this
function is a subkey of the key identified by hKey.
@param keyName points to a null terminated string specifying the name of the subkey.
2000-09-18 14:18:43 +00:00
If keyName is NULL the registry information under the key specified by hKey
2001-11-15 17:01:32 +00:00
will be saved in the specified file.
@param regFileName points to a null terminated string specifying the file which will contain the
registry information.
2000-09-18 14:18:43 +00:00
@return REG_NO_ERROR if succeeds else an error code.
*/
REG_DLLPUBLIC RegError REGISTRY_CALLTYPE reg_saveKey(RegKeyHandle hKey,
2000-09-18 14:18:43 +00:00
rtl_uString* keyName,
rtl_uString* regFileName);
2001-11-15 17:01:32 +00:00
/** This function merges the registry information from a specified source with the information of the
currently open registry.
All existing keys will be extended and existing key values will be overwritten.
@param hKey identifies a currently open key. The key which information is merged by this
function is a subkey of the key identified by hKey.
@param keyName points to a null terminated string specifying the name of the key which will be merged.
2000-09-18 14:18:43 +00:00
If keyName is NULL the registry information under the key specified by hKey
2001-11-15 17:01:32 +00:00
is merged with the complete information from the specified file.
@param regFileName points to a null terminated string specifying the file containing the
registry information.
2000-09-18 14:18:43 +00:00
@param bWarnings if TRUE the function returns an error if a key already exists.
@param bReport if TRUE the function reports warnings on stdout if a key already exists.
@return REG_NO_ERROR if succeeds else an error code.
*/
REG_DLLPUBLIC RegError REGISTRY_CALLTYPE reg_mergeKey(RegKeyHandle hKey,
2000-09-18 14:18:43 +00:00
rtl_uString* keyName,
rtl_uString* regFileName,
sal_Bool bWarnings,
sal_Bool bReport);
/** This function creates a new registry with the specified name and creates a root key.
2001-11-15 17:01:32 +00:00
@param registryName points to a null terminated string specifying the name of the new registry.
@param phRegistry points to a handle of the new registry if the function succeeds otherwise NULL.
2000-09-18 14:18:43 +00:00
@return REG_NO_ERROR if succeeds else an error code.
*/
REG_DLLPUBLIC RegError REGISTRY_CALLTYPE reg_createRegistry(rtl_uString* registryName,
2000-09-18 14:18:43 +00:00
RegHandle* phRegistry);
2001-11-15 17:01:32 +00:00
/** This function opens the root key of a registry.
2012-02-21 23:16:31 +01:00
@param hRegistry identifies a currently open registry whose rootKey will be returned.
2001-11-15 17:01:32 +00:00
@param phRootKey points to a handle of the open root key if the function succeeds otherwise NULL.
2000-09-18 14:18:43 +00:00
@return REG_NO_ERROR if succeeds else an error code.
*/
REG_DLLPUBLIC RegError REGISTRY_CALLTYPE reg_openRootKey(RegHandle hRegistry,
2000-09-18 14:18:43 +00:00
RegKeyHandle* phRootKey);
2001-11-15 17:01:32 +00:00
/** This function returns the name of a registry.
2012-01-20 17:16:19 -06:00
@param hRegistry identifies a currently open registry whose name will be returned.
2001-11-15 17:01:32 +00:00
@param pName returns the name of the registry if the function succeeds otherwise an empty string.
@return REG_NO_ERROR if succeeds else an error code.
2000-09-18 14:18:43 +00:00
*/
REG_DLLPUBLIC RegError REGISTRY_CALLTYPE reg_getName(RegHandle hRegistry, rtl_uString** pName);
2000-09-18 14:18:43 +00:00
/** This function returns the access mode of the registry.
2001-11-15 17:01:32 +00:00
@param hReg identifies a currently open registry.
2000-09-18 14:18:43 +00:00
@return TRUE if accessmode is read only else FALSE.
*/
REG_DLLPUBLIC sal_Bool REGISTRY_CALLTYPE reg_isReadOnly(RegHandle hReg);
2000-09-18 14:18:43 +00:00
/** This function opens a registry with the specified name.
2001-11-15 17:01:32 +00:00
@param registryName points to a null terminated string specifying the name of the registry.
@param phRegistry points to a hanle of the opened registry if the function succeeds otherwise NULL.
@param accessMode specifies the accessmode of the registry, RegAccessMode::READONLY or RegAccessMode::READWRITE.
2000-09-18 14:18:43 +00:00
@return REG_NO_ERROR if succeeds else an error code.
*/
REG_DLLPUBLIC RegError REGISTRY_CALLTYPE reg_openRegistry(rtl_uString* registryName,
2000-09-18 14:18:43 +00:00
RegHandle* phRegistry,
RegAccessMode accessMode);
2001-11-15 17:01:32 +00:00
/** This function closes a registry.
@param hRegistry identifies a currently open registry which should be closed.
2000-09-18 14:18:43 +00:00
@return REG_NO_ERROR if succeeds else an error code.
*/
REG_DLLPUBLIC RegError REGISTRY_CALLTYPE reg_closeRegistry(RegHandle hRegistry);
2000-09-18 14:18:43 +00:00
2001-11-15 17:01:32 +00:00
/** This function destroys a registry.
@param hRegistry identifies a currently open registry.
@param registryName specifies a registry name of a registry which should be destroyed. If the
name is NULL the registry itselfs will be destroyed.
2000-09-18 14:18:43 +00:00
@return REG_NO_ERROR if succeeds else an error code.
*/
REG_DLLPUBLIC RegError REGISTRY_CALLTYPE reg_destroyRegistry(RegHandle hRegistry,
2000-09-18 14:18:43 +00:00
rtl_uString* registryName);
2001-11-15 17:01:32 +00:00
/** This function reports the complete registry information of a key and all of its subkeys.
CWS-TOOLING: integrate CWS sb103 2009-01-15 15:28:08 +0100 sb r266375 : #i97629# set UNO_PATH in python start program and use it in bootstrap function in officehelper.py (and do not erroneously encode a vnd.sun.star.pathname URE_BOOTSTRAP value in tools::extendApplicationEnvironment) 2009-01-15 10:40:17 +0100 sb r266338 : #i97424# explicit shut down of ImplImageTree singleton in DeInitVCL still required 2009-01-14 12:07:15 +0100 sb r266276 : CWS-TOOLING: rebase CWS sb103 to trunk@265758 (milestone: DEV300:m38) 2009-01-14 08:53:02 +0100 sb r266266 : #i96284# remove implementation of unused (but expensive) link feature; plus some general cleanup 2009-01-08 14:42:59 +0100 sb r266010 : #i96683# enable dlclose for GCC 3 (based on a patch by cmc) 2009-01-06 14:18:23 +0100 sb r265920 : #i97424# spurious unreferenced local variables 2008-12-19 15:33:39 +0100 sb r265727 : #i57359# no need for a special glibc 2.2.4 based libgcc_s.so.1 for URE any more as the general one used for OOo is guaranteed to be based on at least glibc 2.2.4, anyway 2008-12-19 13:54:37 +0100 sb r265724 : #i97424# clean up and speed up vcl ImplImageTree 2008-12-18 14:28:10 +0100 sb r265690 : #i97132# spread usage of the rtl::Static pattern (patch by cmc) 2008-12-15 14:33:00 +0100 sb r265499 : #i90492# generate UTF-8 encoded output (patch by tora) 2008-12-15 11:45:05 +0100 sb r265469 : #i95593# -Djava.library.path to find libtest_javauno_any.so 2008-12-15 11:23:14 +0100 sb r265468 : #i93769# it appears that Java nowadays expects file URIs in UTF-8, so ExternalUriReferenceTranslator.toExternal must not be called 2008-12-10 12:02:50 +0100 sb r265164 : #i93219# use (corrected) signal handling instead of forking again (to avoid unintended generation of core files)
2009-02-12 09:18:09 +00:00
All information which are available (keynames, value types, values, ...)
2001-11-15 17:01:32 +00:00
will be printed to stdout for report issues only.
@param hKey identifies a currently open key which content will be reported.
2000-09-18 14:18:43 +00:00
@return REG_NO_ERROR if succeeds else an error code.
*/
REG_DLLPUBLIC RegError REGISTRY_CALLTYPE reg_dumpRegistry(RegKeyHandle hKey);
2000-09-18 14:18:43 +00:00
#ifdef __cplusplus
}
#endif
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */