<feed xmlns='http://www.w3.org/2005/Atom'>
<title>samba.git/source4/libcli/resolve/resolve.c, branch talloc-2.3.4</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/'/>
<entry>
<title>lib/util: remove extra safe_string.h file</title>
<updated>2020-08-28T02:18:40+00:00</updated>
<author>
<name>Matthew DeVore</name>
<email>matvore@google.com</email>
</author>
<published>2020-08-07T20:27:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=232054c09b1932b3940f08aa818703b51d29d968'/>
<id>232054c09b1932b3940f08aa818703b51d29d968</id>
<content type='text'>
lib/util/safe_string.h is similar to source3/include/safe_string.h, but
the former has fewer checks. It is missing bcopy, strcasecmp, and
strncasecmp.

Add the missing elements to lib/util/safe_string.h remove the other
safe_string.h which is in the source3-specific path. To accomodate
existing uses of str(n?)casecmp, add #undef lines to source files where
they are used.

Signed-off-by: Matthew DeVore &lt;matvore@google.com&gt;
Reviewed-by: David Mulder &lt;dmulder@samba.org&gt;
Reviewed-by: Jeremy Allison &lt;jra@samba.org&gt;

Autobuild-User(master): Jeremy Allison &lt;jra@samba.org&gt;
Autobuild-Date(master): Fri Aug 28 02:18:40 UTC 2020 on sn-devel-184
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
lib/util/safe_string.h is similar to source3/include/safe_string.h, but
the former has fewer checks. It is missing bcopy, strcasecmp, and
strncasecmp.

Add the missing elements to lib/util/safe_string.h remove the other
safe_string.h which is in the source3-specific path. To accomodate
existing uses of str(n?)casecmp, add #undef lines to source files where
they are used.

Signed-off-by: Matthew DeVore &lt;matvore@google.com&gt;
Reviewed-by: David Mulder &lt;dmulder@samba.org&gt;
Reviewed-by: Jeremy Allison &lt;jra@samba.org&gt;

Autobuild-User(master): Jeremy Allison &lt;jra@samba.org&gt;
Autobuild-Date(master): Fri Aug 28 02:18:40 UTC 2020 on sn-devel-184
</pre>
</div>
</content>
</entry>
<entry>
<title>dlist: remove unneeded type argument from DLIST_ADD_END()</title>
<updated>2016-02-06T20:48:17+00:00</updated>
<author>
<name>Michael Adam</name>
<email>obnox@samba.org</email>
</author>
<published>2016-02-05T10:32:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=476672b647e44898a6de8894b23e598ad13b1fcf'/>
<id>476672b647e44898a6de8894b23e598ad13b1fcf</id>
<content type='text'>
Signed-off-by: Michael Adam &lt;obnox@samba.org&gt;
Reviewed-by: Jeremy Allison &lt;jra@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Michael Adam &lt;obnox@samba.org&gt;
Reviewed-by: Jeremy Allison &lt;jra@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>s4-ipv6: allow for IPv6 in resolver top level calls</title>
<updated>2011-06-06T02:26:11+00:00</updated>
<author>
<name>Andrew Tridgell</name>
<email>tridge@samba.org</email>
</author>
<published>2011-06-06T00:13:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=d8e2302330db1b4d1c5b29608823d46a03fd087a'/>
<id>d8e2302330db1b4d1c5b29608823d46a03fd087a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>s4-libcli Remove resolve_name() as it conflicts with Samba3.</title>
<updated>2011-05-03T05:37:07+00:00</updated>
<author>
<name>Andrew Bartlett</name>
<email>abartlet@samba.org</email>
</author>
<published>2011-05-02T06:36:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=7261a9b9f76d19e6a2179a48e903e2fee4ee64a1'/>
<id>7261a9b9f76d19e6a2179a48e903e2fee4ee64a1</id>
<content type='text'>
This was just a wrapper around resolve_name_ex(), so just call that
instead.

Andrew Bartlett
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This was just a wrapper around resolve_name_ex(), so just call that
instead.

