Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
549344d3
Commit
549344d3
authored
Apr 14, 2004
by
Warren Dukes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add vim shiznit to end of all source files
git-svn-id:
https://svn.musicpd.org/mpd/trunk@750
09075e82-0dd4-0310-85a5-a0d7c8717e4f
parent
87e87e12
Hide whitespace changes
Inline
Side-by-side
Showing
70 changed files
with
70 additions
and
0 deletions
+70
-0
aac_decode.c
src/aac_decode.c
+1
-0
aac_decode.h
src/aac_decode.h
+1
-0
audio.c
src/audio.c
+1
-0
audio.h
src/audio.h
+1
-0
audiofile_decode.c
src/audiofile_decode.c
+1
-0
audiofile_decode.h
src/audiofile_decode.h
+1
-0
buffer2array.c
src/buffer2array.c
+1
-0
buffer2array.h
src/buffer2array.h
+1
-0
charConv.c
src/charConv.c
+1
-0
charConv.h
src/charConv.h
+1
-0
command.c
src/command.c
+1
-0
command.h
src/command.h
+1
-0
conf.c
src/conf.c
+1
-0
conf.h
src/conf.h
+1
-0
decode.c
src/decode.c
+1
-0
decode.h
src/decode.h
+1
-0
directory.c
src/directory.c
+1
-0
directory.h
src/directory.h
+1
-0
flac_decode.c
src/flac_decode.c
+1
-0
flac_decode.h
src/flac_decode.h
+1
-0
interface.c
src/interface.c
+1
-0
interface.h
src/interface.h
+1
-0
list.c
src/list.c
+1
-0
list.h
src/list.h
+1
-0
listen.c
src/listen.c
+1
-0
listen.h
src/listen.h
+1
-0
log.c
src/log.c
+1
-0
log.h
src/log.h
+1
-0
ls.c
src/ls.c
+1
-0
ls.h
src/ls.h
+1
-0
main.c
src/main.c
+1
-0
mp3_decode.c
src/mp3_decode.c
+1
-0
mp3_decode.h
src/mp3_decode.h
+1
-0
mp4_decode.c
src/mp4_decode.c
+1
-0
mp4_decode.h
src/mp4_decode.h
+1
-0
mpd_types.h
src/mpd_types.h
+1
-0
myfprintf.c
src/myfprintf.c
+1
-0
myfprintf.h
src/myfprintf.h
+1
-0
ogg_decode.c
src/ogg_decode.c
+1
-0
ogg_decode.h
src/ogg_decode.h
+1
-0
path.c
src/path.c
+1
-0
path.h
src/path.h
+1
-0
pcm_utils.c
src/pcm_utils.c
+1
-0
pcm_utils.h
src/pcm_utils.h
+1
-0
permission.c
src/permission.c
+1
-0
permission.h
src/permission.h
+1
-0
player.c
src/player.c
+1
-0
player.h
src/player.h
+1
-0
playerData.c
src/playerData.c
+1
-0
playerData.h
src/playerData.h
+1
-0
playlist.c
src/playlist.c
+1
-0
playlist.h
src/playlist.h
+1
-0
sig_handlers.c
src/sig_handlers.c
+1
-0
sig_handlers.h
src/sig_handlers.h
+1
-0
signal_check.c
src/signal_check.c
+1
-0
signal_check.h
src/signal_check.h
+1
-0
song.c
src/song.c
+1
-0
song.h
src/song.h
+1
-0
stats.c
src/stats.c
+1
-0
stats.h
src/stats.h
+1
-0
tables.c
src/tables.c
+1
-0
tables.h
src/tables.h
+1
-0
tag.c
src/tag.c
+1
-0
tag.h
src/tag.h
+1
-0
utf8.c
src/utf8.c
+1
-0
utf8.h
src/utf8.h
+1
-0
utils.c
src/utils.c
+1
-0
utils.h
src/utils.h
+1
-0
volume.c
src/volume.c
+1
-0
volume.h
src/volume.h
+1
-0
No files found.
src/aac_decode.c
View file @
549344d3
...
...
@@ -432,3 +432,4 @@ int aac_decode(Buffer * cb, AudioFormat * af, DecoderControl * dc) {
}
#endif
/* HAVE_FAAD */
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/aac_decode.h
View file @
549344d3
...
...
@@ -32,3 +32,4 @@ int aac_decode(Buffer * cb, AudioFormat * af, DecoderControl * dc);
#endif
/* HAVE_FAAD */
#endif
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/audio.c
View file @
549344d3
...
...
@@ -220,3 +220,4 @@ void audioError() {
}
#endif
}
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/audio.h
View file @
549344d3
...
...
@@ -48,3 +48,4 @@ void audioError();
int
isCurrentAudioFormat
(
AudioFormat
*
audioFormat
);
#endif
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/audiofile_decode.c
View file @
549344d3
...
...
@@ -147,3 +147,4 @@ int audiofile_decode(Buffer * cb, AudioFormat * af, DecoderControl * dc)
}
#endif
/* HAVE_AUDIOFILE */
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/audiofile_decode.h
View file @
549344d3
...
...
@@ -33,3 +33,4 @@ int getAudiofileTotalTime(char * file);
#endif
/* HAVE_AUDIOFILE */
#endif
/* AUDIOFILE_DECODE_H */
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/buffer2array.c
View file @
549344d3
...
...
@@ -120,3 +120,4 @@ void freeArgArray(char ** array, int argArrayLength) {
}
free
(
array
);
}
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/buffer2array.h
View file @
549344d3
...
...
@@ -26,3 +26,4 @@ int buffer2array(char * buffer, char *** array);
void
freeArgArray
(
char
**
array
,
int
argArrayLength
);
#endif
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/charConv.c
View file @
549344d3
...
...
@@ -147,3 +147,4 @@ void closeCharSetConversion() {
char_conv_use_iconv
=
0
;
}
}
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/charConv.h
View file @
549344d3
...
...
@@ -28,3 +28,4 @@ char * convStrDup(char * string);
void
closeCharSetConversion
();
#endif
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/command.c
View file @
549344d3
...
...
@@ -765,3 +765,4 @@ int proccessListOfCommands(FILE * fp, int * permission, int * expired,
int
processCommand
(
FILE
*
fp
,
unsigned
int
*
permission
,
char
*
commandString
)
{
return
processCommandInternal
(
fp
,
permission
,
commandString
,
NULL
);
}
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/command.h
View file @
549344d3
...
...
@@ -41,3 +41,4 @@ void initCommands();
void
finishCommands
();
#endif
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/conf.c
View file @
549344d3
...
...
@@ -268,3 +268,4 @@ char ** readConf(char * file) {
char
**
getConf
()
{
return
conf_params
;
}
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/conf.h
View file @
549344d3
...
...
@@ -61,3 +61,4 @@ void initConf();
void
writeConf
(
char
*
file
);
#endif
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/decode.c
View file @
549344d3
...
...
@@ -503,3 +503,4 @@ void decode() {
return
;
}
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/decode.h
View file @
549344d3
...
...
@@ -56,3 +56,4 @@ void decodeSigHandler(int sig);
void
decode
();
#endif
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/directory.c
View file @
549344d3
...
...
@@ -1182,3 +1182,4 @@ time_t getDbModTime() {
return
mtime
;
}
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/directory.h
View file @
549344d3
...
...
@@ -70,3 +70,4 @@ Song * getSong(char * file);
time_t
getDbModTime
();
#endif
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/flac_decode.c
View file @
549344d3
...
...
@@ -311,3 +311,4 @@ int flac_decode(Buffer * cb, AudioFormat * af, DecoderControl * dc) {
}
#endif
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/flac_decode.h
View file @
549344d3
...
...
@@ -30,3 +30,4 @@ int flac_decode(Buffer * cb, AudioFormat * af, DecoderControl * dc);
int
getFlacTotalTime
(
char
*
file
);
#endif
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/interface.c
View file @
549344d3
...
...
@@ -649,3 +649,4 @@ void printInterfaceOutBuffer(Interface * interface) {
interface
->
outBuflen
=
0
;
}
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/interface.h
View file @
549344d3
...
...
@@ -38,3 +38,4 @@ int interfacePrintWithFD(int fd, char * buffer);
int
doIOForInterfaces
();
#endif
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/list.c
View file @
549344d3
...
...
@@ -482,3 +482,4 @@ void sortList(List * list) {
quickSort
(
list
->
nodesArray
,
0
,
list
->
numberOfNodes
-
1
);
}
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/list.h
View file @
549344d3
...
...
@@ -102,3 +102,4 @@ void clearList(List * list);
void
sortList
(
List
*
list
);
#endif
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/listen.c
View file @
549344d3
...
...
@@ -184,3 +184,4 @@ void getConnections(int sock) {
}
else
if
(
fd
<
0
)
ERROR
(
"Problems accept()'ing
\n
"
);
}
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/listen.h
View file @
549344d3
...
...
@@ -28,3 +28,4 @@ int establish(unsigned short port);
void
getConnections
(
int
sock
);
#endif
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/log.c
View file @
549344d3
...
...
@@ -37,3 +37,4 @@ void initLog() {
}
else
ERROR
(
"unknown log level
\"
%s
\"\n
"
,
getConf
()[
CONF_LOG_LEVEL
]);
}
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/log.h
View file @
549344d3
...
...
@@ -43,3 +43,4 @@ extern int logLevel;
void
initLog
();
#endif
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/ls.c
View file @
549344d3
...
...
@@ -219,3 +219,4 @@ int isMusic(char * utf8file, time_t * mtime) {
return
0
;
}
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/ls.h
View file @
549344d3
...
...
@@ -49,3 +49,4 @@ int hasFlacSuffix(char * utf8file);
char
*
dupAndStripPlaylistSuffix
(
char
*
file
);
#endif
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/main.c
View file @
549344d3
...
...
@@ -485,3 +485,4 @@ int main(int argc, char * argv[]) {
return
EXIT_SUCCESS
;
}
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/mp3_decode.c
View file @
549344d3
...
...
@@ -569,3 +569,4 @@ int mp3_decode(Buffer * cb, AudioFormat * af, DecoderControl * dc) {
}
#endif
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/mp3_decode.h
View file @
549344d3
...
...
@@ -33,3 +33,4 @@ int mp3_decode(Buffer * cb, AudioFormat * af, DecoderControl * dc);
#endif
#endif
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/mp4_decode.c
View file @
549344d3
...
...
@@ -344,3 +344,4 @@ int mp4_decode(Buffer * cb, AudioFormat * af, DecoderControl * dc) {
}
#endif
/* HAVE_FAAD */
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/mp4_decode.h
View file @
549344d3
...
...
@@ -38,3 +38,4 @@ int mp4_decode(Buffer * cb, AudioFormat * af, DecoderControl * dc);
#endif
/* HAVE_FAAD */
#endif
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/mpd_types.h
View file @
549344d3
...
...
@@ -41,3 +41,4 @@ typedef signed long mpd_sint32;
#endif
#endif
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/myfprintf.c
View file @
549344d3
...
...
@@ -85,3 +85,4 @@ void myfprintf(FILE * fp, char * format, ... ) {
va_end
(
arglist
);
}
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/myfprintf.h
View file @
549344d3
...
...
@@ -28,3 +28,4 @@ void myfprintfStdLogMode(FILE * out, FILE * err);
void
myfprintf
(
FILE
*
fp
,
char
*
format
,
...
);
#endif
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/ogg_decode.c
View file @
549344d3
...
...
@@ -148,3 +148,4 @@ int ogg_decode(Buffer * cb, AudioFormat * af, DecoderControl * dc)
}
#endif
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/ogg_decode.h
View file @
549344d3
...
...
@@ -30,3 +30,4 @@ int ogg_decode(Buffer * cb, AudioFormat * af, DecoderControl * dc);
int
getOggTotalTime
(
char
*
file
);
#endif
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/path.c
View file @
549344d3
...
...
@@ -241,3 +241,4 @@ char * sanitizePathDup(char * path) {
return
realloc
(
ret
,
len
+
1
);
}
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/path.h
View file @
549344d3
...
...
@@ -53,3 +53,4 @@ char * parentPath(char * path);
char
*
sanitizePathDup
(
char
*
path
);
#endif
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/pcm_utils.c
View file @
549344d3
...
...
@@ -136,3 +136,4 @@ void pcm_mix(char * buffer1, char * buffer2, size_t bufferSize1,
pcm_add
(
buffer1
,
buffer2
,
bufferSize1
,
bufferSize2
,
vol1
,
1000
-
vol1
,
format
);
}
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/pcm_utils.h
View file @
549344d3
...
...
@@ -34,3 +34,4 @@ void pcm_mix(char * buffer1, char * buffer2, size_t bufferSize1,
size_t
bufferSize2
,
AudioFormat
*
format
,
float
portion1
);
#endif
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/permission.c
View file @
549344d3
...
...
@@ -139,3 +139,4 @@ void finishPermissions() {
unsigned
int
getDefaultPermissions
()
{
return
permission_default
;
}
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/permission.h
View file @
549344d3
...
...
@@ -35,3 +35,4 @@ void finishPermissions();
unsigned
int
getDefaultPermissions
();
#endif
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/player.c
View file @
549344d3
...
...
@@ -474,3 +474,4 @@ int getPlayerChannels() {
return
pc
->
channels
;
}
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/player.h
View file @
549344d3
...
...
@@ -142,3 +142,4 @@ int getPlayerBits();
int
getPlayerChannels
();
#endif
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/playerData.c
View file @
549344d3
...
...
@@ -130,3 +130,4 @@ PlayerData * getPlayerData() {
void
freePlayerData
()
{
shmdt
(
playerData_pd
);
}
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/playerData.h
View file @
549344d3
...
...
@@ -59,3 +59,4 @@ Buffer * getBuffer();
void
freePlayerData
();
#endif
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/playlist.c
View file @
549344d3
...
...
@@ -1205,3 +1205,4 @@ int seekSongInPlaylist(FILE * fp, int song, float time) {
return
playerSeek
(
fp
,
playlist
.
songs
[
playlist
.
order
[
i
]]
->
utf8file
,
time
);
}
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/playlist.h
View file @
549344d3
...
...
@@ -96,3 +96,4 @@ int seekSongInPlaylist(FILE * fp, int song, float time);
void
incrPlaylistVersion
();
#endif
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/sig_handlers.c
View file @
549344d3
...
...
@@ -120,3 +120,4 @@ void unblockSignals() {
sigaddset
(
&
sset
,
SIGTERM
);
while
(
sigprocmask
(
SIG_UNBLOCK
,
&
sset
,
NULL
)
<
0
&&
errno
==
EINTR
);
}
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/sig_handlers.h
View file @
549344d3
...
...
@@ -38,3 +38,4 @@ void blockTermSignal();
void
unblockTermSignal
();
#endif
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/signal_check.c
View file @
549344d3
...
...
@@ -57,3 +57,4 @@ void signal_clear(int sig)
__caught_signals
[
sig
]
=
0
;
}
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/signal_check.h
View file @
549344d3
...
...
@@ -29,3 +29,4 @@ void signal_clear(int sig);
#endif
/* SIGNAL_CHECK_H */
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/song.c
View file @
549344d3
...
...
@@ -323,3 +323,4 @@ Song * songDup(Song * song) {
return
ret
;
}
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/song.h
View file @
549344d3
...
...
@@ -61,3 +61,4 @@ int updateSongInfo(Song * song);
Song
*
songDup
(
Song
*
song
);
#endif
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/stats.c
View file @
549344d3
...
...
@@ -46,3 +46,4 @@ int printStats(FILE * fp) {
myfprintf
(
fp
,
"db_update: %li
\n
"
,
getDbModTime
());
return
0
;
}
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/stats.h
View file @
549344d3
...
...
@@ -38,3 +38,4 @@ void initStats();
int
printStats
(
FILE
*
fp
);
#endif
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/tables.c
View file @
549344d3
...
...
@@ -197,3 +197,4 @@ int printAllKeysOfTable(FILE * fp, char * table, char * arg1) {
return
-
1
;
}
}
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/tables.h
View file @
549344d3
...
...
@@ -41,3 +41,4 @@ unsigned long numberOfAlbums();
int
printAllKeysOfTable
(
FILE
*
fp
,
char
*
table
,
char
*
arg1
);
#endif
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/tag.c
View file @
549344d3
...
...
@@ -508,3 +508,4 @@ MpdTag * mpdTagDup(MpdTag * tag) {
return
ret
;
}
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/tag.h
View file @
549344d3
...
...
@@ -62,3 +62,4 @@ void printMpdTag(FILE * fp, MpdTag * tag);
MpdTag
*
mpdTagDup
(
MpdTag
*
tag
);
#endif
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/utf8.c
View file @
549344d3
...
...
@@ -128,3 +128,4 @@ unsigned char * utf8StrToLatin1Dup(unsigned char * utf8) {
return
realloc
(
ret
,
len
+
1
);
}
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/utf8.h
View file @
549344d3
...
...
@@ -32,3 +32,4 @@ int validateUtf8Char(unsigned char * utf8Char);
int
validUtf8String
(
unsigned
char
*
string
);
#endif
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/utils.c
View file @
549344d3
...
...
@@ -57,3 +57,4 @@ void my_usleep(long usec) {
select
(
0
,
NULL
,
NULL
,
NULL
,
&
tv
);
}
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/utils.h
View file @
549344d3
...
...
@@ -32,3 +32,4 @@ void stripReturnChar(char * string);
void
my_usleep
(
long
usec
);
#endif
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/volume.c
View file @
549344d3
...
...
@@ -430,3 +430,4 @@ int changeVolumeLevel(FILE * fp, int change, int rel) {
return
-
1
;
}
}
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/volume.h
View file @
549344d3
...
...
@@ -38,3 +38,4 @@ int getVolumeLevel();
int
changeVolumeLevel
(
FILE
*
fp
,
int
change
,
int
rel
);
#endif
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment