aboutsummaryrefslogtreecommitdiffstats
path: root/configd/src/apps/sentinel/status-callback.h
blob: b9a925ca0addff76fe2308732cb4067decab839d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Copyright Vespa.ai. 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;
protected:
    ~StatusCallback() = default;
};

}