FreeRDP
Loading...
Searching...
No Matches
libfreerdp/core/heartbeat.h
1
20#ifndef FREERDP_LIB_CORE_HEARTBEET_H
21#define FREERDP_LIB_CORE_HEARTBEET_H
22
23#include "rdp.h"
24
25#include <freerdp/heartbeat.h>
26#include <freerdp/freerdp.h>
27#include <freerdp/log.h>
28#include <freerdp/api.h>
29
30#include <winpr/stream.h>
31
32#include "state.h"
33
34WINPR_ATTR_NODISCARD
35FREERDP_LOCAL state_run_t rdp_recv_heartbeat_packet(rdpRdp* rdp, wStream* s);
36
37FREERDP_LOCAL void heartbeat_free(rdpHeartbeat* heartbeat);
38
39WINPR_ATTR_MALLOC(heartbeat_free, 1)
40WINPR_ATTR_NODISCARD
41FREERDP_LOCAL rdpHeartbeat* heartbeat_new(void);
42
43#define HEARTBEAT_TAG FREERDP_TAG("core.heartbeat")
44
45#endif /* FREERDP_LIB_CORE_HEARTBEET_H */