command: converted COMMAND_RETURN_* macros to enum
Also add names for "error" and "ok". I don't like passing anonymous
integer codes around.
This is not yet complete: lots of functions (e.g. in playlist.c)
follow the same convention of -1/0, and these have to be adapted, too.
Showing
This diff is collapsed.
Click to expand it.
Please
register
or
sign in
to comment