aboutsummaryrefslogtreecommitdiffstats
path: root/src/dbUtils.h
diff options
context:
space:
mode:
authorAvuton Olrich <avuton@gmail.com>2006-07-20 16:02:40 +0000
committerAvuton Olrich <avuton@gmail.com>2006-07-20 16:02:40 +0000
commit29a25b9933b32800f58dd73d5d1fc21993071c92 (patch)
tree4f456a6f8e44d42acc289c35534ea3e59c0aa96f /src/dbUtils.h
parent099f0e103f7591eef81183292d704b3a77a99018 (diff)
downloadmpd-29a25b9933b32800f58dd73d5d1fc21993071c92.tar.gz
mpd-29a25b9933b32800f58dd73d5d1fc21993071c92.tar.xz
mpd-29a25b9933b32800f58dd73d5d1fc21993071c92.zip
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
Diffstat (limited to '')
-rw-r--r--src/dbUtils.h32
1 files changed, 15 insertions, 17 deletions
diff --git a/src/dbUtils.h b/src/dbUtils.h
index 9a87d7080..e0d306fd0 100644
--- a/src/dbUtils.h
+++ b/src/dbUtils.h
@@ -27,41 +27,39 @@
typedef struct _LocateTagItem {
mpd_sint8 tagType;
/* what we are looking for */
- char * needle;
+ char *needle;
} LocateTagItem;
-int getLocateTagItemType(char * str);
+int getLocateTagItemType(char *str);
/* returns NULL if not a known type */
-LocateTagItem * newLocateTagItem(char * typeString, char * needle);
+LocateTagItem *newLocateTagItem(char *typeString, char *needle);
/* return number of items or -1 on error */
-int newLocateTagItemArrayFromArgArray(char * argArray[], int numArgs,
- LocateTagItem ** arrayRet);
-
+int newLocateTagItemArrayFromArgArray(char *argArray[], int numArgs,
+ LocateTagItem ** arrayRet);
void freeLocateTagItemArray(int count, LocateTagItem * array);
void freeLocateTagItem(LocateTagItem * item);
-int printAllIn(FILE * fp, char * name);
+int printAllIn(FILE * fp, char *name);
-int addAllIn(FILE * fp, char * name);
+int addAllIn(FILE * fp, char *name);
-int printInfoForAllIn(FILE * fp, char * name);
+int printInfoForAllIn(FILE * fp, char *name);
-int searchForSongsIn(FILE * fp, char * name, int numItems,
- LocateTagItem * items);
+int searchForSongsIn(FILE * fp, char *name, int numItems,
+ LocateTagItem * items);
-int findSongsIn(FILE * fp, char * name, int numItems,
- LocateTagItem * items);
+int findSongsIn(FILE * fp, char *name, int numItems, LocateTagItem * items);
-int countSongsIn(FILE * fp, char * name);
+int countSongsIn(FILE * fp, char *name);
-unsigned long sumSongTimesIn(FILE * fp, char * name);
+unsigned long sumSongTimesIn(FILE * fp, char *name);
-int listAllUniqueTags(FILE * fp, int type, int numConditiionals,
- LocateTagItem * conditionals);
+int listAllUniqueTags(FILE * fp, int type, int numConditiionals,
+ LocateTagItem * conditionals);
void printSavedMemoryFromFilenames();