Age | Commit message (Collapse) | Author | Files | Lines |
|
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).
|
|
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.
|
|
This also removes build warnings of redefined macros
since it uses the embracing "#ifndef _DLINKLIST_H ... #endif".
Michael
|
|
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.
|
|
|
|
|
|
Never seen this to be a problem, but it doesn't hurt either :-)
|
|
(This used to be commit c676a971142d7176fd5dbf21405fca14515a0a76)
|
|
(This used to be commit 1b78cace504f60c0f525765fbf59d9cc6506cd4d)
|
|
(This used to be commit b0132e94fc5fef936aa766fb99a306b3628e9f07)
|
|
Jeremy.
(This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)
|
|
(This used to be commit 15345bbc73b28d07c069fde33d3d4c1f21f107d3)
|
|
metze
(This used to be commit 8dea4ebe98ec5bdb7fd55b54e9b14a52db817f4f)
|
|
(This used to be commit 1fe41c96f53b0d83e8779050e2149a5e70b5dad0)
|
|
metze
(This used to be commit 4a5da57306ad8cce5522ee72349cb85b447e295c)
|
|
metze
(This used to be commit fe61e6ebf7d771ce6441198bf2e330d53bf7b10e)
|
|
metze
(This used to be commit 207643e9c9c75546f38a09f12ea0b574b08086c5)
|
|
(This used to be commit aa464c9fda978f615230241921f83884a60f4c6f)
|
|
and significant speedups
(This used to be commit bb5c205fef90aa8b89ba400fb9f2f37a111676a8)
|
|
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)
|
|
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)
|
|
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)
|