1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-19 12:23:49 +03:00
Commit Graph

26 Commits

Author SHA1 Message Date
Stefan Metzmacher
11bdc9bed8 r26550: libreplace: fallback to __ss_family of struct sockaddr_storage
metze
2007-12-21 06:28:49 +01:00
Jelmer Vernooij
cc873bdd2e r26507: Fix function signature for freeifaddrs. 2007-12-21 05:51:13 +01:00
Jelmer Vernooij
8c65053f51 r26497: Fix return type for freeifaddrs(). 2007-12-21 05:50:51 +01:00
Jelmer Vernooij
c4cd935ee7 r26492: Some hosts have a define called ifa_dstaddr. 2007-12-21 05:50:47 +01:00
Jelmer Vernooij
fa9e3b6fa8 r26469: Fix paths, only include IPv4 addresses for now. 2007-12-21 05:50:32 +01:00
Jelmer Vernooij
9b4924fbd8 r26467: Use getifaddrs() for interface enumeration and provide replacements for platforms that don't have it in lib/replace. 2007-12-21 05:50:31 +01:00
Stefan Metzmacher
b833dce5e6 r25910: Try and fix the Solaris build by adding a missing define
(from Jerry).
Jeremy

merge from v3-2-test commit a68bbea0d4
2007-12-21 05:44:50 +01:00
Stefan Metzmacher
5648c8a0de r25728: [libreplace] define AI_NUMERICSERV as it's used in getaddrinfo.c
metze
2007-12-21 05:43:31 +01:00
Stefan Metzmacher
57d5cf4b5f r25724: - include getaddrinfo.h after we have defined struct addrinfo
- use rep_ instead of pg_ as prefix in getaddrinfo.[ch]
- define HAVE_<name> macros when we replace functions

metze
2007-12-21 05:43:29 +01:00
Stefan Metzmacher
8b92b81101 r25718: [libreplace] if we replace types define the HAVE_<type> macro
this is needed as heimdal's roken.h also tries to replace the types

metze
2007-12-21 05:43:26 +01:00
Stefan Metzmacher
12cec014c4 r25715: [libreplace] move definition of struct addrinfo so that it can use socklen_t
metze
2007-12-21 05:43:25 +01:00
Stefan Metzmacher
8bd2cf71be r25714: [libreplace] move define of a constant to near to the others
metze
2007-12-21 05:43:25 +01:00
Stefan Metzmacher
a3657a4e71 r25713: [libreplace] include socket_wrapper.h after we have typedef'ed socklen_t
metze
2007-12-21 05:43:24 +01:00
Stefan Metzmacher
facb811bb3 r25687: Move #defined for getaddrinfo into network.h (as other
defines). Allows RHEL4 compile to work.
Jeremy.
(cherry picked from commit 0ffdf4fdee)
2007-12-21 05:43:14 +01:00
Stefan Metzmacher
d286c0533d r25677: add missing stuff from samba3
metze
2007-12-21 05:43:09 +01:00
Stefan Metzmacher
507d5ca7d9 r25602: don't imply "system/network.h" within replace.h,
as this brings in the socket_wrapper.h in unexpected
code and we endup with a missing 'swrap_close' while linking

metze
2007-12-21 05:42:47 +01:00
Stefan Metzmacher
f9696109cc r25597: HPUX doesn't have INET_ADDRSTRLEN defined
metze
2007-10-10 15:08:02 -05:00
Jelmer Vernooij
b6d3fd84a5 r25543: Merge libreplace support for inet_pton, inet_ntop, getaddrinfo, getnameinfo
(and friends) from SAMBA_3_2, with some minor tweaks:

- avoid including network headers in replace.h unless absolutely required
- autoconf tests for getaddrinfo() in lib/replace

The heimdal-specific code also no longer looks for these functions anymore.
2007-10-10 15:07:51 -05:00
Jelmer Vernooij
7016d50028 r25017: Move MAXHOSTNAMELEN definition to replace.h as it is usually part of
sys/param.h.
2007-10-10 15:05:37 -05:00
Andrew Tridgell
40c0919aaa r23798: updated old Temple Place FSF addresses to new URL 2007-10-10 14:59:15 -05:00
Andrew Tridgell
84b468b2f8 r23795: more v2->v3 conversion 2007-10-10 14:59:14 -05:00
Jelmer Vernooij
1193c75962 r22827: Change license to LGPL (discussed with tridge). 2007-10-10 14:52:21 -05:00
Stefan Metzmacher
f37b13cbe6 r18957: we need to include unistd.h in system/network.h because
it contains the ioctl() prototype on some systems
and we need to make sure it gets included before socket_wrapper
defines ioctl swrap_ioctl

metze
2007-10-10 14:20:24 -05:00
Stefan Metzmacher
dfaccdca1b r18947: overload listen() and ioctl() in socket_wrapper
metze
2007-10-10 14:20:23 -05:00
Stefan Metzmacher
26228e4b2e r18593: try to get the same socket_wrapper file building in samba3 and samba4
this is preparation of adding libreplace to samba3 later.

metze
2007-10-10 14:18:54 -05:00
Andrew Tridgell
77d1a468e0 r18129: moved the system includes into libreplace - this gives much more
isolation of our portability environment from the main code, and also
simplifies the includes system (no separate #ifdef _SAMBA_BUILD for
tdb. ldb etc now)
2007-10-10 14:17:36 -05:00