chiark / gitweb /
Merge event scheduling implementation. This fixes defect #6,
[disorder] / lib / client.h
index a58114db5c1454f1ff318ac83693f2eca6520cff..abadef6691ee0d9d807efd3f7ef950510f3a67c5 100644 (file)
@@ -1,6 +1,6 @@
 /*
  * This file is part of DisOrder.
- * Copyright (C) 2004, 2005, 2006, 2007 Richard Kettlewell
+ * Copyright (C) 2004-2008 Richard Kettlewell
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -20,7 +20,7 @@
 /** @file lib/client.h
  * @brief Simple C client
  *
- * See @file lib/eclient.h for an asynchronous-capable client
+ * See @ref lib/eclient.h for an asynchronous-capable client
  * implementation.
  */
 
@@ -113,6 +113,18 @@ int disorder_register(disorder_client *c, const char *user,
                      char **confirmp);
 int disorder_confirm(disorder_client *c, const char *confirm);
 int disorder_make_cookie(disorder_client *c, char **cookiep);
+const char *disorder_last(disorder_client *c);
+int disorder_revoke(disorder_client *c);
+int disorder_reminder(disorder_client *c, const char *user);
+int disorder_schedule_list(disorder_client *c, char ***idsp, int *nidsp);
+int disorder_schedule_del(disorder_client *c, const char *id);
+int disorder_schedule_get(disorder_client *c, const char *id,
+                         struct kvp **actiondatap);
+int disorder_schedule_add(disorder_client *c,
+                         time_t when,
+                         const char *priority,
+                         const char *action,
+                         ...);
 
 #endif /* CLIENT_H */