summaryrefslogtreecommitdiffstats
path: root/sock_stuff.h
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2009-04-25 06:24:05 +0200
committerGravatar Nikias Bassen2009-04-25 06:24:05 +0200
commitce4b528e203a67cbc3c8c2950b237b8fd1a41bed (patch)
treea349e15739f787bcb4c227f89004fce87f1e8383 /sock_stuff.h
parent25273957cbfa16dc908c4a56f48f2c847d5e7ab2 (diff)
downloadusbmuxd-ce4b528e203a67cbc3c8c2950b237b8fd1a41bed.tar.gz
usbmuxd-ce4b528e203a67cbc3c8c2950b237b8fd1a41bed.tar.bz2
indent -kr -ut
Diffstat (limited to 'sock_stuff.h')
-rw-r--r--sock_stuff.h15
1 files changed, 7 insertions, 8 deletions
diff --git a/sock_stuff.h b/sock_stuff.h
index b9766ba..190f7e1 100644
--- a/sock_stuff.h
+++ b/sock_stuff.h
@@ -3,11 +3,10 @@
#include <stdint.h>
-enum fd_mode
-{
- FD_READ,
- FD_WRITE,
- FD_EXCEPT
+enum fd_mode {
+ FD_READ,
+ FD_WRITE,
+ FD_EXCEPT
};
typedef enum fd_mode fd_mode;
@@ -19,11 +18,11 @@ int check_fd(int fd, fd_mode fdm, unsigned int timeout);
int recv_buf(int fd, void *data, size_t size);
int peek_buf(int fd, void *data, size_t size);
-int recv_buf_timeout(int fd, void *data, size_t size, int flags, unsigned int timeout);
+int recv_buf_timeout(int fd, void *data, size_t size, int flags,
+ unsigned int timeout);
int send_buf(int fd, void *data, size_t size);
void sock_stuff_set_verbose(int level);
-#endif /* __SOCK_STUFF_H */
-
+#endif /* __SOCK_STUFF_H */