LibreOffice Module registry (master) 1
regkey.hxx
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2/*
3 * This file is part of the LibreOffice project.
4 *
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 *
9 * This file incorporates work covered by the following license notice:
10 *
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18 */
19
20#ifndef INCLUDED_REGISTRY_SOURCE_REGKEY_HXX
21#define INCLUDED_REGISTRY_SOURCE_REGKEY_HXX
22
23#include <sal/config.h>
24#include <registry/regtype.h>
25#include <rtl/ustring.h>
26#include <sal/types.h>
27
28extern "C" {
29
37 RegKeyHandle, rtl_uString*, RegKeyHandle**, sal_uInt32*);
42 RegKeyHandle, rtl_uString*, RegValueType, RegValue, sal_uInt32);
44 RegKeyHandle, rtl_uString*, sal_Int32 const *, sal_uInt32);
46 RegKeyHandle, rtl_uString*, char**, sal_uInt32);
48 RegKeyHandle, rtl_uString*, sal_Unicode**, sal_uInt32);
50 RegKeyHandle, rtl_uString*, RegValueType*, sal_uInt32*);
53 RegKeyHandle, rtl_uString*, sal_Int32**, sal_uInt32*);
55 RegKeyHandle, rtl_uString*, char***, sal_uInt32*);
57 RegKeyHandle, rtl_uString*, sal_Unicode***, sal_uInt32*);
60 RegKeyHandle, rtl_uString*, sal_Bool, rtl_uString**);
62 RegKeyHandle, rtl_uString*, rtl_uString***, sal_uInt32*);
63RegError REGISTRY_CALLTYPE freeKeyNames(rtl_uString**, sal_uInt32);
64
65}
66
67#endif
68
69/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
void REGISTRY_CALLTYPE acquireKey(RegKeyHandle)
Definition: regkey.cxx:27
sal_Bool REGISTRY_CALLTYPE isKeyReadOnly(RegKeyHandle)
Definition: regkey.cxx:47
RegError REGISTRY_CALLTYPE getLongListValue(RegKeyHandle, rtl_uString *, sal_Int32 **, sal_uInt32 *)
Definition: regkey.cxx:400
RegError REGISTRY_CALLTYPE freeValueList(RegValueType, RegValue, sal_uInt32)
Definition: regkey.cxx:511
RegError REGISTRY_CALLTYPE openKey(RegKeyHandle, rtl_uString *, RegKeyHandle *)
Definition: regkey.cxx:86
RegError REGISTRY_CALLTYPE getStringListValue(RegKeyHandle, rtl_uString *, char ***, sal_uInt32 *)
Definition: regkey.cxx:437
RegError REGISTRY_CALLTYPE openSubKeys(RegKeyHandle, rtl_uString *, RegKeyHandle **, sal_uInt32 *)
Definition: regkey.cxx:102
RegError REGISTRY_CALLTYPE getValueInfo(RegKeyHandle, rtl_uString *, RegValueType *, sal_uInt32 *)
Definition: regkey.cxx:318
RegError REGISTRY_CALLTYPE closeKey(RegKeyHandle)
Definition: regkey.cxx:152
RegError REGISTRY_CALLTYPE getUnicodeListValue(RegKeyHandle, rtl_uString *, sal_Unicode ***, sal_uInt32 *)
Definition: regkey.cxx:474
RegError REGISTRY_CALLTYPE freeKeyNames(rtl_uString **, sal_uInt32)
Definition: regkey.cxx:586
RegError REGISTRY_CALLTYPE setValue(RegKeyHandle, rtl_uString *, RegValueType, RegValue, sal_uInt32)
Definition: regkey.cxx:161
RegError REGISTRY_CALLTYPE getKeyNames(RegKeyHandle, rtl_uString *, rtl_uString ***, sal_uInt32 *)
Definition: regkey.cxx:571
RegError REGISTRY_CALLTYPE getKeyName(RegKeyHandle, rtl_uString **)
Definition: regkey.cxx:53
RegError REGISTRY_CALLTYPE getValue(RegKeyHandle, rtl_uString *, RegValue)
Definition: regkey.cxx:368
RegError REGISTRY_CALLTYPE closeSubKeys(RegKeyHandle *, sal_uInt32)
Definition: regkey.cxx:120
RegError REGISTRY_CALLTYPE setLongListValue(RegKeyHandle, rtl_uString *, sal_Int32 const *, sal_uInt32)
Definition: regkey.cxx:201
RegError REGISTRY_CALLTYPE getResolvedKeyName(RegKeyHandle, rtl_uString *, sal_Bool, rtl_uString **)
RegError REGISTRY_CALLTYPE createKey(RegKeyHandle, rtl_uString *, RegKeyHandle *)
Definition: regkey.cxx:67
RegError REGISTRY_CALLTYPE setUnicodeListValue(RegKeyHandle, rtl_uString *, sal_Unicode **, sal_uInt32)
Definition: regkey.cxx:279
RegError REGISTRY_CALLTYPE setStringListValue(RegKeyHandle, rtl_uString *, char **, sal_uInt32)
Definition: regkey.cxx:240
void REGISTRY_CALLTYPE releaseKey(RegKeyHandle)
Definition: regkey.cxx:37
RegError REGISTRY_CALLTYPE deleteKey(RegKeyHandle, rtl_uString *)
Definition: regkey.cxx:136
void * RegKeyHandle
defines the type of a registry key handle used in the C API.
Definition: regtype.h:30
enum SAL_DLLPUBLIC_RTTI RegValueType
defines the type of a key value.
Definition: regtype.h:62
void * RegValue
defines the type of a registry key value handle used in the C API.
Definition: regtype.h:33
#define REGISTRY_CALLTYPE
specify the calling convention for the registry API
Definition: regtype.h:137
enum SAL_DLLPUBLIC_RTTI RegError
specifies the possible error codes which can occur using the registry API.
Definition: regtype.h:83
unsigned char sal_Bool
sal_uInt16 sal_Unicode