X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/7751df38d656c9cf06fa8b545420303e69e72528..59cf25c47fbda22f3f4e14399f0436cc6ed2c56f:/server/schedule.c diff --git a/server/schedule.c b/server/schedule.c index 2e5887d..088229e 100644 --- a/server/schedule.c +++ b/server/schedule.c @@ -95,6 +95,9 @@ static const char *const schedule_required[] = {"when", "who", "action"}; /** @brief Parse a scheduled event key and data * @param k Pointer to key + * @param d Pointer to data + * @param idp Where to store event ID + * @param actiondatap Where to store parsed data * @param whenp Where to store timestamp * @return 0 on success, non-0 on error * @@ -225,8 +228,9 @@ void schedule_init(ev_source *ev) { /******************************************************************************/ /** @brief Create a scheduled event - * @param ev Event loop + * @param id Event ID * @param actiondata Action data + * @param tid Containing transaction */ static int schedule_add_tid(const char *id, struct kvp *actiondata, @@ -416,6 +420,7 @@ static struct { }; /** @brief Look up a scheduled event + * @param id Event ID * @param actiondata Event description * @return index in schedule_actions[] on success, -1 on error *