]> git.tuebingen.mpg.de Git - paraslash.git/commit
blob: Get rid of the two dummy event handlers.
authorAndre Noll <maan@tuebingen.mpg.de>
Sun, 23 Mar 2025 20:53:15 +0000 (21:53 +0100)
committerAndre Noll <maan@tuebingen.mpg.de>
Sat, 3 May 2025 16:45:49 +0000 (18:45 +0200)
commit06090f39723cc71626a8625bc8eb4e2750ecb27b
tree4ca51bf22f2bfd290740d2b986051677bd7f9570
parent118166a527ae5f572e3faf5e1f3e569659342e7e
blob: Get rid of the two dummy event handlers.

The four blob operation structures defined in blob.c are created by
a macro which initializes the function pointer for the event handler
to ${name}_event_handler, where $name is the blob type, i.e. one of
images, lyrics, moods, playlists.

Only two of the four, moods and playlists, need an event handler
because the images and lyrics tables ignore events. Currently we
have to define dummy functions {images,lyrics}_event_handler() to
avoid link errors. This extra code can easily be avoided by making
the macros a little smarter.
afs.c
blob.c