Add mpd-indent.sh
Indent the entire tree, hopefully we can keep it indented. git-svn-id: https://svn.musicpd.org/mpd/trunk@4410 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
18
src/path.h
18
src/path.h
@@ -23,32 +23,32 @@
|
||||
|
||||
#include <sys/param.h>
|
||||
|
||||
extern char * musicDir;
|
||||
extern char *musicDir;
|
||||
|
||||
void initPaths();
|
||||
|
||||
void finishPaths();
|
||||
|
||||
char * utf8ToFsCharset(char * str);
|
||||
char *utf8ToFsCharset(char *str);
|
||||
|
||||
char * fsCharsetToUtf8(char * str);
|
||||
char *fsCharsetToUtf8(char *str);
|
||||
|
||||
void setFsCharset(char * charset);
|
||||
void setFsCharset(char *charset);
|
||||
|
||||
char * getFsCharset();
|
||||
char *getFsCharset();
|
||||
|
||||
/* relative music path to absolute music path
|
||||
* char * passed is a static variable, so don't free it
|
||||
*/
|
||||
char * rmp2amp(char * file);
|
||||
char *rmp2amp(char *file);
|
||||
|
||||
/* static char * returned */
|
||||
char * rpp2app(char * file);
|
||||
char *rpp2app(char *file);
|
||||
|
||||
/* static char * returned */
|
||||
char * parentPath(char * path);
|
||||
char *parentPath(char *path);
|
||||
|
||||
/* strips extra "///" and leading "/" and trailing "/" */
|
||||
char * sanitizePathDup(char * path);
|
||||
char *sanitizePathDup(char *path);
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user