diff options
Diffstat (limited to 'lisp/entity/generics.lisp')
| -rw-r--r-- | lisp/entity/generics.lisp | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/lisp/entity/generics.lisp b/lisp/entity/generics.lisp new file mode 100644 index 0000000..d4929d3 --- /dev/null +++ b/lisp/entity/generics.lisp @@ -0,0 +1,51 @@ +;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; Base: 10 -*- +(declaim (optimize (speed 0) (safety 3) (debug 3))) + +(in-package #:dns-admin) + +(defgeneric attribute-value-list (entity &optional keep-nulls) + (:documentation "Builds an alist of attribute/value pairs.")) + +(defgeneric get-slots-regex (entity regex) + (:documentation "Gets an alphabetically sorted list of `entity' +slots whose names match `regex'.")) + +(defgeneric intersect-slots (entity slots) + (:documentation "Since the built-in `intersect' function does not +take package name prefixes into account, and since `map-slot-names' +returns slot names prefixed with the package name, this method was +written to intersect lists ignoring package prefixes.")) + +(defgeneric slot-to-param (dns-record-infoblox slot) + (:documentation "")) + +(defgeneric param-to-slot (dns-record-infoblox param) + (:documentation "")) + +(defgeneric make-dns-record (dns recordtype) + (:documentation "")) + +(defgeneric intersect-dns-record-function-args (dns-record func-symbol) + (:documentation "")) + +(defgeneric intersect-dns-record-function-args (dns-record func-symbol) + (:documentation "")) + +(defgeneric search-filter-satisfied-p (dns-record rec) + (:documentation "")) + +(defgeneric get-dns-records (dns recordtype ref name ipv4addr ipv6addr canonical ptrdname) + + (:documentation "")) + +(defgeneric add-dns-record (dns dns-record) + (:documentation "")) + +(defgeneric modify-dns-record (dns dns-record) + (:documentation "")) + +(defgeneric modify-dns-record-ttl (dns dns-record) + (:documentation "")) + +(defgeneric delete-dns-record (dns dns-record) + (:documentation "")) |
