summaryrefslogtreecommitdiff
path: root/device.h
blob: 69bc43c0ce1653984eb5912ecc7ae564447fc81a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#pragma once

#include "session.h"

#ifdef __cplusplus
extern "C" {
#endif /* } */

typedef struct
{
	char *device_id;
	char *display_name;
	char *last_seen_ip;
	int64_t last_seen_ts;
} matrix_device;

matrix_device * get_devices(matrix_session *sess, int *n);

#ifdef __cplusplus
}
#endif