diff options
Diffstat (limited to 'db.h')
-rw-r--r-- | db.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -60,7 +60,7 @@ bool db_add_token(i64 userid,const char *token); bool db_delete_token(i64 userid,const char *token); i64 db_create_message(i64 roomid,i64 userid,i64 timestamp,const char *message); // returns msgid -struct db_message_list db_get_messages(i64 roomid,i64 count); // gets latest `count` messages +struct db_message_list db_get_messages(i64 roomid,i64 count); // gets latest `count` messages in rev. chron. order // if beforeid<0, same as db_get_messages struct db_message_list db_get_messages_before(i64 roomid,i64 count,i64 beforeid); |