X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=contrib%2Fsb-bsd-sockets%2Fname-service.lisp;h=23f65a15d84921d9426096ca8f56364b95465111;hb=f6d13b577869229af003c282eb81d65a4a51c713;hp=5f038595820f4622c36374d94363a771530bf3a3;hpb=10d2c05ea44ca0837091434fe2223c0c31687615;p=sbcl.git diff --git a/contrib/sb-bsd-sockets/name-service.lisp b/contrib/sb-bsd-sockets/name-service.lisp index 5f03859..23f65a1 100644 --- a/contrib/sb-bsd-sockets/name-service.lisp +++ b/contrib/sb-bsd-sockets/name-service.lisp @@ -17,6 +17,8 @@ eventually, so that we can do DNS lookups in parallel with other things ; presently always AF_INET (addresses :initarg :addresses :accessor host-ent-addresses))) +(defgeneric host-ent-address (host-ent)) + (defmethod host-ent-address ((host-ent host-ent)) (car (host-ent-addresses host-ent)))