compatibility/collects/net/nntp-sig.rkt
Eli Barzilay 760adf6428 Recketizing much in `net/*', mass ".ss" -> ".rkt" conversion in .scrbl files.
(Some other minor things here and there.)

original commit: debd1f9f1e6899e2a7e4ab5de929a49df490b5c7
2011-06-20 04:27:14 -04:00

20 lines
629 B
Racket

#lang racket/signature
(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 ())