aboutsummaryrefslogtreecommitdiff
path: root/event.h
diff options
context:
space:
mode:
Diffstat (limited to 'event.h')
-rw-r--r--event.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/event.h b/event.h
index 638cd20..0254702 100644
--- a/event.h
+++ b/event.h
@@ -13,6 +13,7 @@ struct event_item{
enum event_type type;
i64 timestamp; // always set
char *message,*user,*room;
+ i64 replyid;
i64 num;
};
@@ -26,6 +27,6 @@ struct event_item* event_item_alloc(void);
void event_item_free(struct event_item *event);
void event_emit(const struct event_item *event);
-void event_emit_message(i64 timestamp,const char *message,const char *user,const char *room);
+void event_emit_message(i64 timestamp,const char *message,const char *user,const char *room,i64 replyid);
void event_emit_online(i64 timestamp,const char *user,i64 numonline);
void event_emit_join(i64 timestamp,const char *user,const char *room);