mirror of
https://dev.iopsys.eu/bbf/icwmp.git
synced 2025-12-10 07:44:41 +01:00
14 lines
415 B
C
14 lines
415 B
C
#ifndef HEARTBEAT_H
|
|
#define HEARTBEAT_H
|
|
|
|
#include <stdbool.h>
|
|
extern pthread_mutex_t mutex_heartbeat;
|
|
extern pthread_mutex_t mutex_heartbeat_session;
|
|
extern pthread_cond_t threshold_heartbeat_session;
|
|
extern pthread_cond_t threasheld_retry_session;
|
|
extern int heart_beat_retry_count_session;
|
|
extern bool old_heartbeat_enable;
|
|
|
|
void *thread_heartbeat_session(void *v);
|
|
void check_trigger_heartbeat_session();
|
|
#endif
|