summaryrefslogtreecommitdiff
path: root/lisp/entity/generics.lisp
blob: d4929d37608790bc2e7d288c008ee6a9a634c7f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
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 ""))