X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/58d2aad26bc5a3059ee362a251024a2d470e63a1..ad492e00c1aafb3aec7c385e1a29606742433e7e:/lib/eclient.h diff --git a/lib/eclient.h b/lib/eclient.h index 1d1b301..be5730c 100644 --- a/lib/eclient.h +++ b/lib/eclient.h @@ -24,6 +24,8 @@ #ifndef ECLIENT_H #define ECLIENT_H +#include "rights.h" + /* Asynchronous client interface */ /** @brief Handle type */ @@ -162,6 +164,9 @@ typedef struct disorder_eclient_log_callbacks { /** @brief Called when a user is edited (admins only) */ void (*user_edit)(void *v, const char *user, const char *property); + + /** @brief Called when your rights change */ + void (*rights_changed)(void *v, rights_type new_rights); } disorder_eclient_log_callbacks; /* State bits */