]> git.scottworley.com Git - tattlekey/blobdiff - client/press.h
client: create_press() → add_press()
[tattlekey] / client / press.h
index cd34b3df0b48aeb4189e8b9a0b393347121281f6..898bb1a85a4334c3cbb1e83046813100da251aac 100644 (file)
@@ -17,7 +17,9 @@ typedef struct {
 
 press_pile_t *create_press_pile();
 
-void create_press(press_pile_t *pp, uint32_t timestamp, u16_t seq);
+/* Adds this press to the pile.
+ * Copies the contents of `press`. */
+void add_press(press_pile_t *pp, press_t *press);
 
 /* When do we next need to send something (in seconds since boot)?
  * Returns -1 if there's nothing pending. */