Andrew Bartlett
</pre>
</div>
</content>
</entry>
<entry>
<title>s4-resolve: added resolve_name_multiple_recv()</title>
<updated>2010-09-15T05:39:35+00:00</updated>
<author>
<name>Andrew Tridgell</name>
<email>tridge@samba.org</email>
</author>
<published>2010-09-13T13:08:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=dbc9b185afa2fe59f73526b081ef6acff7d61aaa'/>
<id>dbc9b185afa2fe59f73526b081ef6acff7d61aaa</id>
<content type='text'>
this allows for multiple replies to a SRV lookup

Pair-Programmed-With: Andrew Bartlett &lt;abartlet@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
this allows for multiple replies to a SRV lookup

Pair-Programmed-With: Andrew Bartlett &lt;abartlet@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>s4-resolve: added resolve_name_ex_send()</title>
<updated>2010-09-02T03:37:08+00:00</updated>
<author>
<name>Andrew Tridgell</name>
<email>tridge@samba.org</email>
</author>
<published>2010-08-31T04:00:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=f6a631bdec3ec2aba8a923136b66edf36273d9f2'/>
<id>f6a631bdec3ec2aba8a923136b66edf36273d9f2</id>
<content type='text'>
this allows access to the flags that control name resolution

Pair-Programmed-With: Andrew Bartlett &lt;abartlet@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
this allows access to the flags that control name resolution

Pair-Programmed-With: Andrew Bartlett &lt;abartlet@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>libutil: moved the networking defines to util_net.h</title>
<updated>2010-03-26T06:36:02+00:00</updated>
<author>
<name>Andrew Tridgell</name>
<email>tridge@samba.org</email>
</author>
<published>2010-03-26T06:36:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=fae84f98e37e99e41b23739305e7331b3a34ae48'/>
<id>fae84f98e37e99e41b23739305e7331b3a34ae48</id>
<content type='text'>
These were causing thousands of warnings on solaris8
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These were causing thousands of warnings on solaris8
</pre>
</div>
</content>
</entry>
<entry>
<title>s4:libcli/resolve Use a more robust way to return the string address</title>
<updated>2010-03-11T00:27:47+00:00</updated>
<author>
<name>Andrew Bartlett</name>
<email>abartlet@samba.org</email>
</author>
<published>2010-03-10T04:56:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=9457b7ea2214aaa3a466e5dbc2daa0b931975073'/>
<id>9457b7ea2214aaa3a466e5dbc2daa0b931975073</id>
<content type='text'>
By going via these tevent functions, we avoid needing to dereference
the struct socket_address, which may contain a 'struct sockaddr' or
strings.  The new dns_host_file resolver returns in the form of a
struct sockaddr.

Andrew Bartlett
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
By going via these tevent functions, we avoid needing to dereference
the struct socket_address, which may contain a 'struct sockaddr' or
strings.  The new dns_host_file resolver returns in the form of a
struct sockaddr.

Andrew Bartlett
</pre>
</div>
</content>
</entry>
<entry>
<title>s4-resolve: fixed a crash bug on timeout</title>
<updated>2009-09-19T15:23:03+00:00</updated>
<author>
<name>Andrew Tridgell</name>
<email>tridge@samba.org</email>
</author>
<published>2009-09-19T15:23:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=92786aebf1b8aa17612ebaf5dd0ee8cd4abf9616'/>
<id>92786aebf1b8aa17612ebaf5dd0ee8cd4abf9616</id>
<content type='text'>
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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.
</pre>
</div>
</content>
</entry>
<entry>
<title>s4:lib/tevent: rename structs</title>
<updated>2008-12-29T19:46:40+00:00</updated>
<author>
<name>Stefan Metzmacher</name>
<email>metze@samba.org</email>
</author>
<published>2008-12-29T19:24:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=183c379fe58ca60f5ef2d1f2033d035d4117ac8f'/>
<id>183c379fe58ca60f5ef2d1f2033d035d4117ac8f</id>
<content type='text'>
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" &gt; $f.tmp
		mv $f.tmp $f
	done
done

metze
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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" &gt; $f.tmp
		mv $f.tmp $f
	done
done

metze
</pre>
</div>
</content>
</entry>
</feed>
