Commit Graph

19 Commits

Author SHA1 Message Date
Nicolas Williams
7b3a993236 roken: do not override system network address functions
Roken functions rk_copyhostent(), rk_freeaddrinfo(), rk_freehostent()
rk_getaddrinfo(), rk_getipnodebyaddr(),  rk_getipnodebyname(), and
rk_getnameinfo() should never be built without the "rk_" prefix.  Doing
so overrides the system provided functions of the same name when they
exist.
2022-02-10 12:37:01 -06:00
Asanka Herath
d00f9984a5 Make roken build on windows
Signed-off-by: Love Hornquist Astrand <lha@h5l.org>
2009-11-24 21:42:02 -08:00
Love Hörnquist Åstrand
0d31d3d686 drop rcsid
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24356 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-25 00:30:37 +00:00
Love Hörnquist Åstrand
6937d41a02 remove trailing whitespace
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23815 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-13 09:21:03 +00:00
Love Hörnquist Åstrand
e172367898 switch to utf8 encoding of all files
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23814 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-13 08:53:55 +00:00
Love Hörnquist Åstrand
0d38426bfb avoid shadowing sin
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15417 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-16 17:49:29 +00:00
Love Hörnquist Åstrand
709aa58c74 define ROKEN_LIB_FUNCTION on all exported functions
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14773 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-12 11:29:18 +00:00
Johan Danielsson
8d1688e269 include a definition of in6addr_loopback if it doesn't exist
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10502 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-08-17 13:06:57 +00:00
Assar Westerlund
7cb78dc73f (add_hostent): adapt to const hostent_find_fqdn
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10309 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-07-10 11:59:55 +00:00
Assar Westerlund
130be40de4 separate find_fqdn
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10303 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-07-09 15:14:19 +00:00
Assar Westerlund
531d514e9f (add_hostent): don't use just-freed memory
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8794 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-07-24 02:34:20 +00:00
Assar Westerlund
67a0e02bc9 (add_hostent): add back removed variable
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8793 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-07-24 02:04:52 +00:00
Assar Westerlund
a571e12a11 (add_hostent): if there's no fqdn in `he' try reverse resolving to see
if there's a fuller name there


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8791 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-07-24 02:02:51 +00:00
Assar Westerlund
f04459e7d0 (get_nodes): use getipnodebyname instead of gethostbyname(2)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7627 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-20 00:56:44 +00:00
Assar Westerlund
acb1a6a04f (get_null): set loopback with correct endianess for v4. dunno about
v6.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7599 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-16 10:27:59 +00:00
Assar Westerlund
1e6bdd09fe (const_v*): no sizeof(sizeof())
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7484 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-03 16:37:54 +00:00
Assar Westerlund
fd41a98a81 (add_hostent): search for the canonical name among all aliases
(getaddrinfo): handle AI_NUMERICHOST correctly


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7477 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-03 06:50:21 +00:00
Assar Westerlund
24fd0a06e9 copyright update
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7476 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-03 04:10:07 +00:00
Assar Westerlund
1a3cf6c4d3 new files
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7469 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-03 03:27:55 +00:00