summaryrefslogtreecommitdiff
path: root/source3/lib/ldb/include
AgeCommit message (Collapse)AuthorFilesLines
2010-02-10util: rewrite dlinklist.h so that DLIST_ADD_END() is O(1)Andrew Tridgell1-59/+111
This changes the meaning of the ->prev pointer in our doubly linked lists to point at the end of the list from the front of the list. That allows us to implement DLIST_ADD_END() and related functions in O(1) time, which can be a huge saving in many places in Samba. This also means that the 'type' argument to various DLIST_*() macros is no longer needed, but I have left it in for now to keep the patchset small, which will make it easier to revert if any problems are found. In the future we should remove the 'type' arguments. (jra. Move the one use of DLIST_TAIL over to the new macros).
2010-02-10Temporary changes to dlinklist to keep the implementation static whilstJeremy Allison1-0/+16
uses of (list)->prev are moved over to DLIST_PREV. This will be replaced when the final (new) version of the dlinklist.h header is added. Jeremy.
2009-08-28s3-ldb: update dlinklist.h to match main copy (lib/util/dlinklist.h)Michael Adam1-6/+9
This also removes build warnings of redefined macros since it uses the embracing "#ifndef _DLINKLIST_H ... #endif". Michael
2009-04-23ldb/samba3: Support event context argument to ldb_init().Jelmer Vernooij1-2/+7
This argument is ignored (Samba3's LDB is synchronous) but having it there is useful for API compatibility with the LDB used by Samba 4 and available on some systems.
2009-01-21Replace ldb_search() with ldb_search_exp_fmt(), like in Samba 4.Jelmer Vernooij1-12/+0
2009-01-21Reorder arguments to ldb_search() to match what is in Samba 4.Jelmer Vernooij1-3/+4
2009-01-01Fix bug 5913.Volker Lendecke1-1/+1
Never seen this to be a problem, but it doesn't hurt either :-)
2007-10-10r23798: updated old Temple Place FSF addresses to new URLAndrew Tridgell3-6/+3
(This used to be commit c676a971142d7176fd5dbf21405fca14515a0a76)
2007-10-10r23790: LGPLv3+ conversion for our LGPLv2+ library codeAndrew Tridgell3-3/+3
(This used to be commit 1b78cace504f60c0f525765fbf59d9cc6506cd4d)
2007-10-10r23784: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell1-2/+1
(This used to be commit b0132e94fc5fef936aa766fb99a306b3628e9f07)
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-10r23367: check the "use mmap" option for ldb tooAndrew Tridgell1-0/+5
(This used to be commit 15345bbc73b28d07c069fde33d3d4c1f21f107d3)
2007-10-10r22229: discard_const_p is in lib/replace nowStefan Metzmacher1-4/+0
metze (This used to be commit 8dea4ebe98ec5bdb7fd55b54e9b14a52db817f4f)
2007-10-10r20046: Add ldb_search_exp_fmt and port comment to 4Volker Lendecke1-0/+10
(This used to be commit 1fe41c96f53b0d83e8779050e2149a5e70b5dad0)
2007-10-10r19935: always use discard_const_p() in lib/ldb/Stefan Metzmacher1-2/+1
metze (This used to be commit 4a5da57306ad8cce5522ee72349cb85b447e295c)
2007-10-10r19744: merge from samba4Stefan Metzmacher1-0/+2
metze (This used to be commit fe61e6ebf7d771ce6441198bf2e330d53bf7b10e)
2007-10-10r19725: sync samba3's ldb with samba4Stefan Metzmacher2-42/+174
metze (This used to be commit 207643e9c9c75546f38a09f12ea0b574b08086c5)
2007-10-10r19491: backport changes from samba4Simo Sorce1-2/+6
(This used to be commit aa464c9fda978f615230241921f83884a60f4c6f)
2007-10-10r19430: merge recent ldb changes from Samba4. This includes memory leak fixesAndrew Tridgell1-0/+3
and significant speedups (This used to be commit bb5c205fef90aa8b89ba400fb9f2f37a111676a8)
2007-10-10r19182: merge from samba4:Stefan Metzmacher2-0/+3
add ldb_set_create_perms() function to set the create_perms after ldb_init() and before ldb_connect() metze (This used to be commit dd9d469eef337954b6aee4c86ac0691f52812456)
2007-10-10r19163: pass always a mem_ctx to functions and a ldb_context where neededStefan Metzmacher1-3/+3
It would be nice if someone can merge that to samba4, otherwise I'll merge that to samba4 on monday metze (This used to be commit 6bc42f31ce294f2bd50ffbd536e1ee42607ef799)
2007-10-10r18866: Jeremy and Volker have given the go-ahead on the group mapping ldbAndrew Tridgell5-0/+2083
code. Yay! This first commit copies lib/ldb/ from Samba4. A huge congratulations should go to Simo on this - he has put an enormous amount of work into ldb, and it's great to see it go into the Samba3 tree. (This used to be commit bbedf2e34315f5c420a3a05dfe22b1d5cf79f042)