Document of c-modernization-kit (porter) 1.0.0
Loading...
Searching...
No Matches
potrHealthThread.h
Go to the documentation of this file.
1
16
17#ifndef POTR_HEALTH_THREAD_H
18#define POTR_HEALTH_THREAD_H
19
20#include "../potrContext.h"
21
22#ifdef __cplusplus
23extern "C"
24{
25#endif /* __cplusplus */
26
27 /* 非 TCP 用ヘルスチェックスレッド (単一スレッド) */
28 extern int potr_health_thread_start(struct PotrContext_ *ctx);
29 extern int potr_health_thread_stop(struct PotrContext_ *ctx);
30
31 /* TCP 用ヘルスチェックスレッド (path ごと) */
32 extern int potr_tcp_health_thread_start(struct PotrContext_ *ctx, int path_idx);
33 extern int potr_tcp_health_thread_stop(struct PotrContext_ *ctx, int path_idx);
34
35#ifdef __cplusplus
36}
37#endif /* __cplusplus */
38
39#endif /* POTR_HEALTH_THREAD_H */
セッションコンテキスト内部定義ヘッダー。
int potr_tcp_health_thread_stop(struct PotrContext_ *ctx, int path_idx)
TCP ヘルスチェックスレッドを停止します。
int potr_health_thread_start(struct PotrContext_ *ctx)
非 TCP ヘルスチェックスレッドを起動します。
int potr_health_thread_stop(struct PotrContext_ *ctx)
非 TCP ヘルスチェックスレッドを停止します。
int potr_tcp_health_thread_start(struct PotrContext_ *ctx, int path_idx)
TCP ヘルスチェックスレッドを path ごとに起動します。
セッションコンテキスト構造体。PotrHandle の実体。