backplane-dns/package.lisp

60 lines
1.6 KiB
Common Lisp
Raw Normal View History

2020-11-04 12:34:28 -08:00
;;;; package.lisp
(defpackage #:backplane-dns
2020-11-04 12:34:28 -08:00
(:use #:cl)
2020-11-04 12:34:28 -08:00
(:import-from #:arrows
#:->
#:some->)
(:import-from #:alexandria
#:if-let)
(:import-from #:backplane-server
2020-12-01 16:42:33 -08:00
#:backplane-connect
#:make-error
#:make-success
#:start-listening
#:with-backplane)
(:import-from #:backplane-dns-store
#:invalid-sshfp
#:missing-domain
#:invalid-ip
#:domain-name-missing
#:error-msg)
(:export #:start-listener-with-env
#:backplane-dns-listen
#:parse-message
#:handle-message
#:unknown-dns-request
#:request-change-ipv4
#:request-change-ipv6
#:request-change-sshfp
#:*dns-store*))
(defpackage #:backplane-dns-store
(:use #:cl)
(:import-from #:arrows #:->)
(:import-from #:alexandria #:if-let)
(:import-from #:ip-utils
#:ipv4-p
#:ipv6-p)
2020-11-04 12:34:28 -08:00
(:import-from #:postmodern
2020-11-11 08:59:40 -08:00
#:select-dao
2020-11-04 12:34:28 -08:00
#:update-dao
2020-11-17 14:27:19 -08:00
#:insert-dao
#:delete-dao
#:with-transaction)
(:export #:set-ipv4
#:set-ipv6
#:set-sshfp
#:postgres-dns-store
#:invalid-ip
#:invalid-sshfp
#:domain-name-missing
#:missing-domain
#:dns-store
#:sshfp-p
#:error-msg))