diff options
author | Nikias Bassen | 2009-04-25 06:24:05 +0200 |
---|---|---|
committer | Nikias Bassen | 2009-04-25 06:24:05 +0200 |
commit | ce4b528e203a67cbc3c8c2950b237b8fd1a41bed (patch) | |
tree | a349e15739f787bcb4c227f89004fce87f1e8383 /sock_stuff.h | |
parent | 25273957cbfa16dc908c4a56f48f2c847d5e7ab2 (diff) | |
download | usbmuxd-ce4b528e203a67cbc3c8c2950b237b8fd1a41bed.tar.gz usbmuxd-ce4b528e203a67cbc3c8c2950b237b8fd1a41bed.tar.bz2 |
indent -kr -ut
Diffstat (limited to 'sock_stuff.h')
-rw-r--r-- | sock_stuff.h | 15 |
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 */ |