Blame include/freerdp/heartbeat.h
|
Packit Service |
b1ea74 |
/**
|
|
Packit Service |
b1ea74 |
* FreeRDP: A Remote Desktop Protocol Implementation
|
|
Packit Service |
b1ea74 |
* Heartbeat PDUs
|
|
Packit Service |
b1ea74 |
*
|
|
Packit Service |
b1ea74 |
* Copyright 2014 Dell Software <Mike.McDonald@software.dell.com>
|
|
Packit Service |
b1ea74 |
*
|
|
Packit Service |
b1ea74 |
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
Packit Service |
b1ea74 |
* you may not use this file except in compliance with the License.
|
|
Packit Service |
b1ea74 |
* You may obtain a copy of the License at
|
|
Packit Service |
b1ea74 |
*
|
|
Packit Service |
b1ea74 |
* http://www.apache.org/licenses/LICENSE-2.0
|
|
Packit Service |
b1ea74 |
*
|
|
Packit Service |
b1ea74 |
* Unless required by applicable law or agreed to in writing, software
|
|
Packit Service |
b1ea74 |
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
Packit Service |
b1ea74 |
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
Packit Service |
b1ea74 |
* See the License for the specific language governing permissions and
|
|
Packit Service |
b1ea74 |
* limitations under the License.
|
|
Packit Service |
b1ea74 |
*/
|
|
Packit Service |
b1ea74 |
|
|
Packit Service |
b1ea74 |
#ifndef FREERDP_HEARTBEAT_H
|
|
Packit Service |
b1ea74 |
#define FREERDP_HEARTBEAT_H
|
|
Packit Service |
b1ea74 |
|
|
Packit Service |
b1ea74 |
#include <freerdp/types.h>
|
|
Packit Service |
b1ea74 |
|
|
Packit Service |
b1ea74 |
typedef struct rdp_heartbeat rdpHeartbeat;
|
|
Packit Service |
b1ea74 |
|
|
Packit Service |
b1ea74 |
typedef BOOL (*pServerHeartbeat)(freerdp* instance, BYTE period, BYTE count1, BYTE count2);
|
|
Packit Service |
b1ea74 |
|
|
Packit Service |
b1ea74 |
struct rdp_heartbeat
|
|
Packit Service |
b1ea74 |
{
|
|
Packit Service |
b1ea74 |
pServerHeartbeat ServerHeartbeat;
|
|
Packit Service |
b1ea74 |
};
|
|
Packit Service |
b1ea74 |
|
|
Packit Service |
b1ea74 |
#ifdef __cplusplus
|
|
Packit Service |
b1ea74 |
extern "C"
|
|
Packit Service |
b1ea74 |
{
|
|
Packit Service |
b1ea74 |
#endif
|
|
Packit Service |
b1ea74 |
|
|
Packit Service |
b1ea74 |
FREERDP_API BOOL freerdp_heartbeat_send_heartbeat_pdu(freerdp_peer* peer, BYTE period,
|
|
Packit Service |
b1ea74 |
BYTE count1, BYTE count2);
|
|
Packit Service |
b1ea74 |
|
|
Packit Service |
b1ea74 |
#ifdef __cplusplus
|
|
Packit Service |
b1ea74 |
}
|
|
Packit Service |
b1ea74 |
#endif
|
|
Packit Service |
b1ea74 |
|
|
Packit Service |
b1ea74 |
#endif /* FREERDP_HEARTBEAT_H */
|