diff options
author | Eric Wong <normalperson@yhbt.net> | 2008-09-12 02:17:13 -0700 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2008-09-12 02:17:13 -0700 |
commit | 12d4956528b7abd34aa5d827a2f088f6eb45df98 (patch) | |
tree | 83c070df37f8d03e562ea9ad0b9274e0d4082351 /src/dbUtils.h | |
parent | 1b6315e8f6372e7abe1a3eb08b27b2f331aa2728 (diff) | |
parent | cb0253d02dc1d51bc84c65d8c7362c8a18c116f2 (diff) | |
download | mpd-12d4956528b7abd34aa5d827a2f088f6eb45df98.tar.gz mpd-12d4956528b7abd34aa5d827a2f088f6eb45df98.tar.xz mpd-12d4956528b7abd34aa5d827a2f088f6eb45df98.zip |
Merge branch 'mk/client-merge'
* mk/client-merge: (49 commits)
client: shorten names of the struct client variables
client: simplified client_read()
client: client_input_received() returns 0
client: check for COMMAND_RETURN_CLOSE
client: renamed local variable "selret" to "ret"
client: moved CLOSE/KILL check after client_process_line()
client: don't check FD_ISSET(client->fd) on expired client
client: removed assert(client->fd)>=0
fix -Wcast-qual -Wwrite-strings warnings
playlist: return -1 after assert(0)
command: concatenate strings at compile time
audio: don't pass "fd" to {en,dis}ableAudioDevice()
volume: don't pass "fd" to changeVolumeLevel()
directory: printDirectoryInfo() does not call commandError()
directory: don't pass fd to traverseAllIn()
directory: don't pass fd to traverseAllIn() callbacks
playlist: PlaylistInfo() does not call commandError()
playlist: don't pass "fd" to storedPlaylist.c functions
playlist: don't pass "fd" to playlist.c functions
playlist: showPlaylist() and shufflePlaylist() cannot fail
...
Diffstat (limited to 'src/dbUtils.h')
-rw-r--r-- | src/dbUtils.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/dbUtils.h b/src/dbUtils.h index f2237eab7..592b62e95 100644 --- a/src/dbUtils.h +++ b/src/dbUtils.h @@ -21,25 +21,25 @@ #include "locate.h" -int printAllIn(int fd, char *name); +int printAllIn(int fd, const char *name); -int addAllIn(int fd, char *name); +int addAllIn(const char *name); -int addAllInToStoredPlaylist(int fd, char *name, char *utf8file); +int addAllInToStoredPlaylist(const char *name, const char *utf8file); -int printInfoForAllIn(int fd, char *name); +int printInfoForAllIn(int fd, const char *name); -int searchForSongsIn(int fd, char *name, int numItems, +int searchForSongsIn(int fd, const char *name, int numItems, LocateTagItem * items); -int findSongsIn(int fd, char *name, int numItems, LocateTagItem * items); +int findSongsIn(int fd, const char *name, int numItems, LocateTagItem * items); -int searchStatsForSongsIn(int fd, char *name, int numItems, +int searchStatsForSongsIn(int fd, const char *name, int numItems, LocateTagItem * items); -int countSongsIn(int fd, char *name); +int countSongsIn(const char *name); -unsigned long sumSongTimesIn(int fd, char *name); +unsigned long sumSongTimesIn(const char *name); int listAllUniqueTags(int fd, int type, int numConditiionals, LocateTagItem * conditionals); |