Common Lisp Package: CL-GROWL

README:

FUNCTION

Public

NOTIFY (MESSAGE &KEY (TITLE *GROWL-DEFAULT-TITLE*) (APP *GROWL-DEFAULT-APP*) (NOTIFICATION *GROWL-DEFAULT-NOTIFICATION*) (PRIORITY 0) (STICKY NIL) (HOST *GROWL-DEFAULT-HOST*) (PORT *GROWL-DEFAULT-PORT*) (CHECKSUM-MODE (OR SHA256 MD5 NOAUTH)) (PASSWORD *GROWL-DEFAULT-PASSWORD*) &AUX (MESSAGE-ENC (STRING-TO-UTF-8-BYTES MESSAGE)) (TITLE-ENC (STRING-TO-UTF-8-BYTES TITLE)) (APP-ENC (STRING-TO-UTF-8-BYTES APP)) (NOTIFICATION-ENC (STRING-TO-UTF-8-BYTES NOTIFICATION)))

Make a notification of type NOTIFICATION for the app APP with description MESSAGE.

REGISTER (&KEY (APP *GROWL-DEFAULT-APP*) (ENABLED *GROWL-DEFAULT-ENABLED-NOTIFICATIONS*) (DISABLED *GROWL-DEFAULT-DISABLED-NOTIFICATIONS*) (HOST *GROWL-DEFAULT-HOST*) (PORT *GROWL-DEFAULT-PORT*) (CHECKSUM-MODE (OR SHA256 MD5 NOAUTH)) (PASSWORD *GROWL-DEFAULT-PASSWORD*) &AUX (APP-ENC (STRING-TO-UTF-8-BYTES APP)))

Register as the application named APP with the ENABLED notifications turned on and the DISABLED notifications turned off by default. If PASSWORD is given, then use AES128 on the message.

Private

Undocumented

CHECKSUM (PAYLOAD PASSWORD CHECKSUM-MODE)

MD5 (BUFFER PASSWORD)

NOAUTH (BUFFER PASSWORD)

SEND-PACKET (PAYLOAD &KEY HOST PORT CHECKSUM-MODE PASSWORD &AUX (PASSWORD-ENC (STRING-TO-UTF-8-BYTES PASSWORD)))

SHA256 (BUFFER PASSWORD)

WRITE-SHORT (SS STREAM)

MACRO

Private

Undocumented

DEFINE-CONSTANT (NAME VALUE &OPTIONAL DOC)

GENERIC-FUNCTION

Private

Undocumented

UNAVAILABLE-CHECKSUM-REQUESTED-MODE (CONDITION)

VARIABLE

Public

*GROWL-DEFAULT-DISABLED-NOTIFICATIONS*

List of Growl notifications that are disabled by default

*GROWL-DEFAULT-ENABLED-NOTIFICATIONS*

List of Growl notifications that are enabled by default

Undocumented

*GROWL-DEFAULT-APP*

*GROWL-DEFAULT-HOST*

*GROWL-DEFAULT-NOTIFICATION*

*GROWL-DEFAULT-PASSWORD*

*GROWL-DEFAULT-PORT*

*GROWL-DEFAULT-TITLE*

CONDITION

Private

Undocumented

UNAVAILABLE-CHECKSUM-ERROR

CONSTANT

Private

+GROWL-PROTOCOL-VERSION+

GROWL Protocol Version

+GROWL-TYPE-NOTIFICATION+

Notification packet with MD5

+GROWL-TYPE-NOTIFICATION-NOAUTH+

Notification packet without authentication

+GROWL-TYPE-NOTIFICATION-SHA256+

Notification packet with SHA-256 checksum

+GROWL-TYPE-REGISTRATION+

Registration packet with MD5

+GROWL-TYPE-REGISTRATION-NOAUTH+

Registration packet without authentication

+GROWL-TYPE-REGISTRATION-SHA256+

Registration packet with SHA-256 checksum