diff options
author | Iru Cai <mytbk920423@gmail.com> | 2018-06-29 13:44:41 +0800 |
---|---|---|
committer | Iru Cai <mytbk920423@gmail.com> | 2018-06-29 13:44:41 +0800 |
commit | 40164b64876f25c9cf53b2b288dabc91e23551d0 (patch) | |
tree | 041c35001b8d091cc7bf8ad8219bc174545ba152 /room.h | |
parent | 1719796a3a10eccf91eadb38c019829110e96294 (diff) | |
download | matrix-curl-40164b64876f25c9cf53b2b288dabc91e23551d0.tar.xz |
room/message
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 |