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
a60159c873
s4:libcli/replace: add some RESOLVE_NAME_FLAG* flags
...
metze
2008-12-18 13:32:50 +01:00
Stefan Metzmacher
116fbd6b5a
s4:libcli/resolve: specify the port for the resulting socket_addresses
...
metze
2008-12-17 20:28:40 +01:00
Stefan Metzmacher
7d0e78a52c
s4:libcli/resolve: optionally return the name that belongs to the returned address
...
E.g. this helps for DNS CNAME and SRV results.
metze
2008-12-17 20:26:38 +01:00
Stefan Metzmacher
937fdb8a7e
s4:libcli/resolve: pass down flags to the resolver backends
...
metze
2008-12-17 20:25:52 +01:00
Stefan Metzmacher
c8565c0e7a
s4:libcli/resolve: remove all backend specific sync functions
...
metze
2008-12-17 19:12:27 +01:00
Stefan Metzmacher
4a3ae3831d
s4:libcli/resolve: add resolve_name_all*() which return all addresses not only the first one
...
metze
2008-12-11 17:58:31 +01:00
Jelmer Vernooij
cb7d085ec3
Use global iconv convenience rather than global loadparm.
2008-11-02 00:35:04 +01:00
Jelmer Vernooij
87ec1d2532
Make sure prototypes are always included, make some functions static and
...
remove some unused functions.
2008-10-20 18:59:51 +02:00
Günther Deschner
a1a92688ba
s4-nbt: use ../libcli/nbt
...
Guenther
2008-09-23 09:37:24 +02:00
Günther Deschner
13a3971438
s4-nbt: use private_data instead of private.
...
Guenther
2008-09-23 09:37:24 +02:00
Simo Sorce
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 3045d391626fba169aa26be52174883e18d323e9)
2008-04-21 18:12:33 -04:00
Jelmer Vernooij
10169a2030
Remove more global_loadparm instance.s
...
(This used to be commit a1280252ce924df69d911e597b7f65d8038abef9)
2008-02-21 17:54:24 +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
Jelmer Vernooij
e8f46760e0
r26437: remove another use of global_loadparm.
...
(This used to be commit 703f17bc0986775bf3fe489eb5c876937dabaa9d)
2007-12-21 05:50:05 +01:00
Jelmer Vernooij
aa32619c5c
r26426: Remove uses of global_loadparm.
...
(This used to be commit e1d177c8c1101965479f7ade2270490cd6fae4f2)
2007-12-21 05:49:52 +01:00
Jelmer Vernooij
70f1f33af8
r26402: Require a talloc context in libnetif.
...
(This used to be commit a35e51871bbf1ab33fc316fa59e597b722769c50)
2007-12-21 05:49:33 +01:00
Jelmer Vernooij
6f2252dace
r26401: Don't cache interfaces context in libnetif.
...
(This used to be commit 9f975417cc66bfd4589da38bfd23731dbe0e6153)
2007-12-21 05:49:32 +01:00
Jelmer Vernooij
c5bf20c5fe
r26325: Remove use of global_loadparm in netif.
...
(This used to be commit e452cb28594f23add7c00247ed39e8323aea78a6)
2007-12-21 05:48:37 +01:00
Jelmer Vernooij
b84be078c1
r26309: Move specification of port higher up the all stack.
...
(This used to be commit 7de55cde7c7fe0141c05c8a38248667ebf3a9033)
2007-12-21 05:48:21 +01:00
Jelmer Vernooij
2151cde580
r25554: Convert last instances of BOOL, True and False to the standard types.
...
(This used to be commit 566aa14139510788548a874e9213d91317f83ca9)
2007-10-10 15:07:55 -05:00
Jelmer Vernooij
60a1046c5c
r25430: Add the loadparm context to all parametric options.
...
(This used to be commit fd697d77c9fe67a00939a1f04b35c451316fff58)
2007-10-10 15:07:31 -05:00
Jelmer Vernooij
98b57d5eb6
r25035: Fix some more warnings, use service pointer rather than service number in more places.
...
(This used to be commit df9cebcb97e20564359097148665bd519f31bc6f)
2007-10-10 15:05:43 -05:00
Jelmer Vernooij
ffeee68e4b
r25026: Move param/param.h out of includes.h
...
(This used to be commit abe8349f9b4387961ff3665d8c589d61cd2edf31)
2007-10-10 15:05:38 -05:00
Andrew Tridgell
0479a2f1cb
r23792: convert Samba4 to GPLv3
...
There are still a few tidyups of old FSF addresses to come (in both s3
and s4). More commits soon.
(This used to be commit fcf38a38ac691abd0fa51b89dc951a08e89fdafa)
2007-10-10 14:59:12 -05:00
Stefan Metzmacher
e31d922592
r21593: give a more useful error, when we can't resolve a long name
...
via broadcast of wins
metze
(This used to be commit 49591d699653e48f2e9540359e5b4ae97786511c)
2007-10-10 14:49:02 -05:00
Stefan Metzmacher
fe2a5a8abf
r19645: don't pass NULL as mem_ctx...
...
metze
(This used to be commit 643a38bc30a0df1582035b8d264e0dbbc2d2e152)
2007-10-10 14:25:25 -05:00
Stefan Metzmacher
3bc459f813
r19639: convert nbtlist.c to new composite api
...
metze
(This used to be commit 800999733eb2f35486a62fb8fa9d179c8ca312fa)
2007-10-10 14:25:23 -05:00
Stefan Metzmacher
a2eca9174c
r17586: merge lib/netif into lib/socket and use -lnsl -lsocket on the
...
configure check for the interfaces.
should fix the build on some old sun boxes
metze
(This used to be commit f20e251bfd9f1eb7ce5c00739631b1625a2aa467)
2007-10-10 14:15:39 -05:00
Jelmer Vernooij
35349a58df
r14542: Remove librpc, libndr and libnbt from includes.h
...
(This used to be commit 51b4270513752d2eafbe77f9de598de16ef84a1f)
2007-10-10 13:58:42 -05:00
Jelmer Vernooij
8528016978
r14464: Don't include ndr_BASENAME.h files unless strictly required, instead
...
try to include just the BASENAME.h files (containing only structs)
(This used to be commit 3dd477ca5147f28a962b8437e2611a8222d706bd)
2007-10-10 13:57:27 -05:00
Jelmer Vernooij
4ac2be9958
r13924: Split more prototypes out of include/proto.h + initial work on header
...
file dependencies
(This used to be commit 122835876748a3eaf5e8d31ad1abddab9acb8781)
2007-10-10 13:52:24 -05:00
Jelmer Vernooij
d4de4c2d21
r12608: Remove some unused #include lines.
...
(This used to be commit 70e7449318aa0e9d2639c76730a7d1683b2f4981)
2007-10-10 13:49:03 -05:00
Rafal Szczesniak
9bc38ce65f
r10636: Formatting for better readability.
...
rafal
(This used to be commit ef29863d999089c47140bd37731c60659a200421)
2007-10-10 13:39:13 -05:00
Stefan Metzmacher
ab4d635b92
r10504: - seperate implementation specific stuff, from the generic composite
...
stuff.
- don't use SMBCLI_REQUEST_* state's in the genreic composite stuff
- move monitor_fn to libnet.
NOTE: I have maybe found some bugs, in code that is dirrectly in DONE or ERROR
state in the _send() function. I haven't fixed this bugs in this
commit! We may need some composite_trigger_*() functions or so.
And maybe some other generic helper functions...
metze
(This used to be commit 4527815a0a9b96e460f301cb1f0c0b3964c166fc)
2007-10-10 13:38:57 -05:00
Andrew Tridgell
d9cfd55dbb
r8628: add retries to the normal paths of nbt name resolution. UDP broadcasts are not 100% reliable :)
...
(This used to be commit 0f8f1cd18e20ea4f3a06bb093b00b930cfd005b2)
2007-10-10 13:29:46 -05:00
Andrew Tridgell
c58c7c4164
r8002: favor addresses on our local interfaces in NBT name resolution if
...
possible. This is needed because w2k3 will return bogus IPs in its
name resolution replies when it has an unplugged network interface.
(This used to be commit 2fafc230520fb5bbe9f763de94aaba87b56f5411)
2007-10-10 13:18:57 -05:00
Tim Potter
7fc5f4a6f7
r5550: Initialise retry count - valgrind was freaking out because this value
...
was not set.
(This used to be commit 328f37a3e8d10f97f361fb041be24f1ac88b6b0a)
2007-10-10 13:10:54 -05:00
Andrew Tridgell
dd689afdc8
r5328: - allow case sensitive nbt name lookups
...
- added --case-sensitive option to nmblookup
- added case sensitivity tests to the NBT-WINS test
(This used to be commit 80a95d5688e055b36727e5c043cb36322d719763)
2007-10-10 13:09:42 -05:00
Andrew Tridgell
9a70f446fc
r5126: the composite code is no longer client specific or smb specific, so
...
rename the core structure to composite_context and the wait routine to
composite_wait() (suggestion from metze)
(This used to be commit cf11d05e35179c2c3e51c5ab370cd0a3fb15f24a)
2007-10-10 13:09:25 -05:00
Andrew Tridgell
5269fb13a9
r5116: fixed build of the nbtlist code
...
(This used to be commit 506e1e823cd3f652a793db9f4c43147d298b9b8b)
2007-10-10 13:09:24 -05:00
Andrew Tridgell
6f0aef31cd
r4898: - removed the unused wins_srv_*() code
...
- expanded the generic async name resolver to try multiple methods
- added wins resolutions to the list of methods tried
- fixed up the random trn id generation to use the good random generator
(This used to be commit 266fd2751c01808e5a18d4094032af50554ceb7a)
2007-10-10 13:09:04 -05:00