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 
28 extern "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*);
63 RegError 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:30
RegError REGISTRY_CALLTYPE getKeyNames(RegKeyHandle, rtl_uString *, rtl_uString ***, sal_uInt32 *)
Definition: regkey.cxx:635
RegError REGISTRY_CALLTYPE freeValueList(RegValueType, RegValue, sal_uInt32)
Definition: regkey.cxx:569
RegError REGISTRY_CALLTYPE getUnicodeListValue(RegKeyHandle, rtl_uString *, sal_Unicode ***, sal_uInt32 *)
Definition: regkey.cxx:529
RegError REGISTRY_CALLTYPE setStringListValue(RegKeyHandle, rtl_uString *, char **, sal_uInt32)
Definition: regkey.cxx:279
RegError REGISTRY_CALLTYPE deleteKey(RegKeyHandle, rtl_uString *)
Definition: regkey.cxx:163
sal_uInt16 sal_Unicode
RegError REGISTRY_CALLTYPE getResolvedKeyName(RegKeyHandle, rtl_uString *, sal_Bool, rtl_uString **)
RegError REGISTRY_CALLTYPE closeSubKeys(RegKeyHandle *, sal_uInt32)
Definition: regkey.cxx:144
enum SAL_DLLPUBLIC_RTTI RegError
specifies the possible error codes which can occur using the registry API.
Definition: regtype.h:80
RegError REGISTRY_CALLTYPE setValue(RegKeyHandle, rtl_uString *, RegValueType, RegValue, sal_uInt32)
Definition: regkey.cxx:194
enum SAL_DLLPUBLIC_RTTI RegValueType
defines the type of a key value.
Definition: regtype.h:59
RegError REGISTRY_CALLTYPE openKey(RegKeyHandle, rtl_uString *, RegKeyHandle *)
Definition: regkey.cxx:104
void REGISTRY_CALLTYPE releaseKey(RegKeyHandle)
Definition: regkey.cxx:43
RegError REGISTRY_CALLTYPE openSubKeys(RegKeyHandle, rtl_uString *, RegKeyHandle **, sal_uInt32 *)
Definition: regkey.cxx:123
unsigned char sal_Bool
RegError REGISTRY_CALLTYPE createKey(RegKeyHandle, rtl_uString *, RegKeyHandle *)
Definition: regkey.cxx:82
RegError REGISTRY_CALLTYPE freeKeyNames(rtl_uString **, sal_uInt32)
Definition: regkey.cxx:653
RegError REGISTRY_CALLTYPE setLongListValue(RegKeyHandle, rtl_uString *, sal_Int32 const *, sal_uInt32)
Definition: regkey.cxx:237
RegError REGISTRY_CALLTYPE getValue(RegKeyHandle, rtl_uString *, RegValue)
Definition: regkey.cxx:416
RegError REGISTRY_CALLTYPE closeKey(RegKeyHandle)
Definition: regkey.cxx:182
RegError REGISTRY_CALLTYPE getValueInfo(RegKeyHandle, rtl_uString *, RegValueType *, sal_uInt32 *)
Definition: regkey.cxx:363
RegError REGISTRY_CALLTYPE setUnicodeListValue(RegKeyHandle, rtl_uString *, sal_Unicode **, sal_uInt32)
Definition: regkey.cxx:321
void * RegKeyHandle
defines the type of a registry key handle used in the C API.
Definition: regtype.h:30
RegError REGISTRY_CALLTYPE getKeyName(RegKeyHandle, rtl_uString **)
Definition: regkey.cxx:65
void * RegValue
defines the type of a registry key value handle used in the C API.
Definition: regtype.h:33
RegError REGISTRY_CALLTYPE getStringListValue(RegKeyHandle, rtl_uString *, char ***, sal_uInt32 *)
Definition: regkey.cxx:491
RegError REGISTRY_CALLTYPE getLongListValue(RegKeyHandle, rtl_uString *, sal_Int32 **, sal_uInt32 *)
Definition: regkey.cxx:451
#define REGISTRY_CALLTYPE
specify the calling convention for the registry API
Definition: regtype.h:135
sal_Bool REGISTRY_CALLTYPE isKeyReadOnly(RegKeyHandle)
Definition: regkey.cxx:56