summaryrefslogtreecommitdiff
path: root/registry
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-09-30 10:29:19 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-10-01 10:43:24 +0000
commit58aea3f36c14414f95668e229a7350598f6c53a8 (patch)
tree70c115dffd44576313cefd49e4164d293895e4bd /registry
parent3fcbfe10857631212d8b8db9a079bb9692ed78bc (diff)
loplugin:unusedmethods
- improvements to the plugin to find more method calls - improvements to python script to remove more false+ - fix the FORCE_COMPILE_ALL build flag to include code in the $WORKDIR Change-Id: I4d6015dcb9b9d60c26f0bcee8abad807177a7836 Reviewed-on: https://gerrit.libreoffice.org/19064 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'registry')
-rw-r--r--registry/inc/regapi.hxx331
-rw-r--r--registry/source/reflcnst.hxx14
-rw-r--r--registry/source/registry.cxx93
-rw-r--r--registry/source/regkey.cxx219
4 files changed, 0 insertions, 657 deletions
diff --git a/registry/inc/regapi.hxx b/registry/inc/regapi.hxx
index 3a9d0e623ceb..31bf1d8ee219 100644
--- a/registry/inc/regapi.hxx
+++ b/registry/inc/regapi.hxx
@@ -25,22 +25,6 @@
#include <registry/regtype.h>
#include <registry/regdllapi.h>
-/** 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.
- @return REG_NO_ERROR if succeeds else an error code.
-*/
-REG_DLLPUBLIC RegError REGISTRY_CALLTYPE reg_createKey(RegKeyHandle hKey,
- rtl_uString* keyName,
- RegKeyHandle* phNewKey);
-
-
/** This function opens the specified key.
@param hKey identifies a currently open key. The key which will be opened by this function
@@ -56,48 +40,6 @@ REG_DLLPUBLIC RegError REGISTRY_CALLTYPE reg_openKey(RegKeyHandle hKey,
RegKeyHandle* phOpenKey);
-
-/** This function opens all subkeys of the specified key.
-
- @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).
- @return REG_NO_ERROR if succeeds else an error code.
-*/
-REG_DLLPUBLIC RegError REGISTRY_CALLTYPE reg_openSubKeys(RegKeyHandle hKey,
- rtl_uString* keyName,
- RegKeyHandle** pphSubKeys,
- sal_uInt32* pnSubKeys);
-
-
-/** 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).
- @return REG_NO_ERROR if succeeds else an error code.
-*/
-REG_DLLPUBLIC RegError REGISTRY_CALLTYPE reg_closeSubKeys(RegKeyHandle* phSubKeys,
- sal_uInt32 nSubKeys);
-
-
-/** This function deletes the specified key.
-
- @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.
- @return REG_NO_ERROR if succeeds else an error code.
-*/
-REG_DLLPUBLIC RegError REGISTRY_CALLTYPE reg_deleteKey(RegKeyHandle hKey,
- rtl_uString* keyName);
-
-
/** This function closes the specified key.
@param hKey identifies a currently open key which will be closed by this function.
@@ -107,259 +49,6 @@ REG_DLLPUBLIC RegError REGISTRY_CALLTYPE reg_deleteKey(RegKeyHandle hKey,
REG_DLLPUBLIC RegError REGISTRY_CALLTYPE reg_closeKey(RegKeyHandle hKey);
-/** This function returns the name of a key.
-
- @param hKey identifies a currently open key which name will be returned.
- @param pKeyName contains the keyname if succeeds else an empty string.
-*/
-REG_DLLPUBLIC RegError REGISTRY_CALLTYPE reg_getKeyName(RegKeyHandle hKey, rtl_uString** pKeyName);
-
-
-/** 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
- @return REG_NO_ERROR if succeeds else an error code.
-*/
-REG_DLLPUBLIC RegError REGISTRY_CALLTYPE reg_setValue(RegKeyHandle hKey,
- rtl_uString* keyName,
- RegValueType valueType,
- RegValue pData,
- sal_uInt32 valueSize);
-
-
-/** 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
- 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.
- @return REG_NO_ERROR if succeeds else an error code.
-*/
-REG_DLLPUBLIC RegError REGISTRY_CALLTYPE reg_setLongListValue(RegKeyHandle hKey,
- rtl_uString* keyName,
- sal_Int32* pValueList,
- sal_uInt32 len);
-
-
-/** 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
- 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.
- @return REG_NO_ERROR if succeeds else an error code.
-*/
-REG_DLLPUBLIC RegError REGISTRY_CALLTYPE reg_setStringListValue(RegKeyHandle hKey,
- rtl_uString* keyName,
- sal_Char** pValueList,
- sal_uInt32 len);
-
-
-/** 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
- 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.
- @return REG_NO_ERROR if succeeds else an error code.
-*/
-REG_DLLPUBLIC RegError REGISTRY_CALLTYPE reg_setUnicodeListValue(RegKeyHandle hKey,
- rtl_uString* keyName,
- sal_Unicode** pValueList,
- sal_uInt32 len);
-
-
-/** 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
- @return REG_NO_ERROR if succeeds else an error code.
-*/
-REG_DLLPUBLIC RegError REGISTRY_CALLTYPE reg_getValueInfo(RegKeyHandle hKey,
- rtl_uString* keyName,
- RegValueType* pValueType,
- sal_uInt32* pValueSize);
-
-
-/** 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.
- @return REG_NO_ERROR if succeeds else an error code.
-*/
-REG_DLLPUBLIC RegError REGISTRY_CALLTYPE reg_getValue(RegKeyHandle hKey,
- rtl_uString* keyName,
- RegValue pData);
-
-
-/** 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
- 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.
- @return REG_NO_ERROR if succeeds else an error code.
-*/
-REG_DLLPUBLIC RegError REGISTRY_CALLTYPE reg_getLongListValue(RegKeyHandle hKey,
- rtl_uString* keyName,
- sal_Int32** pValueList,
- sal_uInt32* pLen);
-
-
-/** 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.
- @return REG_NO_ERROR if succeeds else an error code.
-*/
-REG_DLLPUBLIC RegError REGISTRY_CALLTYPE reg_getStringListValue(RegKeyHandle hKey,
- rtl_uString* keyName,
- sal_Char*** pValueList,
- sal_uInt32* pLen);
-
-
-/** 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.
- @return REG_NO_ERROR if succeeds else an error code.
-*/
-REG_DLLPUBLIC RegError REGISTRY_CALLTYPE reg_getUnicodeListValue(RegKeyHandle hKey,
- rtl_uString* keyName,
- sal_Unicode*** pValueList,
- sal_uInt32* pLen);
-
-
-/** 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.
- @return REG_NO_ERROR if succeeds else an error code.
-*/
-REG_DLLPUBLIC RegError REGISTRY_CALLTYPE reg_freeValueList(RegValueType valueType,
- RegValue pValueList,
- sal_uInt32 len);
-
-/** This function resolves a keyname.
-
- @param[in] hKey identifies a currently open key. The key specified by keyName is a subkey
- of the key identified by hKey.
- @param[in] keyName points to a null terminated string specifying the relativ name of a key.
- The name of hKey together with keyName will be generated.
- @param[in] firstLinkOnly ignored
- @param[out] pResolvedName returns the resolved keyName.
- @return REG_NO_ERROR if succeeds else an error code.
- */
-REG_DLLPUBLIC RegError REGISTRY_CALLTYPE reg_getResolvedKeyName(RegKeyHandle hKey,
- rtl_uString* keyName,
- bool firstLinkOnly,
- rtl_uString** pResolvedName);
-
-/** This function loads registry information from a file and save it under the
- specified keyName.
-
- @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 contains the
- registry information.
- @return REG_NO_ERROR if succeeds else an error code.
-*/
-REG_DLLPUBLIC RegError REGISTRY_CALLTYPE reg_loadKey(RegKeyHandle hKey,
- rtl_uString* keyName,
- rtl_uString* regFileName);
-
-
-/** 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.
- If keyName is NULL the registry information under the key specified by hKey
- will be saved in the specified file.
- @param regFileName points to a null terminated string specifying the file which will contain the
- registry information.
- @return REG_NO_ERROR if succeeds else an error code.
-*/
-REG_DLLPUBLIC RegError REGISTRY_CALLTYPE reg_saveKey(RegKeyHandle hKey,
- rtl_uString* keyName,
- rtl_uString* regFileName);
-
-
-/** 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.
- If keyName is NULL the registry information under the key specified by hKey
- 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.
- @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,
- rtl_uString* keyName,
- rtl_uString* regFileName,
- bool bWarnings,
- bool bReport);
-
-
-/** This function creates a new registry with the specified name and creates a root key.
-
- @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.
- @return REG_NO_ERROR if succeeds else an error code.
-*/
-REG_DLLPUBLIC RegError REGISTRY_CALLTYPE reg_createRegistry(rtl_uString* registryName,
- RegHandle* phRegistry);
-
-
/** This function opens the root key of a registry.
@param hRegistry identifies a currently open registry whose rootKey will be returned.
@@ -370,15 +59,6 @@ REG_DLLPUBLIC RegError REGISTRY_CALLTYPE reg_openRootKey(RegHandle hRegistry,
RegKeyHandle* phRootKey);
-/** This function returns the name of a registry.
-
- @param hRegistry identifies a currently open registry whose name will be returned.
- @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.
-*/
-REG_DLLPUBLIC RegError REGISTRY_CALLTYPE reg_getName(RegHandle hRegistry, rtl_uString** pName);
-
-
/** This function opens a registry with the specified name.
@param registryName points to a null terminated string specifying the name of the registry.
@@ -399,17 +79,6 @@ REG_DLLPUBLIC RegError REGISTRY_CALLTYPE reg_openRegistry(rtl_uString* registryN
REG_DLLPUBLIC RegError REGISTRY_CALLTYPE reg_closeRegistry(RegHandle hRegistry);
-/** 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.
- @return REG_NO_ERROR if succeeds else an error code.
-*/
-REG_DLLPUBLIC RegError REGISTRY_CALLTYPE reg_destroyRegistry(RegHandle hRegistry,
- rtl_uString* registryName);
-
-
/** This function reports the complete registry information of a key and all of its subkeys.
All information which are available (keynames, value types, values, ...)
diff --git a/registry/source/reflcnst.hxx b/registry/source/reflcnst.hxx
index ae1acd21d426..468bd549f533 100644
--- a/registry/source/reflcnst.hxx
+++ b/registry/source/reflcnst.hxx
@@ -178,20 +178,6 @@ inline sal_uInt32 readUINT32(const sal_uInt8* buffer, sal_uInt32& v)
return sizeof(sal_uInt32);
}
-inline sal_uInt32 writeINT64(sal_uInt8* buffer, sal_Int64 v)
-{
- buffer[0] = (sal_uInt8)((v >> 56) & 0xFF);
- buffer[1] = (sal_uInt8)((v >> 48) & 0xFF);
- buffer[2] = (sal_uInt8)((v >> 40) & 0xFF);
- buffer[3] = (sal_uInt8)((v >> 32) & 0xFF);
- buffer[4] = (sal_uInt8)((v >> 24) & 0xFF);
- buffer[5] = (sal_uInt8)((v >> 16) & 0xFF);
- buffer[6] = (sal_uInt8)((v >> 8) & 0xFF);
- buffer[7] = (sal_uInt8)((v >> 0) & 0xFF);
-
- return sizeof(sal_Int64);
-}
-
inline sal_uInt32 writeUINT64(sal_uInt8* buffer, sal_uInt64 v)
{
buffer[0] = (sal_uInt8)((v >> 56) & 0xFF);
diff --git a/registry/source/registry.cxx b/registry/source/registry.cxx
index 8ef134e5318e..97a577e7234f 100644
--- a/registry/source/registry.cxx
+++ b/registry/source/registry.cxx
@@ -446,80 +446,6 @@ Registry_Api* REGISTRY_CALLTYPE initRegistry_Api()
}
-// reg_loadRegKey
-
-RegError REGISTRY_CALLTYPE reg_loadKey(RegKeyHandle hKey,
- rtl_uString* keyName,
- rtl_uString* regFileName)
-{
- ORegKey *pKey;
-
- if (hKey)
- pKey = static_cast<ORegKey*>(hKey);
- else
- return RegError::INVALID_KEY;
-
- return loadKey(pKey->getRegistry(), hKey, keyName, regFileName);
-}
-
-
-// reg_saveKey
-
-RegError REGISTRY_CALLTYPE reg_saveKey(RegKeyHandle hKey,
- rtl_uString* keyName,
- rtl_uString* regFileName)
-{
- ORegKey *pKey;
-
- if (hKey)
- pKey = static_cast<ORegKey*>(hKey);
- else
- return RegError::INVALID_KEY;
-
- return saveKey(pKey->getRegistry(), hKey, keyName, regFileName);
-}
-
-
-// reg_mergeKey
-
-RegError REGISTRY_CALLTYPE reg_mergeKey(RegKeyHandle hKey,
- rtl_uString* keyName,
- rtl_uString* regFileName,
- bool bWarnings,
- bool bReport)
-{
- ORegKey *pKey;
-
- if (hKey)
- pKey = static_cast<ORegKey*>(hKey);
- else
- return RegError::INVALID_KEY;
-
- return mergeKey(pKey->getRegistry(), hKey, keyName, regFileName, bWarnings, bReport);
-}
-
-
-// reg_createRegistry
-
-RegError REGISTRY_CALLTYPE reg_createRegistry(rtl_uString* registryName,
- RegHandle* phRegistry)
-{
- RegError ret;
-
- ORegistry* pReg = new ORegistry();
- if ((ret = pReg->initRegistry(registryName, RegAccessMode::READWRITE, true/*bCreate*/)) != RegError::NO_ERROR)
- {
- delete pReg;
- *phRegistry = NULL;
- return ret;
- }
-
- *phRegistry = pReg;
-
- return RegError::NO_ERROR;
-}
-
-
// reg_openRootKey
RegError REGISTRY_CALLTYPE reg_openRootKey(RegHandle hRegistry,
@@ -530,15 +456,6 @@ RegError REGISTRY_CALLTYPE reg_openRootKey(RegHandle hRegistry,
-// reg_getName
-
-RegError REGISTRY_CALLTYPE reg_getName(RegHandle hRegistry, rtl_uString** pName)
-{
- return getName(hRegistry, pName);
-}
-
-
-
// reg_openRegistry
RegError REGISTRY_CALLTYPE reg_openRegistry(rtl_uString* registryName,
@@ -578,16 +495,6 @@ RegError REGISTRY_CALLTYPE reg_closeRegistry(RegHandle hRegistry)
-// reg_destroyRegistry
-
-RegError REGISTRY_CALLTYPE reg_destroyRegistry(RegHandle hRegistry,
- rtl_uString* registryName)
-{
- return destroyRegistry(hRegistry, registryName);
-}
-
-
-
// reg_dumpRegistry
RegError REGISTRY_CALLTYPE reg_dumpRegistry(RegKeyHandle hKey)
diff --git a/registry/source/regkey.cxx b/registry/source/regkey.cxx
index 52298383fe03..bf61f64db68d 100644
--- a/registry/source/regkey.cxx
+++ b/registry/source/regkey.cxx
@@ -672,19 +672,6 @@ RegError REGISTRY_CALLTYPE freeKeyNames(rtl_uString** pKeyNames,
-// reg_createKey
-
-RegError REGISTRY_CALLTYPE reg_createKey(RegKeyHandle hKey,
- rtl_uString* keyName,
- RegKeyHandle* phNewKey)
-{
- if (!hKey)
- return RegError::INVALID_KEY;
-
- return createKey(hKey, keyName, phNewKey);
-}
-
-
// reg_openKey
RegError REGISTRY_CALLTYPE reg_openKey(RegKeyHandle hKey,
@@ -698,44 +685,6 @@ RegError REGISTRY_CALLTYPE reg_openKey(RegKeyHandle hKey,
}
-// reg_openSubKeys
-
-RegError REGISTRY_CALLTYPE reg_openSubKeys(RegKeyHandle hKey,
- rtl_uString* keyName,
- RegKeyHandle** pphSubKeys,
- sal_uInt32* pnSubKeys)
-{
- if (!hKey)
- return RegError::INVALID_KEY;
-
- return openSubKeys(hKey, keyName, pphSubKeys, pnSubKeys);
-}
-
-
-// reg_closeSubKeys
-
-RegError REGISTRY_CALLTYPE reg_closeSubKeys(RegKeyHandle* pphSubKeys,
- sal_uInt32 nSubKeys)
-{
- if (!pphSubKeys)
- return RegError::INVALID_KEY;
-
- return closeSubKeys(pphSubKeys, nSubKeys);
-}
-
-
-// reg_deleteKey
-
-RegError REGISTRY_CALLTYPE reg_deleteKey(RegKeyHandle hKey,
- rtl_uString* keyName)
-{
- if (!hKey)
- return RegError::INVALID_KEY;
-
- return deleteKey(hKey, keyName);
-}
-
-
// reg_closeKey
RegError REGISTRY_CALLTYPE reg_closeKey(RegKeyHandle hKey)
@@ -748,172 +697,4 @@ RegError REGISTRY_CALLTYPE reg_closeKey(RegKeyHandle hKey)
-// reg_getKeyName
-
-RegError REGISTRY_CALLTYPE reg_getKeyName(RegKeyHandle hKey, rtl_uString** pKeyName)
-{
- if (hKey)
- {
- rtl_uString_assign( pKeyName, static_cast<ORegKey*>(hKey)->getName().pData );
- return RegError::NO_ERROR;
- } else
- {
- rtl_uString_new( pKeyName );
- return RegError::INVALID_KEY;
- }
-}
-
-
-// reg_setValue
-
-RegError REGISTRY_CALLTYPE reg_setValue(RegKeyHandle hKey,
- rtl_uString* keyName,
- RegValueType valueType,
- RegValue pData,
- sal_uInt32 valueSize)
-{
- if (!hKey)
- return RegError::INVALID_KEY;
-
- return setValue(hKey, keyName, valueType, pData, valueSize);
-}
-
-
-// reg_setLongListValue
-
-RegError REGISTRY_CALLTYPE reg_setLongListValue(RegKeyHandle hKey,
- rtl_uString* keyName,
- sal_Int32* pValueList,
- sal_uInt32 len)
-{
- if (!hKey)
- return RegError::INVALID_KEY;
-
- return setLongListValue(hKey, keyName, pValueList, len);
-}
-
-
-// reg_setStringListValue
-
-RegError REGISTRY_CALLTYPE reg_setStringListValue(RegKeyHandle hKey,
- rtl_uString* keyName,
- sal_Char** pValueList,
- sal_uInt32 len)
-{
- if (!hKey)
- return RegError::INVALID_KEY;
-
- return setStringListValue(hKey, keyName, pValueList, len);
-}
-
-
-// reg_setUnicodeListValue
-
-RegError REGISTRY_CALLTYPE reg_setUnicodeListValue(RegKeyHandle hKey,
- rtl_uString* keyName,
- sal_Unicode** pValueList,
- sal_uInt32 len)
-{
- if (!hKey)
- return RegError::INVALID_KEY;
-
- return setUnicodeListValue(hKey, keyName, pValueList, len);
-}
-
-
-// reg_getValueInfo
-
-RegError REGISTRY_CALLTYPE reg_getValueInfo(RegKeyHandle hKey,
- rtl_uString* keyName,
- RegValueType* pValueType,
- sal_uInt32* pValueSize)
-{
- if (!hKey)
- return RegError::INVALID_KEY;
-
- return getValueInfo(hKey, keyName, pValueType, pValueSize);
-}
-
-
-// reg_getValueInfo
-
-RegError REGISTRY_CALLTYPE reg_getValue(RegKeyHandle hKey,
- rtl_uString* keyName,
- RegValue pData)
-{
- if (!hKey)
- return RegError::INVALID_KEY;
-
- return getValue(hKey, keyName, pData);
-}
-
-
-// reg_getLongListValue
-
-RegError REGISTRY_CALLTYPE reg_getLongListValue(RegKeyHandle hKey,
- rtl_uString* keyName,
- sal_Int32** pValueList,
- sal_uInt32* pLen)
-{
- if (!hKey)
- return RegError::INVALID_KEY;
-
- return getLongListValue(hKey, keyName, pValueList, pLen);
-}
-
-
-// reg_getStringListValue
-
-RegError REGISTRY_CALLTYPE reg_getStringListValue(RegKeyHandle hKey,
- rtl_uString* keyName,
- sal_Char*** pValueList,
- sal_uInt32* pLen)
-{
- if (!hKey)
- return RegError::INVALID_KEY;
-
- return getStringListValue(hKey, keyName, pValueList, pLen);
-}
-
-
-// reg_getUnicodeListValue
-
-RegError REGISTRY_CALLTYPE reg_getUnicodeListValue(RegKeyHandle hKey,
- rtl_uString* keyName,
- sal_Unicode*** pValueList,
- sal_uInt32* pLen)
-{
- if (!hKey)
- return RegError::INVALID_KEY;
-
- return getUnicodeListValue(hKey, keyName, pValueList, pLen);
-}
-
-
-// reg_freeValueList
-
-RegError REGISTRY_CALLTYPE reg_freeValueList(RegValueType valueType,
- RegValue pValueList,
- sal_uInt32 len)
-{
- if (pValueList)
- return freeValueList(valueType, pValueList, len);
- else
- return RegError::INVALID_VALUE;
-}
-
-
-// reg_getResolvedKeyName
-
-RegError REGISTRY_CALLTYPE reg_getResolvedKeyName(RegKeyHandle hKey,
- rtl_uString* keyName,
- bool firstLinkOnly,
- rtl_uString** pResolvedName)
-{
- if (!hKey)
- return RegError::INVALID_KEY;
-
- return getResolvedKeyName(hKey, keyName, firstLinkOnly, pResolvedName);
-}
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */