diff options
Diffstat (limited to 'room.h')
-rw-r--r-- | room.h | 26 |
1 files changed, 26 insertions, 0 deletions
@@ -0,0 +1,26 @@ +#ifndef LIBMC_ROOM_H +#define LIBMC_ROOM_H + +#include <json-c/json_object.h> +#include "session.h" + +#ifdef __cplusplus +extern "C" { +#endif /* } */ + +typedef struct +{ + char *from; + char *to; + char dir; + int limit; + char *filter; +} query_param; + +json_object * get_room_messages(matrix_session *sess, const char *roomid, query_param *param); + +#ifdef __cplusplus +} +#endif + +#endif |