aboutsummaryrefslogtreecommitdiffstats
path: root/include/common.h
diff options
context:
space:
mode:
authorYunchih Chen <yunchih.cat@gmail.com>2018-03-05 10:57:00 +0800
committerYunchih Chen <yunchih.cat@gmail.com>2018-03-05 10:57:00 +0800
commita3fd587346f4f1b8868b0a147c561c55b1b1da38 (patch)
tree7c78ae724e03904fabd5d16c56090baf1c615de3 /include/common.h
parentdd91a91704b76c3f46b841d86f5cedee684e7fa9 (diff)
downloadnfcollect-a3fd587346f4f1b8868b0a147c561c55b1b1da38.tar
nfcollect-a3fd587346f4f1b8868b0a147c561c55b1b1da38.tar.gz
nfcollect-a3fd587346f4f1b8868b0a147c561c55b1b1da38.tar.bz2
nfcollect-a3fd587346f4f1b8868b0a147c561c55b1b1da38.tar.lz
nfcollect-a3fd587346f4f1b8868b0a147c561c55b1b1da38.tar.xz
nfcollect-a3fd587346f4f1b8868b0a147c561c55b1b1da38.tar.zst
nfcollect-a3fd587346f4f1b8868b0a147c561c55b1b1da38.zip
Apply clang-format changes
Diffstat (limited to 'include/common.h')
-rw-r--r--include/common.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/common.h b/include/common.h
index 6030780..bf40ad6 100644
--- a/include/common.h
+++ b/include/common.h
@@ -5,7 +5,8 @@ int nfl_check_file(FILE *f);
int nfl_check_dir(const char *storage_dir);
int nfl_storage_match_index(const char *fn);
const char *nfl_get_filename(const char *dir, int id);
-void nfl_cal_trunk(uint32_t total_size, uint32_t *trunk_cnt, uint32_t *trunk_size);
+void nfl_cal_trunk(uint32_t total_size, uint32_t *trunk_cnt,
+ uint32_t *trunk_size);
void nfl_cal_entries(uint32_t trunk_size, uint32_t *entries_cnt);
-void nfl_format_output(char* output, nflog_entry_t *entry);
+void nfl_format_output(char *output, nflog_entry_t *entry);
int nfl_setup_compression(const char *flag, enum nflog_compression_t *opt);