Garming Sam
bce62e6000
s4: pass down a memory context when performing share_string_option, to allow substitutions
...
Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Change-Id: I24b36db3ac11834c3268b2da929e214c10268b16
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Nadezhda Ivanova <nivanova@samba.org>
2014-02-20 10:11:00 +13:00
Jelmer Vernooij
05bc4de083
Revert making public of the samba-module library.
...
This library was tiny - containing just two public functions than were
themselves trivial. The amount of overhead this causes isn't really worth the
benefits of sharing the code with other projects like OpenChange. In addition, this code
isn't really generically useful anyway, as it can only load from the module path
set for Samba at configure time.
Adding a new library was breaking the API/ABI anyway, so OpenChange had to be
updated to cope with the new situation one way or another. I've added a simpler
(compatible) routine for loading modules to OpenChange, which is less than 100 lines of code.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sat Dec 3 08:36:33 CET 2011 on sn-devel-104
2011-12-03 08:36:30 +01:00
Andrew Bartlett
0ce09fcf7a
lib/util Rename samba_init_module_fns_run -> samba_module_init_fns_run
...
This is to provide a cleaner namespace in the public samba plugin
functions.
Andrew Bartlett
2011-10-28 13:10:28 +02:00
Andrew Bartlett
1b7cc4ac7c
lib/util Rename samba_init_module_fn -> samba_module_init_fn
...
This is to provide a cleaner namespace in the public samba plugin
functions.
Andrew Bartlett
2011-10-28 13:10:28 +02:00
Andrew Bartlett
87354c9a6d
lib/util Split samba-modules library into public and private parts
...
This will allow OpenChange to get at the symbols it needs, without
exposing any more of this as a public API than we must.
Andrew Bartlett
2011-10-28 13:10:28 +02:00
Andrew Bartlett
ce0ccc2a2e
lib/util Rename run_init_functions -> samba_init_module_fns_run
...
This is to provide a cleaner namespace in the public samba plugin
functions.
Andrew Bartlett
2011-10-28 13:10:28 +02:00
Andrew Bartlett
1935b7b6c2
lib/util Rename init_module_fn to samba_init_module_fn
...
This prepares for making the samba_module.h header public again, for OpenChange.
I am keen to avoid too much API namespace pollution if we can.
2011-10-28 13:10:28 +02:00
Andrew Bartlett
7d33ec3dfe
lib/util: consolidate module loading into common code
...
This creates a samba-modules private libary that handles the details.
Andrew Bartlett
2011-10-06 07:18:07 +02:00
Andrew Bartlett
cdd802af83
s4-messaging Rename messaging -> imessaging
...
This avoid symbol and structure conflicts between Samba3 and Samba4,
and chooses a less generic name.
Andrew Bartlett
2011-05-03 07:37:07 +02:00
Andrew Tridgell
28c1e4d3eb
s4-modules: get rid of the remaining static prototypes for modules
...
the waf build now generates the prototype declarations for us
2010-11-01 18:55:19 +11:00
Stefan Metzmacher
183c379fe5
s4:lib/tevent: rename structs
...
list=""
list="$list event_context:tevent_context"
list="$list fd_event:tevent_fd"
list="$list timed_event:tevent_timer"
for s in $list; do
o=`echo $s | cut -d ':' -f1`
n=`echo $s | cut -d ':' -f2`
r=`git grep "struct $o" |cut -d ':' -f1 |sort -u`
files=`echo "$r" | grep -v source3 | grep -v nsswitch | grep -v packaging4`
for f in $files; do
cat $f | sed -e "s/struct $o/struct $n/g" > $f.tmp
mv $f.tmp $f
done
done
metze
2008-12-29 20:46:40 +01:00
Stefan Metzmacher
081f8883ba
s4: fix LIBEVENTS dependencies and use more forward declarations
...
We should only include events.h where we really need it
and prefer forward declarations of 'struct event_context'
metze
2008-12-17 11:04:45 +01:00
Jelmer Vernooij
9565999755
Fix include paths to new location of libutil.
2008-10-11 21:31:42 +02:00
Jelmer Vernooij
7c7de11f20
Fix LDB module initialization when using external ldb.
...
(This used to be commit b7b4aff8b52742d69526dc0ef5da2fe3c05e3af8)
2008-05-11 01:53:11 +02:00
Jelmer Vernooij
14023e502b
Require explicit event context rather than looking if it is not specified.
...
(This used to be commit 1da0063bd5fd18ad3ac7a07c985ec6be380486e2)
2008-04-17 01:22:39 +02:00
Jelmer Vernooij
f78bc8c489
Remove prototypes from build.h in preparation of removing build.h
...
altogether.
(This used to be commit dbeab2a9cdee4e5f69afeb2603ba29cbed56debd)
2008-04-14 11:54:50 +02:00
Stefan Metzmacher
c3643d0ec8
ntvfs/sysdep: add sys_lease abstraction to later support kernel oplocks
...
metze
(This used to be commit b399f0c872f32bb791da196102a5872c20e62100)
2008-03-12 17:35:05 +01:00