X-Git-Url: https://git.octo.it/?a=blobdiff_plain;ds=sidebyside;f=src%2Fdaemon%2Futils_tail.h;h=73a6de215b8bcd7848c28f07a4bee2803e89312c;hb=936c450a86c841eea89888c8550c9118fae90c25;hp=6fb701336beed73a16c479ecbb50e9bd94bb9388;hpb=77ad300d75ce59bf4d49d839a2af72e90590033c;p=collectd.git diff --git a/src/daemon/utils_tail.h b/src/daemon/utils_tail.h index 6fb70133..73a6de21 100644 --- a/src/daemon/utils_tail.h +++ b/src/daemon/utils_tail.h @@ -47,7 +47,7 @@ typedef int tailfunc_t(void *data, char *buf, int buflen); * PARAMETERS * `file' The name of the file to be tailed. */ -cu_tail_t *cu_tail_create (const char *file); +cu_tail_t *cu_tail_create(const char *file); /* * cu_tail_destroy @@ -57,7 +57,7 @@ cu_tail_t *cu_tail_create (const char *file); * * Returns 0 when successful and non-zero otherwise. */ -int cu_tail_destroy (cu_tail_t *obj); +int cu_tail_destroy(cu_tail_t *obj); /* * cu_tail_readline @@ -73,7 +73,7 @@ int cu_tail_destroy (cu_tail_t *obj); * * Returns 0 when successful and non-zero otherwise. */ -int cu_tail_readline (cu_tail_t *obj, char *buf, int buflen); +int cu_tail_readline(cu_tail_t *obj, char *buf, int buflen); /* * cu_tail_readline @@ -82,7 +82,7 @@ int cu_tail_readline (cu_tail_t *obj, char *buf, int buflen); * * Returns 0 when successful and non-zero otherwise. */ -int cu_tail_read (cu_tail_t *obj, char *buf, int buflen, tailfunc_t *callback, - void *data); +int cu_tail_read(cu_tail_t *obj, char *buf, int buflen, tailfunc_t *callback, + void *data); #endif /* UTILS_TAIL_H */