summaryrefslogtreecommitdiff
path: root/source3/registry/reg_objects.c
Commit message (Collapse)AuthorAgeFilesLines
* registry: Fix a typoVolker Lendecke2018-10-081-1/+1
| | | | | Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
* Correct "existence" typos.Chris Lamb2017-02-221-2/+2
| | | | | | Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Garming Sam <garming@catalyst.net.nz>
* werror: replace WERR_INVALID_PARAM with WERR_INVALID_PARAMETER in ↵Günther Deschner2016-09-281-7/+7
| | | | | | | | | source3/registry/ Guenther Signed-off-by: Guenther Deschner <gd@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
* werror: replace WERR_NOMEM with WERR_NOT_ENOUGH_MEMORY in source3/registry/Günther Deschner2016-09-281-5/+5
| | | | | | | Guenther Signed-off-by: Guenther Deschner <gd@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
* Fix various spelling errorsMathieu Parent2015-11-061-2/+2
| | | | | | | | Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Michael Adam <obnox@samba.org> Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Fri Nov 6 13:43:45 CET 2015 on sn-devel-104
* lib: Remove unused functionsVolker Lendecke2015-06-231-27/+0
| | | | | | | This fixes CID 1034629 Unchecked return value Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
* registry: Fix an aligment increase warningVolker Lendecke2015-02-261-1/+1
| | | | | | | | Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Thu Feb 26 05:35:33 CET 2015 on sn-devel-104
* s3:registry: add a new function regval_ctr_value_byname()Michael Adam2012-04-251-0/+18
| | | | | | | This is like regval_ctr_key_exists() but does not return bool, but the regval_blob instead, if found, and NULL if not found. Signed-off-by: Andreas Schneider <asn@samba.org>
* s3:registry: rename regval_ctr_key_exists() to regval_ctr_value_exists()Michael Adam2012-04-251-1/+1
| | | | Signed-off-by: Andreas Schneider <asn@samba.org>
* s3-registry Remove unused dup_registry_value() and free_registry_value()Andrew Bartlett2012-02-171-54/+0
|
* s3:dbwrap: convert dbwrap_fetch(), dbwrap_fetch_bystring() and ↵Michael Adam2011-10-111-2/+4
| | | | dbwrap_fetch_bystring_upper() to NTSTATUS
* s3:dbwrap: move the db_open_rbt() prototype to a new header dbwrap_rbt.hMichael Adam2011-10-111-0/+1
|
* s3:dbwrap: move all .c and .h files of dbwrap to lib/dbwrap/Michael Adam2011-07-291-1/+1
| | | | | Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Fri Jul 29 13:34:22 CEST 2011 on sn-devel-104
* s3-talloc Change TALLOC_MEMDUP() to talloc_memdup()Andrew Bartlett2011-06-091-1/+1
| | | | | Using the standard macro makes it easier to move code into common, as TALLOC_MEMDUP isn't standard talloc.
* s3-talloc Change TALLOC_ZERO_P() to talloc_zero()Andrew Bartlett2011-06-091-1/+1
| | | | | Using the standard macro makes it easier to move code into common, as TALLOC_ZERO_P isn't standard talloc.
* s3-talloc Change TALLOC_P() to talloc()Andrew Bartlett2011-06-091-2/+2
| | | | | Using the standard macro makes it easier to move code into common, as TALLOC_P isn't standard talloc.
* s3-talloc Change TALLOC_REALLOC_ARRAY() to talloc_realloc()Andrew Bartlett2011-06-091-2/+2
| | | | | | | Using the standard macro makes it easier to move code into common, as TALLOC_REALLOC_ARRAY isn't standard talloc. Andrew Bartlett
* s3: only include tdb headers where needed.Günther Deschner2011-05-061-0/+1
| | | | Guenther
* registry: create and use shared libcli/registry/util_reg.h header.Günther Deschner2011-03-301-0/+1
| | | | Guenther
* s3-build: use dbwrap.h only where needed.Günther Deschner2010-08-261-0/+1
| | | | Guenther
* s3-registry: remove 2 byte winreg type limitation.Günther Deschner2010-07-021-3/+3
| | | | | | | | | We already pull and push 4 byte winreg type in the registry.tdb, we were just not using full 4 bytes within the reg_object functions. With this change we finally pass the set extended value torture test. Guenther
* s3:registry: add C for substantial changes to reg_objectsMichael Adam2010-05-251-0/+1
|
* s3:registry:reg_objects: Remove use of uint{8,16,32} in favour of C99 typesMichael Adam2010-05-251-25/+25
|
* s3:registry: move reg_objects.h to registry/ and use it only where neededMichael Adam2010-05-251-0/+1
| | | | | Every place outside of registry/ where this is used, should probably be changed to use pure reg_api.c code.
* s3:registry: hide definition of regval_ctr and regval_blob in reg_objects.cMichael Adam2010-05-251-0/+18
|
* s3:registry:reg_objects: add regval_ctr_set_seqnum()Michael Adam2010-05-251-0/+11
|
* s3:registry:reg_objects: add regval_ctr_get_seqnum()Michael Adam2010-05-251-0/+9
|
* s3:registry:reg_objects: add regval_ctr_init()Michael Adam2010-05-251-0/+17
|
* s3:registry: fix regval_ctr_addvalue() to take data as uint8 *, not char *.Michael Adam2010-05-251-4/+4
|
* s3:registry: fix data_p arg of regval_compose to be uint8 * instead of char *Michael Adam2010-05-251-1/+1
|
* s3: Remove use of iconv_convenience.Jelmer Vernooij2010-05-181-3/+3
|
* s3-registry: only include registry headers when really needed.Günther Deschner2010-05-181-0/+1
| | | | Guenther
* s3: add iconv_convenience handle to pull/push sz helpers.Günther Deschner2010-04-091-3/+3
| | | | Guenther
* s3-registry: use pull_reg_sz() where appropriate.Günther Deschner2009-10-011-4/+5
| | | | | | (and move away from rpcstr_pull and rpcstr_pull_talloc). Guenther
* s3-registry: add regval_ctr_addvalue_multi_sz.Günther Deschner2009-09-301-0/+17
| | | | Guenther
* s3-registry: add regval_ctr_addvalue_sz.Günther Deschner2009-09-301-0/+17
| | | | Guenther
* s3:registry: add function regsubkey_ctr_reinit()Michael Adam2009-07-151-0/+23
| | | | | | | This reinitializes an already allocated regsubkey_ctr structure, emptying out the subkey array and hash table. Michael
* s3:registry: don't store differently cased entries for the same keys.Michael Adam2009-07-151-3/+3
| | | | | | | | | | | | This happened for instance during registry initialization, when entries for HKLM\Software and HKLM\SOFTWARE were created. Searching these entries was case insensitive though. But the entries ended up in the subkey-lists anyways. This is solved by making the subkeys_hash in the regsubkey_container structs case insensitive (using the new _bystring_upper() wrappers). Michael
* s3:registry: replace typedef REGISTRY_VALUE by struct regval_blobMichael Adam2009-04-271-23/+26
| | | | Michael
* s3:registry: replace typedef REGVAL_CTR by struct regval_ctr.Michael Adam2009-04-271-10/+10
| | | | | | | This paves the way for hiding the typedef and the implementation from the surface. Michael
* s3:registry: hash the list of subkeys in the regsubkey_ctrMichael Adam2009-02-261-21/+102
| | | | | | | | | | This removes many loops over all the arrays (from regsubkey_ctr_key_exists) and thus reduces "net conf drop" from 1m55 to 48seconds and "net conf import" from 1m55 to 58 seconds for 2000 shares on my box. Michael
* s3:registry: remove definition of regsubkey_ctr from the surface.Michael Adam2009-02-261-0/+6
| | | | | | | All access is now through accessor functions in reg_objects.c This allows for performance tuning under the hood in the next step. Michael
* s3:registry: add regsubkey_ctr_get_seqnum() to hide implementationMichael Adam2009-02-261-0/+9
| | | | Michael
* s3:registry: add regsubkey_ctr_set_seqnum to hide implementation from caller.Michael Adam2009-02-261-0/+11
| | | | Michael
* s3:registry: add a regsubkey_ctr_init function for allocating a regsubkey_ctrMichael Adam2009-02-261-1/+15
| | | | Michael
* s3:registry: fix a commentMichael Adam2009-02-261-3/+3
| | | | Michael
* s3:registry: replace typedef "REGSUBKEY_CTR" by "struct regsubkey_ctr"Michael Adam2009-02-261-5/+5
| | | | | | | This paves the way for hiding the typedef and the implementation from the surface. Michael
* Remove pstrings from nsswitch/ and registry/Jeremy Allison2007-11-261-5/+5
| | | | | Jeremy. (This used to be commit 331c0d6216e1a1607a49ed7eb4078e10138ec16a)
* RIP BOOL. Convert BOOL -> bool. I found a few interestingJeremy Allison2007-10-181-2/+2
| | | | | | | | bugs in various places whilst doing this (places that assumed BOOL == int). I also need to fix the Samba4 pidl generation (next checkin). Jeremy. (This used to be commit f35a266b3cbb3e5fa6a86be60f34fe340a3ca71f)
* r25417: Use DBGC_REGISTRY class.Günther Deschner2007-10-101-1/+1
| | | | | Guenther (This used to be commit 43ca04918a5a1b2379083dc624b346ceb8476a38)