1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-17 22:22:25 +02:00
guile/module/ice-9
Ludovic Courtès 55ae00ea73 Add `getaddrinfo' and related procedures.
* libguile/net_db.c (sym_getaddrinfo_error, sym_ai_passive,
  sym_ai_canonname, sym_ai_numerichost, sym_ai_numericserv,
  sym_ai_v4mapped, sym_ai_all, sym_ai_addrconfig, sym_eai_badflags,
  sym_eai_noname, sym_eai_again, sym_eai_fail, sym_eai_family,
  sym_eai_socktype, sym_eai_service, sym_eai_memory, sym_eai_system,
  sym_eai_overflow, sym_eai_nodata, sym_eai_addrfamily,
  sym_eai_inprogress, sym_eai_canceled, sym_eai_notcanceled,
  sym_eai_alldone, sym_eai_intr, sym_eai_idn_encode): New variables.
  (scm_from_addrinfo, scm_getaddrinfo, scm_gai_strerror): New functions.

* libguile/net_db.h (scm_getaddrinfo, scm_gai_strerror): New functions.

* module/ice-9/networking.scm (addrinfo:flags, addrinfo:fam,
  addrinfo:socktype, addrinfo:protocol, addrinfo:addr,
  addrinfo:canonname): New procedures.

* test-suite/tests/net-db.test: New file.

* test-suite/Makefile.am (SCM_TESTS): Add `tests/net-db.test'.

* doc/ref/posix.texi (Network Databases)[getaddrinfo]: New subsection.
  [The Host Database]: Suggest using `getaddrinfo'.
2010-02-14 20:56:47 +01:00
..
debugger local-eval will go away 2009-12-01 21:00:26 +01:00
debugging clean up macros.[ch] 2010-01-05 15:33:46 +01:00
and-let-star.scm Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
arrays.scm Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
boot-9.scm Evaluate the export' and re-export' forms at compile-time. 2010-01-11 18:31:02 +01:00
buffered-input.scm Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
calling.scm Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
ChangeLog-2008
channel.scm Fix typos leading to wrong argument counts. 2009-11-07 19:24:49 +01:00
common-list.scm Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
compile-psyntax.scm pretty-print psyntax-pp.scm 2009-06-08 22:44:01 +02:00
control.scm add (ice-9 control) 2010-01-31 20:40:24 +01:00
debug.scm Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
debugger.scm Incorporate ice-9-debugger-extensions properly 2009-08-27 22:21:20 +01:00
deprecated.scm Move feature?' to deprecated.scm'. 2010-01-11 01:21:14 +01:00
documentation.scm eval.c closures are now applicable smobs, not tc3s 2009-12-04 19:20:11 +01:00
emacs.scm local-eval will go away 2009-12-01 21:00:26 +01:00
eval.scm primitive-eval passes first N args on stack directly, not via apply 2009-12-13 17:19:59 +01:00
expect.scm Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
format.scm ~:@y allows for truncation to an absolute maximum width 2009-12-29 21:15:08 +01:00
ftw.scm "filesystem" -> "file system" 2009-11-24 23:16:08 +01:00
gap-buffer.scm Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
gds-client.scm local-eval will go away 2009-12-01 21:00:26 +01:00
gds-server.scm Merge branch 'ossau-gds-dev' 2009-08-27 22:52:20 +01:00
getopt-long.scm Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
hcons.scm Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
history.scm Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
i18n.scm Provide Guile-friendly `coding:' meta-data. 2010-01-11 01:21:13 +01:00
lineio.scm remove (ice-9 lineio)'s dependency on (ice-9 readline) 2009-08-18 17:52:46 +02:00
list.scm Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
ls.scm Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
mapping.scm Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
match.scm Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
networking.scm Add `getaddrinfo' and related procedures. 2010-02-14 20:56:47 +01:00
null.scm Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
occam-channel.scm Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
optargs.scm allow simple value definitions with define*-public 2010-01-12 20:15:36 +01:00
poe.scm Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
popen.scm Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
posix.scm nanosecond timestamp support in stat and utime 2010-01-17 16:56:34 +01:00
pretty-print.scm Use HORIZONTAL ELLIPSIS' when available in truncated-print'. 2010-01-08 10:57:32 +01:00
psyntax-pp.scm allow (define* SYM VAL) 2010-01-11 22:08:07 +01:00
psyntax.scm allow (define* SYM VAL) 2010-01-11 22:08:07 +01:00
q.scm Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
quasisyntax.scm add quasisyntax 2009-11-14 17:25:12 +01:00
r4rs.scm Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
r5rs.scm Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
rdelim.scm Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
README
receive.scm Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
regex.scm Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
runq.scm Remove unused top-level variables. 2010-01-11 01:21:14 +01:00
rw.scm Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
safe-r5rs.scm Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
safe.scm Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
serialize.scm Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
session.scm fix texinfo reflection for procedures 2010-01-12 22:50:10 +01:00
slib.scm Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
stack-catch.scm Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
streams.scm Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
string-fun.scm Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
syncase.scm 1.8 compat in ice-9 syncase 2010-01-14 00:40:20 +01:00
test.scm Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
threads.scm Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
time.scm Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
vlist.scm vlist: Slightly improve readability and consistency. 2010-02-10 00:40:01 +01:00
weak-vector.scm Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00

This directory contains various bits of Guile Scheme code.
Most of these are packaged as modules, with foo.scm implementing
the module `(ice-9 foo)'.

The non-module files are:

boot-9.scm	-- loaded on guile startup
		   implements module system + lots of other stuff
arrays.scm	-- loaded by boot-9.scm
networking.scm	-- loaded by boot-9.scm
posix.scm	-- loaded by boot-9.scm
r4rs.scm	-- loaded by boot-9.scm