aboutsummaryrefslogtreecommitdiffstats
path: root/src/locate.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* locate: use bool instead of intMax Kellermann2009-01-241-2/+3
| | | | Use the C99 bool type instead of integer values (1/0 or 0/-1).
* locate: no CamelCaseMax Kellermann2009-01-241-11/+13
| | | | Renamed functions and variables.
* locate: renamed LocateTagItem to "struct locate_item"Max Kellermann2009-01-241-9/+11
| | | | No CamelCase and no typedefs.
* locate: use const pointersMax Kellermann2009-01-221-3/+4
| | | | Pass const pointers where no writes are performed.
* added prefix to header macrosMax Kellermann2008-10-311-2/+2
| | | | | | | "LOG_H" is a macro which is also used by ffmpeg/log.h. This is ffmpeg's fault, because short macros should be reserved for applications, but since it's always a good idea to choose prefixed macro names, even for applications, we are going to do that in MPD.
* song: converted typedef Song to struct songMax Kellermann2008-10-081-3/+8
| | | | Again, a data type which can be forward-declared.
* Switch to C99 types (retaining compat with old compilers)Eric Wong2008-09-291-1/+1
| | | | | | | | | | | | | | | Seeing the "mpd_" prefix _everywhere_ is mind-numbing as the mind needs to retrain itself to skip over the first 4 tokens of a type to get to its meaning. So avoid having extra characters on my terminal to make it easier to follow code at 2:30 am in the morning. Please report any new issues you may come across on Free toolchains. I realize how difficult it can be to build/maintain cross-compiling toolchains and I have no intention of forcing people to upgrade their toolchains to build mpd. Tested with gcc 2.95.4 and and gcc 4.3.1 on x86-32.
* protect locate.h from double inclusionMax Kellermann2008-08-281-0/+5
|
* fix -Wconst warningsMax Kellermann2008-02-051-2/+2
| | | | | | [ew: cleaned up the dirty union hack a bit] Signed-off-by: Eric Wong <normalperson@yhbt.net> git-svn-id: https://svn.musicpd.org/mpd/trunk@7180 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Adding copyright headers to locate.[ch].J. Alexander Treuman2007-02-241-0/+18
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@5422 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Moving a bunch of the LocateTagItem code to locate.[ch] so that it canJ. Alexander Treuman2007-02-241-0/+28
later be used for playlist searching. git-svn-id: https://svn.musicpd.org/mpd/trunk@5419 09075e82-0dd4-0310-85a5-a0d7c8717e4f