#include <notify.h>
|
| | Notify (const char *spec) |
| |
| int | notify (const char *tag, const char *s,...) |
| |
Definition at line 37 of file notify.h.
◆ Notify()
| tools::Notify::Notify |
( |
const char * |
spec | ) |
|
Definition at line 47 of file notify.cpp.
51 boost::split(args, spec, boost::is_any_of(
" \t"), boost::token_compress_on);
53 if (strchr(spec,
'\'') || strchr(spec,
'\"') || strchr(spec,
'\\'))
54 MWARNING(
"A notification spec contains a quote or backslash: note that these are handled verbatim, which may not be the intent");
#define CHECK_AND_ASSERT_THROW_MES(expr, message)
bool is_file_exist(const std::string &path)
◆ notify()
| int tools::Notify::notify |
( |
const char * |
tag, |
|
|
const char * |
s, |
|
|
|
... |
|
) |
| |
Definition at line 65 of file notify.cpp.
67 std::vector<std::string> margs = args;
69 replace(margs, tag, s);
73 while ((tag = va_arg(ap,
const char*)))
75 s = va_arg(ap,
const char*);
76 replace(margs, tag, s);
The documentation for this class was generated from the following files:
- /home/abuild/rpmbuild/BUILD/electroneum-5.0.0.4/src/common/notify.h
- /home/abuild/rpmbuild/BUILD/electroneum-5.0.0.4/src/common/notify.cpp