Add mpd-indent.sh

Add a few new options for indent to try to make
things a bit cleaner

git-svn-id: https://svn.musicpd.org/mpd/trunk@4411 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
Avuton Olrich
2006-07-20 18:53:56 +00:00
parent 29a25b9933
commit 00e67be7c9
25 changed files with 59 additions and 56 deletions

View File

@@ -65,9 +65,9 @@ typedef struct _Interface {
char buffer[INTERFACE_MAX_BUFFER_LENGTH];
int bufferLength;
int bufferPos;
int fd; /* file descriptor */
FILE *fp; /* file pointer */
int open; /* open/used */
int fd; /* file descriptor */
FILE *fp; /* file pointer */
int open; /* open/used */
int permission;
time_t lastTime;
List *commandList; /* for when in list mode */
@@ -75,9 +75,9 @@ typedef struct _Interface {
size_t commandListSize; /* mem commandList consumes */
List *bufferList; /* for output if client is slow */
size_t outputBufferSize; /* mem bufferList consumes */
int expired; /* set whether this interface should be closed on next
check of old interfaces */
int num; /* interface number */
int expired; /* set whether this interface should be closed on next
check of old interfaces */
int num; /* interface number */
char *outBuffer;
int outBuflen;
int outBufSize;