ports.scm 774 B

1234567891011121314151617181920212223242526272829303132333435
  1. (define-module (hurd ports)
  2. #:use-module (oop goops)
  3. #:use-module (hurd-cl-compat)
  4. #:use-module (mach)
  5. #:use-module (ice-9 control)
  6. #:export (bucket-add-control-port!
  7. bucket-add-port!
  8. move-receive-right!
  9. bucket-has-port?
  10. bucket-lookup-port
  11. bucket-remove-port!
  12. bucket-iterate
  13. make-bucket
  14. bucket-count
  15. bucket-count-type
  16. bucket-find))
  17. (read-set! keywords 'prefix)
  18. (define-syntax-rule (include-from-paths x ...)
  19. (begin (include-from-path x)
  20. ...))
  21. (define-syntax-rule (in-package #:hurd)
  22. (begin #f))
  23. (include-from-paths
  24. "hurd/ports/port.lisp"
  25. "hurd/ports/bucket.lisp"
  26. "hurd/ports/notify.lisp"
  27. "hurd/ports/dead-name.lisp"
  28. "hurd/ports/demuxer.lisp"
  29. "hurd/ports/no-senders.lisp"
  30. "hurd/ports/server.lisp")