summaryrefslogtreecommitdiff
path: root/source3/registry/reg_objects.c
AgeCommit message (Collapse)AuthorFilesLines
2011-07-29s3:dbwrap: move all .c and .h files of dbwrap to lib/dbwrap/Michael Adam1-1/+1
Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Fri Jul 29 13:34:22 CEST 2011 on sn-devel-104
2011-06-09s3-talloc Change TALLOC_MEMDUP() to talloc_memdup()Andrew Bartlett1-1/+1
Using the standard macro makes it easier to move code into common, as TALLOC_MEMDUP isn't standard talloc.
2011-06-09s3-talloc Change TALLOC_ZERO_P() to talloc_zero()Andrew Bartlett1-1/+1
Using the standard macro makes it easier to move code into common, as TALLOC_ZERO_P isn't standard talloc.
2011-06-09s3-talloc Change TALLOC_P() to talloc()Andrew Bartlett1-2/+2
Using the standard macro makes it easier to move code into common, as TALLOC_P isn't standard talloc.
2011-06-09s3-talloc Change TALLOC_REALLOC_ARRAY() to talloc_realloc()Andrew Bartlett1-2/+2
Using the standard macro makes it easier to move code into common, as TALLOC_REALLOC_ARRAY isn't standard talloc. Andrew Bartlett
2011-05-06s3: only include tdb headers where needed.Günther Deschner1-0/+1
Guenther
2011-03-30registry: create and use shared libcli/registry/util_reg.h header.Günther Deschner1-0/+1
Guenther
2010-08-26s3-build: use dbwrap.h only where needed.Günther Deschner1-0/+1
Guenther
2010-07-02s3-registry: remove 2 byte winreg type limitation.Günther Deschner1-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
2010-05-25s3:registry: add C for substantial changes to reg_objectsMichael Adam1-0/+1
2010-05-25s3:registry:reg_objects: Remove use of uint{8,16,32} in favour of C99 typesMichael Adam1-25/+25
2010-05-25s3:registry: move reg_objects.h to registry/ and use it only where neededMichael Adam1-0/+1
Every place outside of registry/ where this is used, should probably be changed to use pure reg_api.c code.
2010-05-25s3:registry: hide definition of regval_ctr and regval_blob in reg_objects.cMichael Adam1-0/+18
2010-05-25s3:registry:reg_objects: add regval_ctr_set_seqnum()Michael Adam1-0/+11
2010-05-25s3:registry:reg_objects: add regval_ctr_get_seqnum()Michael Adam1-0/+9
2010-05-25s3:registry:reg_objects: add regval_ctr_init()Michael Adam1-0/+17
2010-05-25s3:registry: fix regval_ctr_addvalue() to take data as uint8 *, not char *.Michael Adam1-4/+4
2010-05-25s3:registry: fix data_p arg of regval_compose to be uint8 * instead of char *Michael Adam1-1/+1
2010-05-18s3: Remove use of iconv_convenience.Jelmer Vernooij1-3/+3
2010-05-18s3-registry: only include registry headers when really needed.Günther Deschner1-0/+1
Guenther
2010-04-09s3: add iconv_convenience handle to pull/push sz helpers.Günther Deschner1-3/+3
Guenther
2009-10-01s3-registry: use pull_reg_sz() where appropriate.Günther Deschner1-4/+5
(and move away from rpcstr_pull and rpcstr_pull_talloc). Guenther
2009-09-30s3-registry: add regval_ctr_addvalue_multi_sz.Günther Deschner1-0/+17
Guenther
2009-09-30s3-registry: add regval_ctr_addvalue_sz.Günther Deschner1-0/+17
Guenther
2009-07-15s3:registry: add function regsubkey_ctr_reinit()Michael Adam1-0/+23
This reinitializes an already allocated regsubkey_ctr structure, emptying out the subkey array and hash table. Michael
2009-07-15s3:registry: don't store differently cased entries for the same keys.Michael Adam1-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
2009-04-27s3:registry: replace typedef REGISTRY_VALUE by struct regval_blobMichael Adam1-23/+26
Michael
2009-04-27s3:registry: replace typedef REGVAL_CTR by struct regval_ctr.Michael Adam1-10/+10
This paves the way for hiding the typedef and the implementation from the surface. Michael
2009-02-26s3:registry: hash the list of subkeys in the regsubkey_ctrMichael Adam1-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
2009-02-26s3:registry: remove definition of regsubkey_ctr from the surface.Michael Adam1-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
2009-02-26s3:registry: add regsubkey_ctr_get_seqnum() to hide implementationMichael Adam1-0/+9
Michael
2009-02-26s3:registry: add regsubkey_ctr_set_seqnum to hide implementation from caller.Michael Adam1-0/+11
Michael
2009-02-26s3:registry: add a regsubkey_ctr_init function for allocating a regsubkey_ctrMichael Adam1-1/+15
Michael
2009-02-26s3:registry: fix a commentMichael Adam1-3/+3
Michael
2009-02-26s3:registry: replace typedef "REGSUBKEY_CTR" by "struct regsubkey_ctr"Michael Adam1-5/+5
This paves the way for hiding the typedef and the implementation from the surface. Michael
2007-11-26Remove pstrings from nsswitch/ and registry/Jeremy Allison1-5/+5
Jeremy. (This used to be commit 331c0d6216e1a1607a49ed7eb4078e10138ec16a)
2007-10-18RIP BOOL. Convert BOOL -> bool. I found a few interestingJeremy Allison1-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)
2007-10-10r25417: Use DBGC_REGISTRY class.Günther Deschner1-1/+1
Guenther (This used to be commit 43ca04918a5a1b2379083dc624b346ceb8476a38)
2007-10-10r25140: Less red bars to hurt my eyes...Michael Adam1-47/+51
(This used to be commit f935d21200294c8d29ce527300f605e721cb3620)
2007-10-10r25139: Avoid code duplication: let regval_ctr_copyvalue() call ↵Michael Adam1-37/+2
regval_ctr_addvalue(). This also corrects regval_ctr_copyvalue() in that it cannot create (invalid) regval containers with dupliacte entries... Michael (This used to be commit 2daaaaa835078c543fa12cd1819e8a3d86cf6e5e)
2007-10-10r24999: Use the new regval_compose() function in regval_ctr_addvalue().Michael Adam1-18/+3
Michael (This used to be commit dab9ffe602eaca478a73f3b882f543629ce3001e)
2007-10-10r24998: Add a function regval_compose() to compose a REGISTRY_VALUE fromMichael Adam1-0/+30
input data. Use this function in a first step to refactor the canonicalization code of smbconf_store_values(). Michael (This used to be commit f4caa2d7d412e2b9bb2a1ce71514551569ccf373)
2007-10-10r24949: Remove some static buffersVolker Lendecke1-2/+2
(This used to be commit df648d47ff3c4e24f439fda839653bda98323100)
2007-10-10r23801: The FSF has moved around a lot. This fixes their Mass Ave address.Andrew Tridgell1-2/+1
(This used to be commit 87c91e4362c51819032bfbebbb273c52e203b227)
2007-10-10r23779: Change from v2 or later to v3 or later.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)
2007-10-10r22588: Make all uses of TALLOC_MEMDUP consistent.Jeremy Allison1-4/+20
Jeremy. (This used to be commit 8ad13718af0ba1fcb10a6f1631b1ed3cb8d11175)
2007-10-10r19990: Fix commentVolker Lendecke1-1/+1
(This used to be commit 8b3d860f27d166f1a0b8019f9c9c91355c6becdf)
2007-10-10r19777: Make regsubkey_ctr_addkey return WERROR. Nobody checks this so far, ↵Volker Lendecke1-20/+22
but this will change. Volker (This used to be commit 17c7c337f64b082c1bf1045a4093c279deeec958)
2007-10-10r17878: Fix possible null deref found by Stanford checker.Jeremy Allison1-0/+4
Jeremy. (This used to be commit ae20201494f44cb98e58ba98531a79feeeb82b47)
2007-10-10r17867: Fix null deref in error code path. Found by theJeremy Allison1-0/+1
Stanford checker. Jeremy. (This used to be commit 09652dc71ce13bd305e653557e43731378398dd6)