summaryrefslogtreecommitdiffstats
path: root/source3/registry/reg_cachehook.c
Commit message (Collapse)AuthorAgeFilesLines
* adt_tree: Avoid WERROR.Jelmer Vernooij2012-03-241-1/+4
|
* s3-registry: Convert registry key delimiter from slash to backslash.Andreas Schneider2010-06-251-6/+0
| | | | | | | This is needed to support keynames containing a '/' like TCP/IP. Which is used in serveral standard paths. Signed-off-by: Michael Adam <obnox@samba.org>
* s3:registry: extract the reg_cachehook prototypes into their own header.Michael Adam2010-05-251-0/+1
| | | | And use them only where necessary.
* s3:registry: add C to reg_cachehook, confessing considerable changes in 2008Michael Adam2010-05-251-0/+1
|
* s3-registry: only include registry headers when really needed.Günther Deschner2010-05-181-0/+1
| | | | Guenther
* s3: Remove unused comparison fn from "struct sorted_tree"Volker Lendecke2010-02-131-1/+1
|
* s3: SORTED_TREE -> struct sorted_treeVolker Lendecke2010-02-131-2/+2
|
* s3:registry: replace typedef REGISTRY_OPS by struct registry_opsMichael Adam2009-04-271-5/+5
| | | | Michael
* registry: change reghook_cache_add() to return WERROR instead of boolMichael Adam2008-04-131-3/+3
| | | | | Michael (This used to be commit e65a999989c97c4c7b0af5093e0e89583691e9a8)
* registry cachehook: change helper function keyname_to_path() to return WERROR.Michael Adam2008-04-131-18/+32
| | | | | Michael (This used to be commit 78bb005ee45e7a0be24b5222c3f878058b5cd8ea)
* adt_tree: change pathtree_add to return WERR instead of bool.Michael Adam2008-04-131-3/+3
| | | | | Michael (This used to be commit da45fb92f69221758f36db4cbb7d871e3ce60718)
* registry cachehook: revert logic to make fast path more obvious and reduce ↵Michael Adam2008-04-131-8/+9
| | | | | | | indent. Michael (This used to be commit e97d558c5660e6d235b62528f5527a62ac1252d7)
* registry: change reghook_cache_init() to return WERROR and use it in the ↵Michael Adam2008-04-131-6/+7
| | | | | | | callers. Michael (This used to be commit 2f4ca62dce50225d67ba8643afba4199e1845c5f)
* registry cachehook: compare cache_tree against NULL, not 0.Michael Adam2008-04-131-1/+1
| | | | | Michael (This used to be commit 4bfc0be55f2a436a9c687ab6ad86e704fcb753d6)
* registry cachehook: add talloc failed debug messages.Michael Adam2008-04-131-0/+6
| | | | | Michael (This used to be commit 9841ee7fd429c7ff367dbb43b754cd5b6f53c065)
* registry cachehook: eliminate a couple trailing spaces (empty lines).Michael Adam2008-04-131-4/+4
| | | | | Michael (This used to be commit c9f01aee37165216fa8a5331c64dd93963b38802)
* registry cachehook: fix memleak (to talloc_tos()): free key at the end.Michael Adam2008-04-131-1/+4
| | | | | Michael (This used to be commit 3f5955d361da5278773b46dccb34c8f63eb04157)
* registry cachehook: refactor normalization of keyname out.Michael Adam2008-04-131-29/+23
| | | | | Michael (This used to be commit acb9c98dff7dac5e0688a04dbf6d63a7a7f67fd2)
* registry: adapt copied function header comments.Michael Adam2008-04-131-2/+2
| | | | | Michael (This used to be commit 2e762be0db7a098b6da09756a9c9dfa3931ca3c6)
* registry: remove the REGISTRY_HOOKS layer from the reghook cache.Michael Adam2008-04-131-13/+12
| | | | | | | | | | | There is no need to save the keyname again, we only need to get the REGISTRY_OPS out of the pathtree. Furthermore, this makes life easier, since we can now pass in keynames as temporarily allocated strings. Michael (This used to be commit 2f9ee2f782c77ed99669af5ac2ba40cb0978f0da)
* Add some debugging output to reg_cachehook.cMichael Adam2008-01-201-1/+10
| | | | | Michael (This used to be commit 2a278928805f4497e8afa28bdca433cbedc4a8d7)
* Fix registering Registry backends in reghook_cache_add().Michael Adam2008-01-201-1/+1
| | | | | | | | This was broken in 331c0d6216e1a1607a49ed7eb4078e10138ec16a (pstring removal). Michael (This used to be commit 7d1e986f3a5ab316a8501ddaca1ba1f0867b4531)
* Return existsing cache_tree if it has already been initialized.Michael Adam2008-01-031-4/+6
| | | | | | | | | So reghook_cache_init() does not leak memory when called more than once. Also, fix the return value while we are at it. Michael (This used to be commit 25f571f40a630bff5a47bba6b01e42d4e0ffed66)
* Remove pstrings from nsswitch/ and registry/Jeremy Allison2007-11-261-10/+16
| | | | | 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)
* r23801: The FSF has moved around a lot. This fixes their Mass Ave address.Andrew Tridgell2007-10-101-2/+1
| | | | (This used to be commit 87c91e4362c51819032bfbebbb273c52e203b227)
* r23779: Change from v2 or later to v3 or later.Jeremy Allison2007-10-101-1/+1
| | | | | Jeremy. (This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)
* r17333: Some C++ warningsVolker Lendecke2007-10-101-2/+2
| | | | (This used to be commit be9aaffdaccae06c8c035eaf31862e34b7cfbe38)
* r10012: fix build breakage caused by forgotten commit in local treeGerald Carter2007-10-101-1/+1
| | | | (This used to be commit 8c819cd0c670acfe7be2ecd927ef8de6fa5226f2)
* r7440: * merge registry server changes from trunk (so far) for moreGerald Carter2007-10-101-1/+1
| | | | | | | printmig.exe work * merge the sys_select_signal(char c) change from trunk in order to keeo the winbind code in sync (This used to be commit a112c5570a7f8ddddde1af0fa665f40a6067e8cf)
* r6942: * merging the registry changes back to the 3.0 treeGerald Carter2007-10-101-1/+1
| | | | | * removing the testprns tool (This used to be commit 81ffb0dbbbd244623507880c323a3c37e2b8dc4d)
* r5517: code cleanup; rename the sorted_tree to pathtree (used by registry code)Gerald Carter2007-10-101-4/+5
| | | | | | | I was going to use this for tracking dfs mounts in smbclient but found another way. Still the cleanup is valid so commiting it. should be minimally disruptive since it is not widely used. (This used to be commit 00738dca3b07083c91545910486a1f30f2b17281)
* r4088: Get medieval on our ass about malloc.... :-). Take control of all our ↵Jeremy Allison2007-10-101-1/+1
| | | | | | | | | | allocation functions so we can funnel through some well known functions. Should help greatly with malloc checking. HEAD patch to follow. Jeremy. (This used to be commit 620f2e608f70ba92f032720c031283d295c5c06a)
* enumeration of printers keys ( no data yet ) via the registryGerald Carter2002-07-201-1/+6
| | | | | functions now works :-) (This used to be commit c5768538f6cf6ee824bc6e105a3391bbc2ea8e46)
* fixed a logic error in the sorted_tree_find_child() routineGerald Carter2002-07-201-0/+4
| | | | | | that caused a valid search to fail. The printing registry view now works again. (This used to be commit 2050859f03493d5135984ce1e42baf8f1f2566b9)
* fixed seg fault in registry frontend caused by trying toGerald Carter2002-07-191-3/+8
| | | | | use a destroyed TALLOC_CTX* (This used to be commit 432b9f8d7c20fbf3b2a0906c8a93272abbe43fb6)
* * refactored registry operations some. subkey lists andGerald Carter2002-07-191-1/+3
| | | | | | | | | | | | | | | | | | | registry values are now passed around in containers (REGSUBKEY_CTR & REGVAL_CTR) which each possess a TALLOC_CTX. * removed subkey_specific_fn() from REGISTRY_OPS. Is implemented in the form of a wrapper * temporarily broke the printing registry ops. * implemented inheritence for the data_p of nodes in a SORTED_TREE * All REGISTRY_KEY instances now store a valid REGISTRY_HOOK since the default REGOSTRY_OPS structure is stored in the root of the cache_tree. * Probably some other change I forgot.... T (This used to be commit e7b55e8f017e638342d9c8c1a9259000745a0298)
* virtual registry framework with initial printing hooks.Gerald Carter2002-07-181-0/+96
(This used to be commit a43d9788fa8823d678ee72470421b980165ec2b0)