-(sb!xc:defstruct (logical-host
- (:include host
- (:parse #'parse-logical-namestring)
- (:unparse #'unparse-logical-namestring)
- (:unparse-host
- (lambda (x)
- (logical-host-name (%pathname-host x))))
- (:unparse-directory #'unparse-logical-directory)
- (:unparse-file #'unparse-unix-file)
- (:unparse-enough #'identity)
- (:customary-case :upper)))
- (name "" :type simple-base-string)
+(def!method print-object ((host host) stream)
+ (print-unreadable-object (host stream :type t :identity t)))
+
+(def!struct (logical-host
+ (:make-load-form-fun make-logical-host-load-form-fun)
+ (:include host
+ (parse #'parse-logical-namestring)
+ (parse-native
+ (lambda (x)
+ (error "called PARSE-NATIVE-NAMESTRING using a ~
+ logical host: ~S" x)))
+ (unparse #'unparse-logical-namestring)
+ (unparse-native
+ (lambda (x)
+ (error "called NATIVE-NAMESTRING using a ~
+ logical host: ~S" x)))
+ (unparse-host
+ (lambda (x)
+ (logical-host-name (%pathname-host x))))
+ (unparse-directory #'unparse-logical-directory)
+ (unparse-file #'unparse-logical-file)
+ (unparse-enough #'unparse-enough-namestring)
+ (unparse-directory-separator ";")
+ (customary-case :upper)))
+ (name "" :type simple-string)