8cf61377aa
waf: Remove lib prefix from libraries manually.
2010-10-26 10:17:17 -07:00
d9cbcdd410
s4: Drop duplicate 'lib' prefix for private libraries.
2010-10-26 10:17:16 -07:00
833480d3ad
s4: Rename LIBSAMBA-* to libsamba-*
2010-10-24 00:20:04 +00:00
9065f9644b
s4: Rename LIBNETIF to libnetif.
2010-10-23 22:24:06 +00:00
f26c9b3966
s4 socket: increase the debuglevel to make add interface debug messages less verbose
2010-10-23 10:17:05 +00:00
4b3fae6ca8
s4-socket: make LIBNETIF a private library
2010-10-21 19:03:25 +11:00
6b266b85cf
s4-loadparm: 2nd half of lp_ to lpcfg_ conversion
...
this converts all callers that use the Samba4 loadparm lp_ calling
convention to use the lpcfg_ prefix.
Signed-off-by: Andrew Bartlett <abartlet@samba.org >
2010-07-16 18:24:27 +10:00
33bb334e80
s4-waf: inline LIBREPLACE_NETWORK into 'replace'
...
metze
2010-04-12 09:13:43 +02:00
b690fedef5
s4-waf: removed the AUTOGENERATED markers
...
we won't be using the mk -> wscript generator again
2010-04-06 20:27:16 +10:00
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
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
844acb2260
build: waf quicktest nearly works
...
Rewrote wafsamba using a new dependency handling system, and started
adding the waf test code
2010-04-06 20:26:48 +10:00
845e0cbe6f
build: commit all the waf build files in the tree
2010-04-06 20:26:48 +10:00
fae84f98e3
libutil: moved the networking defines to util_net.h
...
These were causing thousands of warnings on solaris8
2010-03-26 17:36:02 +11:00
79b4a3b22e
s4:lib/socket Don't go via a string when resolving addresses in connect_multi
...
This also removes the special case for IP addresses, and leaves that
to the code in the resolver library.
Andrew Bartlett
2010-03-11 11:27:47 +11:00
0201b2fa9f
s4:lib/socket Add function to set a port on the socket address
2010-03-11 11:27:47 +11:00
828b5cd451
s4-socket: use TYPESAFE_QSORT() in netif code
2010-02-13 22:36:12 +11:00
d3ee0f021b
s4:lib/socket: add socket_get_{remote|local}_addr() to get a tsocket_address instead of a socket_address
...
metze
2009-12-24 17:38:33 +01:00
445baf53a9
s4:lib/socket: add helpers functions to convert between socket_address and tsocket_address
...
metze
2009-12-24 17:38:32 +01:00
44df2488e3
s4: fix various warnings (not "const" related ones)
2009-10-02 15:33:48 +02:00
92786aebf1
s4-resolve: fixed a crash bug on timeout
...
We were creating the name resolution context as a child of lp_ctx,
which meant when we gave up on a connection the timer on name
resolution kept running, and when it timed out the callback crashed as
the socket was already removed.
2009-09-19 08:23:03 -07:00
f131718c60
s4:lib/socket: add socket_address_copy()
...
metze
2009-02-13 13:44:38 +01:00
147a2e3440
Fix Coverity ID 871 -- do not dereference "sp" before checking for NULL
2009-02-12 23:20:20 +01:00
7db458a56c
s4:lib/socket: s/private/private_data
...
metze
2009-02-02 13:08:25 +01:00
4519eae158
s4:lib/socket: don't use gethostbyname2()
...
metze
2009-01-30 22:26:08 +01:00
5fa0d3d568
s4:socket: use a socket_wrapper aware function to auto close the fd event for sockets
...
metze
2009-01-03 19:58:53 +01:00
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
1feab85be6
Rename samba-socket -> samba_socket to fix a couple more compiler
...
warnings.
2008-12-24 00:15:43 +01:00
fc31f2c526
s4:lib/socket: socket_connect_send() and socket_connect_ev() should only wrok with addresses
...
metze
2008-12-18 13:32:51 +01:00
372f700f47
s4:lib/socket: we need to lookup the #20 netbios name when we connect to a remote server
...
metze
2008-12-17 19:12:24 +01:00
03acd29128
s4:lib/socket: remove unused code
...
metze
2008-12-17 19:12:24 +01:00
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
28d374ec15
Use environment variable rather than loadparm parameter when testing
...
nonblocking sockets.
2008-11-02 17:21:46 +01:00
c537f7a914
Fix the build.
2008-11-02 05:49:36 +01:00
9265cb02d0
Use a separate global for nonblocking socket testing rather than global_loadparm.
2008-11-02 01:15:42 +01:00
23302413b3
Remove unused include param/param.h.
2008-10-24 16:37:56 +02:00
fe36fe8c3e
Use common net utility code (address and sockaddr manipulation).
2008-10-23 20:41:15 +02:00
d1bc7e56d0
Rename same_net to same_net_v4 for consistency with Samba 3.
2008-10-23 19:56:09 +02:00
5237369ad8
Fix warning, prototype.
2008-10-12 02:59:30 +02:00
9565999755
Fix include paths to new location of libutil.
2008-10-11 21:31:42 +02:00
334de182f4
lib/socket: use HAVE_IPV6 test from LIBREPLACE_NETWORK_CHECKS
...
metze
(This used to be commit 76be51d3a0
)
2008-05-21 21:32:28 +02:00
4c70cda986
Fix a couple (well, little more than that..) of typos.
...
(This used to be commit a6b5211994
)
2008-05-18 23:02:47 +02:00
4c8756f147
Create prototype headers from Makefile directory, without smb_build in the middle.
...
(This used to be commit f4a77b96f9
)
2008-05-18 22:30:08 +02:00
333c169529
Use variables for source directory in remaining subsystems.
...
(This used to be commit 6b6b2196a8
)
2008-05-18 20:30:46 +02:00
c7c9aa7e7a
lib/socket: remove unused configure checks for HAVE_SOCK_SIN_LEN and HAVE_UNIXSOCKET and rely on libreplace
...
metze
(This used to be commit 5de605bb2e
)
2008-05-16 22:56:14 +02:00
335813c735
lib/socket: remove unused configure check for HAVE_WORKING_AF_LOCAL
...
metze
(This used to be commit 1c7905cfb4
)
2008-05-16 22:56:14 +02:00
4e83011f72
Remove more event_context_init() uses from function calls within deep down the code.
...
Make sure we pass around the event_context where we need it instead.
All test but a few python ones fail. Jelmer promised to fix them.
(This used to be commit 3045d39162
)
2008-04-21 18:12:33 -04:00
e9017ba418
Use _OBJ_FILES variables in a couple more places.
...
(This used to be commit 92856d5054
)
2008-04-14 17:22:58 +02:00
148d3b170a
Use torture_assert_mem_equal() in a couple more places.
...
(This used to be commit e2c3fab9d1
)
2008-04-13 22:00:36 +02:00
7b412ccade
lib/socket: use LIBREPLACE_NETWORK instead of EXT_SOCKET and EXT_NSL
...
The configure checks are also in libreplace now.
metze
(This used to be commit 07e931a77f
)
2008-03-18 15:59:22 +01:00