Adrian Bunk
55cbf7ba34
rely on sys/inotify.h for inotify
...
sys/inotify.h was added to glibc 2.4 in 2006.
Signed-off-by: Jeremy Allison <jra@samba.org>
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Fri Apr 13 21:15:00 CEST 2012 on sn-devel-104
2012-04-13 21:15:00 +02: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
a1f04e8abc
libcli/util Rename common map_nt_error_from_unix to avoid duplicate symbol
...
The two error tables need to be combined, but for now seperate the names.
(As the common parts of the tree now use the _common function,
errmap_unix.c must be included in the s3 autoconf build).
Andrew Bartlett
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Mon Jun 20 08:12:03 CEST 2011 on sn-devel-104
2011-06-20 08:12:03 +02:00
Andrew Bartlett
a772797a38
librpc/idr Use the Samba3 notify.idl in common.
...
The extra fields in the structure that Samba4 does not use should not
bother it.
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-06-09 12:40:08 +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
Jelmer Vernooij
f5c3742a4c
source4/ntvfs: Fix prototypes for all functions.
2011-03-19 03:20:05 +01:00
Jelmer Vernooij
b077ccccfb
ntvfs: Add some missing dependencies on tevent/events.
...
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Mon Feb 28 21:57:16 CET 2011 on sn-devel-104
2011-02-28 21:57:16 +01:00
Jelmer Vernooij
21d926f0ef
Use <tevent.h> so the system tevent gets included, if enabled.
2011-02-28 21:11:21 +01: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
Jelmer Vernooij
3deece5591
s4: Remove the old perl/m4/make/mk-based build system.
...
The new waf-based build system now has all the same functionality, and
the old build system has been broken for quite some time.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sun Oct 31 02:01:44 UTC 2010 on sn-devel-104
2010-10-31 02:01:44 +00:00
Jelmer Vernooij
d9cbcdd410
s4: Drop duplicate 'lib' prefix for private libraries.
2010-10-26 10:17:16 -07:00
Jelmer Vernooij
cf26d8a958
s4: Rename LIBEVENTS to libevents.
2010-10-23 22:24:06 +00:00
Andrew Bartlett
6c726745a4
s4:ntvfs rename notify.idl to s4_notify.idl until we can merge this IDL
...
This IDL is almost common, but the source3 version has a
hand-marshalled server_id. The s3compat build has problems with two
different idl files of the same name.
Andrew Bartlett
2010-05-24 23:08:11 +10:00
Andrew Tridgell
d8b91f1120
s4-waf: sys_lease depends on talloc
2010-04-06 20:27:14 +10:00
Andrew Tridgell
b0fb567f04
s4-waf: more dependencies on talloc
...
these are needed so we can support a system talloc without using the
bundled talloc.h
2010-04-06 20:27:13 +10:00
Andrew Tridgell
f9eae32f4b
s4-waf: mark the wscript files as python so vim/emacs knows how to highlight them
2010-04-06 20:27:11 +10:00
Andrew Tridgell
04fed1f2b6
build: sys_lease_linux needs to be conditionally enabled
2010-04-06 20:27:01 +10:00
Andrew Tridgell
344621cb0f
build: conditionally enable inotify
2010-04-06 20:26:55 +10:00
Andrew Tridgell
845e0cbe6f
build: commit all the waf build files in the tree
2010-04-06 20:26:48 +10:00
Andrew Tridgell
dd05b6512a
build: improve autoconf macros
...
- enable headers to be specified
- enable both forms of DECL check
- more libreplace checks
- more heimdal checks
- more sysdep checks
2010-04-06 20:26:42 +10:00
Andrew Tridgell
d87ea524d8
build: ntvfs/sysdep configure checks
2010-04-06 20:26:42 +10:00
Stefan Metzmacher
b1be241ca5
s4:sysdep/inotify: use tevent_fd_set_auto_close()
...
metze
2009-01-03 19:58:52 +01: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
635a973be5
s4:sys_lease_linux: use tevent
...
metze
2008-12-29 19:57:00 +01:00
Tim Prouty
d031472227
s4: Fix include path to work with tevent
2008-12-18 15:03:37 -08: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
a9dbd73b2f
Remove last instance of global_loadparm.
2008-11-02 19:32:50 +01:00
Andrew Tridgell
b1b58a1dcf
use glibc sys/inotify.h header
...
when we first added the inotify code glibc didn't have the inotify
functions yet. Now that it does we can use the official header and
avoid the asm/unistd.h syscall workaround
2008-10-30 15:53:46 +11:00
Jelmer Vernooij
0d99e58f27
Fix include paths for files that aren't compiled - breaks dependency
...
file generation.
2008-10-12 04:41:53 +02:00
Jelmer Vernooij
9565999755
Fix include paths to new location of libutil.
2008-10-11 21:31:42 +02:00
Jelmer Vernooij
03643aec88
Use variables for source directory in a couple more places.
...
(This used to be commit c41bd3005f5f0b9cfd3709fc9217b4a401d265b4)
2008-05-18 19:54:27 +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
cc9c4aaa8d
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3
...
Conflicts:
source/Makefile
source/auth/config.mk
source/auth/gensec/config.mk
source/build/m4/public.m4
source/build/make/python.mk
source/build/make/rules.mk
source/build/smb_build/header.pm
source/build/smb_build/main.pl
source/build/smb_build/makefile.pm
source/dsdb/config.mk
source/dsdb/samdb/ldb_modules/config.mk
source/kdc/config.mk
source/lib/events/config.mk
source/lib/events/events.c
source/lib/ldb/config.mk
source/lib/nss_wrapper/config.mk
source/lib/policy/config.mk
source/lib/util/config.mk
source/libcli/smb2/config.mk
source/libnet/config.mk
source/librpc/config.mk
source/nbt_server/config.mk
source/ntptr/ntptr_base.c
source/ntvfs/posix/config.mk
source/ntvfs/sysdep/config.mk
source/param/config.mk
source/rpc_server/config.mk
source/rpc_server/service_rpc.c
source/scripting/ejs/config.mk
source/scripting/python/config.mk
source/smb_server/config.mk
source/smbd/server.c
source/torture/config.mk
source/torture/smb2/config.mk
source/wrepl_server/config.mk
(This used to be commit 13bbd420681519894a4036729c43273912c9b402)
2008-04-25 10:04:20 +01: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
c15ffa27cb
Explicitly require event context to be specified.
...
(This used to be commit a95a71fe45ef6a578569931a7c38061783d07db3)
2008-04-17 01:19:53 +02:00
Jelmer Vernooij
e9017ba418
Use _OBJ_FILES variables in a couple more places.
...
(This used to be commit 92856d5054106894b65cd1a1b5119c0facfc4cff)
2008-04-14 17:22:58 +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
Jelmer Vernooij
18d80bdf1f
Merge v4.0-test
...
(This used to be commit 977dbdeaf363c8905ed9fd0570eba4be80582833)
2008-03-28 00:44:14 +01:00
Stefan Metzmacher
d93f2f2e80
ntvfs/sysdep: implement linux kernel oplocks based F_SETLEASE
...
metze
(This used to be commit 3f165d3114519c317b9e7c871bb61d4fcbb8fb09)
2008-03-12 17:35:06 +01: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
Jelmer Vernooij
fb6fdfce37
Fix the build.
...
(This used to be commit f2e49744717eb46bbfafeea9e2eb412a38a142e7)
2008-03-08 17:02:40 +01:00
Jelmer Vernooij
2bf39edc9d
Push SOVERSION and VERSION out of perl code.
...
(This used to be commit 0ba8ac6a14c62ff9edfe9f0bf43b8a7406b85291)
2008-03-08 15:28:12 +01:00
Jelmer Vernooij
b29d47edcf
Move object file lists to the Makefile.
...
(This used to be commit a7e6d2a1832db388fdafa1279f84c9a8bbfc87d6)
2008-03-03 18:25:28 +01:00
Jelmer Vernooij
c38c2765d1
Remove yet more uses of global_loadparm.
...
(This used to be commit e01c1e87c0fe9709df7eb5b863f7ce85564174cd)
2008-02-21 17:17:37 +01:00