address-info

Check-in [a44b02628c]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Added netinet/in header for BSD compatibility
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | chicken-5 | v1.0.4
Files: files | file ages | folders
SHA3-256: a44b02628c1447ab106fdc44b7c93e64469439ea397540c5194698fa404cb81b
User & Date: murphy 2019-05-12 21:53:55
References
2019-05-12
21:54 Closed ticket [dfda165c8c]: address-info doesn't compile on FreeBSD plus 5 other changes artifact: 08fd5d5e1e user: murphy
Context
2019-05-12
21:57
Updated release information with new tag Leaf check-in: c78ad828e2 user: murphy tags: chicken-5
21:53
Added netinet/in header for BSD compatibility check-in: a44b02628c user: murphy tags: chicken-5, v1.0.4
2018-11-06
16:24
Updated release information with new tag check-in: 69930cc16c user: murphy tags: chicken-5
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to address-info.egg.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
((category net)
 (synopsis "Network address information access")
 (license "BSD")
 (author "Thomas Chust")
 (version "1.0.3")
 (dependencies
   srfi-1)
 (test-dependencies
   test)
 (components
   (extension address-info
     (custom-build "build-address-info"))))

;; vim: set ai et ts=4 sts=2 sw=2 ft=scheme: ;;




|









1
2
3
4
5
6
7
8
9
10
11
12
13
14
((category net)
 (synopsis "Network address information access")
 (license "BSD")
 (author "Thomas Chust")
 (version "1.0.4")
 (dependencies
   srfi-1)
 (test-dependencies
   test)
 (components
   (extension address-info
     (custom-build "build-address-info"))))

;; vim: set ai et ts=4 sts=2 sw=2 ft=scheme: ;;

Changes to address-info.scm.

46
47
48
49
50
51
52

53
54
55
56
57
58
59
#   include <ws2tcpip.h>
# endif
#else
# include <sys/types.h>
# include <sys/socket.h>
# include <netdb.h>
# include <arpa/inet.h>

#endif
<#

(define-foreign-type addrinfo
  (c-pointer (struct "addrinfo")))

(define (type-error loc msg . args)







>







46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
#   include <ws2tcpip.h>
# endif
#else
# include <sys/types.h>
# include <sys/socket.h>
# include <netdb.h>
# include <arpa/inet.h>
# include <netinet/in.h>
#endif
<#

(define-foreign-type addrinfo
  (c-pointer (struct "addrinfo")))

(define (type-error loc msg . args)