diff options
author | Todd C. Miller <Todd.Miller@sudo.ws> | 2020-10-26 15:41:47 -0600 |
---|---|---|
committer | Todd C. Miller <Todd.Miller@sudo.ws> | 2020-10-26 15:41:47 -0600 |
commit | 97bb2ad3b0416759702c25210d7f56d4a1eb8a51 (patch) | |
tree | cd097416f7025c0ec78dd47a706a6278d6c8e2bb /include/sudo_eventlog.h | |
parent | 4ba75b503cdea62f99db531718b09f27d1178eb1 (diff) | |
download | sudo-97bb2ad3b0416759702c25210d7f56d4a1eb8a51.tar.gz |
Add an errstr argument to eventlog_alert().
Diffstat (limited to 'include/sudo_eventlog.h')
-rw-r--r-- | include/sudo_eventlog.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sudo_eventlog.h b/include/sudo_eventlog.h index a2b361977..1d3fb5d69 100644 --- a/include/sudo_eventlog.h +++ b/include/sudo_eventlog.h @@ -88,7 +88,7 @@ struct json_container; typedef bool (*eventlog_json_callback_t)(struct json_container *, void *); bool eventlog_accept(const struct eventlog *details, struct timespec *submit_time, eventlog_json_callback_t info_cb, void *info); -bool eventlog_alert(const struct eventlog *details, struct timespec *alert_time, const char *reason); +bool eventlog_alert(const struct eventlog *details, struct timespec *alert_time, const char *reason, const char *errstr); bool eventlog_reject(const struct eventlog *details, const char *reason, struct timespec *submit_time, eventlog_json_callback_t info_cb, void *info); bool eventlog_setconf(struct eventlog_config *conf); void eventlog_free(struct eventlog *evlog); |