compatibility/collects/net/nntp-sig.ss
Eli Barzilay 482ab34c78 added authentication stuff
original commit: 78df7fec2bc5450d9e19e9b3ac8ae39d4e27ab23
2004-05-11 16:24:28 +00:00

27 lines
804 B
Scheme

(module nntp-sig mzscheme
(require (lib "unitsig.ss"))
(provide net:nntp^)
(define-signature net:nntp^
((struct communicator (sender receiver server port))
connect-to-server connect-to-server* disconnect-from-server
authenticate-user open-news-group
head-of-message body-of-message
newnews-since generic-message-command
make-desired-header extract-desired-headers
(struct nntp ())
(struct unexpected-response (code text))
(struct bad-status-line (line))
(struct premature-close (communicator))
(struct bad-newsgroup-line (line))
(struct non-existent-group (group))
(struct article-not-in-group (article))
(struct no-group-selected ())
(struct article-not-found (article))
(struct authentication-rejected ()))))