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.
This commit is contained in:
Max Kellermann
2008-10-22 21:41:49 +02:00
parent d11ee6580c
commit d4f3c09081
2 changed files with 173 additions and 168 deletions

File diff suppressed because it is too large Load Diff