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/branches/SMLNJ/src/compiler/PervEnv/Sockets/net-db.sig
ViewVC logotype

View of /sml/branches/SMLNJ/src/compiler/PervEnv/Sockets/net-db.sig

Parent Directory Parent Directory | Revision Log Revision Log


Revision 249 - (download) (as text) (annotate)
Sat Apr 17 18:57:03 1999 UTC (20 years, 4 months ago) by monnier
File size: 603 byte(s)
version 110.16
(* net-db.sig
 *
 * COPYRIGHT (c) 1995 AT&T Bell Laboratories.
 *
 *)

signature NET_DB =
  sig
    eqtype net_addr
    type addr_family
    type entry
    val name     : entry -> string
    val aliases  : entry -> string list
    val addrType : entry -> addr_family
    val addr     : entry -> net_addr
    val getByName : string -> entry option
    val getByAddr : (net_addr * addr_family) -> entry option

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

(*
 * $Log$
 *)

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