-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathcheck_h323_tls.h
55 lines (44 loc) · 1004 Bytes
/
check_h323_tls.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
/*
* check_h323_tls.h - A H.323 over TLS monitoring plugin
*
* License: GPL
*
* (c) Relaxed Communications GmbH, 2021
* jan@willamowius.de, https://www.willamowius.com
*
*/
#ifndef CHECK_H323_TLS_H
#define CHECK_H323_TLS_H
#include <ptlib.h>
#include <ptlib/sockets.h>
#include <h323.h>
#define MAJOR_VERSION 1
#define MINOR_VERSION 0
#define BUILD_TYPE ReleaseCode
#define BUILD_NUMBER 0
class CheckH323TLSEndpoint : public H323EndPoint
{
public:
CheckH323TLSEndpoint();
~CheckH323TLSEndpoint();
#ifdef H323_TLS
virtual void OnSecureSignallingChannel(bool isSecured);
#endif
virtual void OnGatekeeperConfirm();
virtual void OnGatekeeperReject();
virtual void OnRegistrationReject();
PBoolean Initialise(PArgList &);
protected:
PString host;
PTime startTime;
};
class CheckH323TLSProcess : public PProcess
{
public:
CheckH323TLSProcess();
~CheckH323TLSProcess();
void Main();
protected:
CheckH323TLSEndpoint *endpoint;
};
#endif