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

26 Commits

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

merge from v3-2-test commit a68bbea0d4
(This used to be commit b833dce5e6)
2007-12-21 05:44:50 +01:00
Stefan Metzmacher
74a2b05793 r25728: [libreplace] define AI_NUMERICSERV as it's used in getaddrinfo.c
metze
(This used to be commit 5648c8a0de)
2007-12-21 05:43:31 +01:00
Stefan Metzmacher
88f6c5a1d2 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
(This used to be commit 57d5cf4b5f)
2007-12-21 05:43:29 +01:00
Stefan Metzmacher
31569f1c88 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
(This used to be commit 8b92b81101)
2007-12-21 05:43:26 +01:00
Stefan Metzmacher
582496f5d0 r25715: [libreplace] move definition of struct addrinfo so that it can use socklen_t
metze
(This used to be commit 12cec014c4)
2007-12-21 05:43:25 +01:00
Stefan Metzmacher
c01f61340b r25714: [libreplace] move define of a constant to near to the others
metze
(This used to be commit 8bd2cf71be)
2007-12-21 05:43:25 +01:00
Stefan Metzmacher
1cfd89c6aa r25713: [libreplace] include socket_wrapper.h after we have typedef'ed socklen_t
metze
(This used to be commit a3657a4e71)
2007-12-21 05:43:24 +01:00
Stefan Metzmacher
9f53479997 r25687: Move #defined for getaddrinfo into network.h (as other
defines). Allows RHEL4 compile to work.
Jeremy.
(cherry picked from commit 0ffdf4fdee)
(This used to be commit facb811bb3)
2007-12-21 05:43:14 +01:00
Stefan Metzmacher
ce7a3abcd8 r25677: add missing stuff from samba3
metze
(This used to be commit d286c0533d)
2007-12-21 05:43:09 +01:00
Stefan Metzmacher
a3e5710eda 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
(This used to be commit 507d5ca7d9)
2007-12-21 05:42:47 +01:00
Stefan Metzmacher
39f5745c16 r25597: HPUX doesn't have INET_ADDRSTRLEN defined
metze
(This used to be commit f9696109cc)
2007-10-10 15:08:02 -05:00
Jelmer Vernooij
e511090a43 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.
(This used to be commit b6d3fd84a5)
2007-10-10 15:07:51 -05:00
Jelmer Vernooij
d0f3d4a2f1 r25017: Move MAXHOSTNAMELEN definition to replace.h as it is usually part of
sys/param.h.
(This used to be commit 7016d50028)
2007-10-10 15:05:37 -05:00
Andrew Tridgell
6c973f4e8c r23798: updated old Temple Place FSF addresses to new URL
(This used to be commit 40c0919aaa)
2007-10-10 14:59:15 -05:00
Andrew Tridgell
b8d69a7ea2 r23795: more v2->v3 conversion
(This used to be commit 84b468b2f8)
2007-10-10 14:59:14 -05:00
Jelmer Vernooij
c3b00b471a r22827: Change license to LGPL (discussed with tridge).
(This used to be commit 1193c75962)
2007-10-10 14:52:21 -05:00
Stefan Metzmacher
c0c135c774 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
(This used to be commit f37b13cbe6)
2007-10-10 14:20:24 -05:00
Stefan Metzmacher
174742a74c r18947: overload listen() and ioctl() in socket_wrapper
metze
(This used to be commit dfaccdca1b)
2007-10-10 14:20:23 -05:00
Stefan Metzmacher
4a854fe809 r18593: try to get the same socket_wrapper file building in samba3 and samba4
this is preparation of adding libreplace to samba3 later.

metze
(This used to be commit 26228e4b2e)
2007-10-10 14:18:54 -05:00
Andrew Tridgell
a983b06d37 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)
(This used to be commit 77d1a468e0)
2007-10-10 14:17:36 -05:00