Home My Page Projects Code Snippets Project Openings SML/NJ
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files

SCM Repository

[smlnj] View of /sml/trunk/src/system/Basis/Implementation/Sockets/host-db.sig
ViewVC logotype

View of /sml/trunk/src/system/Basis/Implementation/Sockets/host-db.sig

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1394 - (download) (as text) (annotate)
Fri Sep 26 19:56:20 2003 UTC (16 years, 10 months ago) by mblume
File size: 653 byte(s)
minor version bump; new bootfiles
(* host-db.sig
 *
 * COPYRIGHT (c) 1995 AT&T Bell Laboratories.
 *
 *)

signature NET_HOST_DB =
  sig
    eqtype in_addr
    eqtype addr_family
    type entry
    val name      : entry -> string
    val aliases   : entry -> string list
    val addrType  : entry -> addr_family
    val addr      : entry -> in_addr
    val addrs     : entry -> in_addr list
    val getByName : string -> entry option
    val getByAddr : in_addr -> entry option

    val getHostName : unit -> string

    val scan   : (char, 'a) StringCvt.reader -> (in_addr, 'a) StringCvt.reader
    val fromString : string -> in_addr option
    val toString   : in_addr -> string

  end

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0