This is the cl-growl Reference Manual, version 1.2.20161206, generated automatically by Declt version 4.0 beta 2 "William Riker" on Sun Dec 15 05:00:28 2024 GMT+0.
The main system appears first, followed by any subsystem dependency.
cl-growl
Utilities for sending messages to Growl on Mac OS X.
Patrick Stein <pat@nklein.com>
Patrick Stein <pat@nklein.com>
Public Domain
1.2.20161206
trivial-utf-8
(system).
usocket
(system).
flexi-streams
(system).
ironclad
(system).
src
(module).
Modules are listed depth-first from the system components tree.
cl-growl/src
cl-growl
(system).
package.lisp
(file).
constants.lisp
(file).
types.lisp
(file).
utils.lisp
(file).
specials.lisp
(file).
gntp.lisp
(file).
register.lisp
(file).
notify.lisp
(file).
Files are sorted by type and then listed depth-first from the systems components trees.
cl-growl/cl-growl.asd
cl-growl/src/package.lisp
cl-growl/src/constants.lisp
cl-growl/src/types.lisp
cl-growl/src/utils.lisp
cl-growl/src/specials.lisp
cl-growl/src/gntp.lisp
cl-growl/src/register.lisp
cl-growl/src/notify.lisp
cl-growl/src/constants.lisp
package.lisp
(file).
src
(module).
+growl-notify-message-type+
(constant).
+growl-protocol-version+
(constant).
+growl-register-message-type+
(constant).
+growl-subscribe-message-type+
(constant).
define-constant
(macro).
cl-growl/src/types.lisp
package.lisp
(file).
src
(module).
growl-binary-data-type
(type).
growl-checksum-mode
(type).
growl-encryption-mode
(type).
incompatible-checksum-requested-mode
(reader method).
incompatible-encryption-and-checksum-error
(condition).
incompatible-encryption-requested-mode
(reader method).
report-incompatible-encryption-and-checksum-error
(function).
report-unavailable-checksum-error
(function).
report-unavailable-encryption-error
(function).
report-unsupported-iv-type-error
(function).
report-unsupported-salt-type-error
(function).
unavailable-checksum-error
(condition).
unavailable-checksum-requested-mode
(reader method).
unavailable-encryption-error
(condition).
unavailable-encryption-requested-mode
(reader method).
unsupported-iv-type-encryption-mode
(reader method).
unsupported-iv-type-error
(condition).
unsupported-iv-type-iv
(reader method).
unsupported-salt-type-error
(condition).
unsupported-salt-type-salt
(reader method).
cl-growl/src/utils.lisp
package.lisp
(file).
src
(module).
3des
(function).
aes
(function).
checksum
(function).
des
(function).
echo-all-bytes
(function).
encrypt
(function).
generate-iv
(function).
generate-random-bytes
(function).
generate-salt
(function).
generate-unique-id
(function).
hex-encode
(function).
ironclad-encrypt
(function).
md5
(function).
noauth
(function).
pkcs7-pad
(function).
sha1
(function).
sha256
(function).
with-output-to-binary-string
(macro).
with-utf-8-strings
(macro).
write-short
(function).
cl-growl/src/specials.lisp
package.lisp
(file).
types.lisp
(file).
utils.lisp
(file).
src
(module).
*growl-default-app*
(special variable).
*growl-default-app-icon*
(special variable).
*growl-default-callback-context*
(special variable).
*growl-default-callback-context-type*
(special variable).
*growl-default-callback-target*
(special variable).
*growl-default-checksum-mode*
(special variable).
*growl-default-custom-fields*
(special variable).
*growl-default-encryption-mode*
(special variable).
*growl-default-host*
(special variable).
*growl-default-icon*
(special variable).
*growl-default-notification*
(special variable).
*growl-default-origin-fields*
(special variable).
*growl-default-password*
(special variable).
*growl-default-port*
(special variable).
*growl-default-priority*
(special variable).
*growl-default-salt*
(special variable).
*growl-default-title*
(special variable).
*growl-default-application-fields*
(special variable).
*growl-default-iv*
(special variable).
cl-growl/src/gntp.lisp
package.lisp
(file).
constants.lisp
(file).
types.lisp
(file).
utils.lisp
(file).
src
(module).
app-hdr-line
(function).
compose
(function).
custom-hdr-line
(function).
encode-binary-data
(function).
hdr-line
(function).
hdr-terpri
(function).
make-encryption-hdr
(function).
make-key
(function).
make-password-hash-hdr
(function).
notice-decl
(function).
optional-icon
(function).
optional-id
(function).
optional-string
(function).
origin-hdr-line
(function).
require-iv
(function).
require-salt
(function).
required-id
(function).
required-string
(function).
required-value
(function).
valid-encryption-checksum-combo
(function).
valid-field
(function).
valid-notice-decl
(function).
valid-origin-field
(function).
valid-port
(function).
valid-priority
(function).
cl-growl/src/register.lisp
package.lisp
(file).
constants.lisp
(file).
types.lisp
(file).
specials.lisp
(file).
utils.lisp
(file).
gntp.lisp
(file).
src
(module).
register
(function).
cl-growl/src/notify.lisp
package.lisp
(file).
constants.lisp
(file).
types.lisp
(file).
specials.lisp
(file).
utils.lisp
(file).
src
(module).
notify
(function).
Packages are listed by definition order.
cl-growl
growl
common-lisp
.
trivial-utf-8
.
*growl-default-app*
(special variable).
*growl-default-app-icon*
(special variable).
*growl-default-callback-context*
(special variable).
*growl-default-callback-context-type*
(special variable).
*growl-default-callback-target*
(special variable).
*growl-default-checksum-mode*
(special variable).
*growl-default-custom-fields*
(special variable).
*growl-default-encryption-mode*
(special variable).
*growl-default-host*
(special variable).
*growl-default-icon*
(special variable).
*growl-default-notification*
(special variable).
*growl-default-origin-fields*
(special variable).
*growl-default-password*
(special variable).
*growl-default-port*
(special variable).
*growl-default-priority*
(special variable).
*growl-default-salt*
(special variable).
*growl-default-title*
(special variable).
notify
(function).
register
(function).
*growl-default-application-fields*
(special variable).
*growl-default-iv*
(special variable).
+growl-notify-message-type+
(constant).
+growl-protocol-version+
(constant).
+growl-register-message-type+
(constant).
+growl-subscribe-message-type+
(constant).
3des
(function).
aes
(function).
app-hdr-line
(function).
checksum
(function).
compose
(function).
custom-hdr-line
(function).
define-constant
(macro).
des
(function).
echo-all-bytes
(function).
encode-binary-data
(function).
encrypt
(function).
generate-iv
(function).
generate-random-bytes
(function).
generate-salt
(function).
generate-unique-id
(function).
growl-binary-data-type
(type).
growl-checksum-mode
(type).
growl-encryption-mode
(type).
hdr-line
(function).
hdr-terpri
(function).
hex-encode
(function).
incompatible-checksum-requested-mode
(generic reader).
incompatible-encryption-and-checksum-error
(condition).
incompatible-encryption-requested-mode
(generic reader).
ironclad-encrypt
(function).
make-encryption-hdr
(function).
make-key
(function).
make-password-hash-hdr
(function).
md5
(function).
noauth
(function).
notice-decl
(function).
optional-icon
(function).
optional-id
(function).
optional-string
(function).
origin-hdr-line
(function).
pkcs7-pad
(function).
report-incompatible-encryption-and-checksum-error
(function).
report-unavailable-checksum-error
(function).
report-unavailable-encryption-error
(function).
report-unsupported-iv-type-error
(function).
report-unsupported-salt-type-error
(function).
require-iv
(function).
require-salt
(function).
required-id
(function).
required-string
(function).
required-value
(function).
sha1
(function).
sha256
(function).
unavailable-checksum-error
(condition).
unavailable-checksum-requested-mode
(generic reader).
unavailable-encryption-error
(condition).
unavailable-encryption-requested-mode
(generic reader).
unsupported-iv-type-encryption-mode
(generic reader).
unsupported-iv-type-error
(condition).
unsupported-iv-type-iv
(generic reader).
unsupported-salt-type-error
(condition).
unsupported-salt-type-salt
(generic reader).
valid-encryption-checksum-combo
(function).
valid-field
(function).
valid-notice-decl
(function).
valid-origin-field
(function).
valid-port
(function).
valid-priority
(function).
with-output-to-binary-string
(macro).
with-utf-8-strings
(macro).
write-short
(function).
Definitions are sorted by export status, category, package, and then by lexicographic order.
This is the default name by which your application will identify itself to the Growl server.
If not NIL, this icon will be transmitted to the Growl server. It can be either an encoded image stored in a one-dimensional binary array or a URL for the icon image to use.
If not NIL, this will be the default context supplied to
a callback for the notification. Growl invokes a callback
when the user clicks the notification, when the user closes
the notification, or when the notification times out.
If not NIL, this specifies the context type information supplied to the callback for the notification.
If not NIL, this should be a URL for a callback method. This URL will be opened in the user’s default browser if the user clicks the notification.
Default hash algorithm to use. It must be a valid GROWL-CHECKSUM-MODE.
GNTP allows custom fields in the Growl message headers. This must be a LIST of CONS cells. The CAR of each cell is the field name. The CDR of each cell is the field value. The value can either be a string or a one-dimensional binary array.
Default encryption algorithm to use. It could be :AES, :DES, :3DES, or :NONE. You need Ironclad to do anything other than :NONE.
This is the default hostname of the Growl server
If not NIL, this is the default notification-icon that will be transmitted to the Growl server along with your notification events. It can be either an encoded image stored in a one-dimensional binary array or a URL for the icon image to use.
This is the default notification level to use when sending notification events to the Growl server.
GNTP allows fields that describe the system/software
that generated the message.
This must be a LIST of CONS cells. The CAR of each
cell is the field name. The CDR of each cell is the
field value. The value can either be a string or
a one-dimensional binary array.
Default password to use if the hash algorithm is not :NONE
This is the default port number the Growl server is listening on. This is the GNTP default port.
If not NIL, this is the default priority used when sending notification events to the Growl server.
This can be either a function of no arguments used to generate a binary array or string as a salt, a fixed binary array, or a fixed string.
This is the default message title to use when sending notification events to the Growl server.
Send a notification with TITLE as its title and BODY as its text
body. The notificiation is from the APP and with notification name
NOTIFICATION. It has an ID that is hopefully unique to this
notification. And, it has an advisory PRIORITY on the range
[-2,2] (unless PRIORITY is nil). The app can request that the
notification be STICKY.
This notice can specify its own ICON either by URL or by sending
along the binary data.
If a COALESCE is given, it should contain the ID of a previously sent notification that should be updated or replaced by this one.
If a CALLBACK-CONTEXT string is given, it specifies that GROWL
should send a message back on this notification’s socket when the
user click the message, closes the message, or when the message
times out. If CALLBACK-CONTEXT is non-nil (and non-empty), then
CALLBACK-CONTEXT-TYPE must also be non-nil (and non-empty). The
CALLBACK-CONTEXT and CALLBACK-CONTEXT-TYPE are returned in the
callback.
If a CALLBACK-TARGET is specified, it must be a URL. If the user
clicks on a notification with a CALLBACK-TARGET, the user’s default
browser is opened to the CALLBACK-TARGET URL.
If SALT is an array of unsigned bytes, it will be used directly.
If SALT is a string, it will be converted to an array of unsigned
bytes using a UTF-8 encoding. If SALT is a function, it will be
invoked with zero arguments and can either return an array of
unsigned bytes or a string.
This function returns (VALUES STREAM ID). STREAM will be NIL if there is no CALLBACK-CONTEXT. It will be a stream for the socket on which the callback will arrive if a CALLBACK-CONTEXT was given. ID will be the notification ID used for this message.
Register as the application named APP with the ENABLED
notifications turned on and the DISABLED notifications turned off
by default.
The ENABLED and DISABLED parameters are lists. The list elements of the ENABLED and DISABLED parameters can be either a string or a list. If it is a string, it is the name of a notification. If it is a list, it can have either one, two, or three members. The first member is the notification name, the second member (if present) is the human-readable notification name, and the third member (if present) is the notification icon. The third item can be either a URL to the notification icon or a one-dimensional binary vector containing the encoded icon image.
Message type for notify messages.
GNTP Protocol Version
Message type for register messages.
Message type for subscribe messages.
GNTP allows app-specific field in the Growl message headers.
This must be a LIST of CONS cells. The CAR of each
cell is the field name. The CDR of each cell is the
field value. The value can either be a string or
a one-dimensional binary array.
This can be either a function that takes the encryption mode and returns a binary array or string as a salt, a fixed binary array, or a fixed string.
incompatible-encryption-and-checksum-error
)) ¶incompatible-encryption-and-checksum-error
)) ¶unsupported-iv-type-error
)) ¶unsupported-iv-type-error
)) ¶iv
.
unsupported-salt-type-error
)) ¶salt
.
error
.
:requested-mode
This slot is read-only.
error
.
:requested-mode
This slot is read-only.
error
.
:salt
This slot is read-only.
If you have Ironclad, you can do :SHA256, :SHA1, :MD5, or :NONE.
If you have the MD5 package, you can do :MD5 or :NONE.
If you have neither Ironclad nor MD5, you can only do :NONE.
With :NONE, you will not be able to do authenticated Growl
transactions.
If you have Ironclad, then you can encrypt with mode :AES, :DES, :3DES, or :NONE. If you do not have Ironclad, you can only use the :NONE mode. You can still do authenticated Growl transactions with encryption mode :NONE, but the contents of the transaction will go over the network in plain text so an eavesdropper could potentially read the contents of the Growl.
Jump to: | 3
A C D E F G H I M N O P R S U V W |
---|
Jump to: | 3
A C D E F G H I M N O P R S U V W |
---|
Jump to: | *
+
C E I R S |
---|
Jump to: | *
+
C E I R S |
---|
Jump to: | C F G I M N P R S T U |
---|
Jump to: | C F G I M N P R S T U |
---|