diff options
Diffstat (limited to 'configd/src/apps/sentinel/status-callback.h')
-rw-r--r-- | configd/src/apps/sentinel/status-callback.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/configd/src/apps/sentinel/status-callback.h b/configd/src/apps/sentinel/status-callback.h new file mode 100644 index 00000000000..53a3185623b --- /dev/null +++ b/configd/src/apps/sentinel/status-callback.h @@ -0,0 +1,13 @@ +// Copyright Verizon Media. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. + +#pragma once + +namespace config::sentinel { + +/** very simple callback API with "ok" or "not ok" status only */ +struct StatusCallback { + virtual void returnStatus(bool ok) = 0; + virtual ~StatusCallback(); +}; + +} |