diff options
Diffstat (limited to '')
-rw-r--r-- | src/buffer.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/buffer.h b/src/buffer.h index cb4d245..ff1167f 100644 --- a/src/buffer.h +++ b/src/buffer.h @@ -24,17 +24,17 @@ /* Forward declaration */ struct buffer_s; -extern struct buffer_s *new_buffer(void); -extern void delete_buffer(struct buffer_s *buffptr); -extern size_t buffer_size(struct buffer_s *buffptr); +extern struct buffer_s *new_buffer (void); +extern void delete_buffer (struct buffer_s *buffptr); +extern size_t buffer_size (struct buffer_s *buffptr); /* * Add a new line to the given buffer. The data IS copied into the structure. */ -extern int add_to_buffer(struct buffer_s *buffptr, unsigned char *data, - size_t length); +extern int add_to_buffer (struct buffer_s *buffptr, unsigned char *data, + size_t length); -extern ssize_t read_buffer(int fd, struct buffer_s *buffptr); -extern ssize_t write_buffer(int fd, struct buffer_s *buffptr); +extern ssize_t read_buffer (int fd, struct buffer_s *buffptr); +extern ssize_t write_buffer (int fd, struct buffer_s *buffptr); -#endif /* __BUFFER_H_ */ +#endif /* __BUFFER_H_ */ |