1 #ifndef OPAL_ZRTP_OPALZRTP_H
2 #define OPAL_ZRTP_OPALZRTP_H
12 #include <zrtp/zrtpeventproc.h>
14 namespace PWLibStupidLinkerHacks {
15 extern int libZRTPLoader;
20 static bool Init(
char *name,
char *zidFile);
21 static bool Init(OpalZrtp *opalZrtp);
24 static zrtp_global_ctx *GetZrtpContext();
25 static unsigned char *GetZID();
32 virtual unsigned char *DoGetZID();
33 virtual zrtp_global_ctx *DoGetZrtpContext();
34 virtual bool DoInit(
char *name,
char *zidFile);
37 static OpalZrtp *instance;
43 class OpalZRTPStreamInfo {
45 virtual bool Open() = 0;
53 class OpalZRTPConnectionInfo {
55 virtual bool Open() = 0;
67 #endif // OPAL_ZRTP_OPALZRTP_H