aboutsummaryrefslogtreecommitdiff
path: root/mod/mod-ci-github.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'mod/mod-ci-github.hxx')
-rw-r--r--mod/mod-ci-github.hxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/mod/mod-ci-github.hxx b/mod/mod-ci-github.hxx
index a869878..c29a967 100644
--- a/mod/mod-ci-github.hxx
+++ b/mod/mod-ci-github.hxx
@@ -35,6 +35,14 @@ namespace brep
virtual void
init (cli::scanner&);
+ bool
+ respond (response&, status_code, const string& message);
+
+ bool
+ handle_webhook (request&,
+ const std::optional<std::string>& github_event,
+ response&);
+
private:
shared_ptr<options::ci> options_;
};