diff options
author | John Denker <jsd@av8n.com> | 2012-07-29 16:50:11 -0700 |
---|---|---|
committer | John Denker <jsd@av8n.com> | 2012-07-29 16:50:11 -0700 |
commit | d2564d25e802d1ee3230cf045c4940e836b5c6a2 (patch) | |
tree | ddc7c3feac95d01ccb859596c21f218b122060c5 /tools/utils.h | |
parent | 92280557b6bdde0b3e1d8fa93ba2fae494d5c355 (diff) |
split ltgrey (and libltgrey) off from greylist;
put some utility functions into their own file.
Diffstat (limited to 'tools/utils.h')
-rw-r--r-- | tools/utils.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/utils.h b/tools/utils.h new file mode 100644 index 0000000..450db85 --- /dev/null +++ b/tools/utils.h @@ -0,0 +1,3 @@ +std::string basename(const std::string path); +int prefix(const std::string shorter, const std::string longer); +std::string time_out(const int _ttt); |