summaryrefslogtreecommitdiff
path: root/src/client_realm_struct.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/client_realm_struct.h')
-rw-r--r--src/client_realm_struct.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/client_realm_struct.h b/src/client_realm_struct.h
index 69737db..d4d5c2b 100644
--- a/src/client_realm_struct.h
+++ b/src/client_realm_struct.h
@@ -23,6 +23,7 @@
#include "http_proxy_options_struct.h"
#include "ar_options_struct.h"
#include "module_struct.h"
+#include "port_list_struct.h"
#ifndef _JS_CLIENT_REALM_STRUCT_H
#define _JS_CLIENT_REALM_STRUCT_H
@@ -42,7 +43,6 @@ typedef struct {
char* serverName;
char* managePort;
char* hostName;
- char* destinationPort;
char* realmName;
char* sKeepAliveTimeout;
char* realmId;
@@ -63,6 +63,7 @@ typedef struct {
SslFd* masterSslFd;
HttpProxyOptions* httpProxyOptions;
ArOptions* arOptions;
+ PortList* destinationPorts;
ConnectUser** usersTable;
#ifdef HAVE_LIBDL
Module* userModule;
@@ -78,7 +79,6 @@ void ClientRealm_free(ClientRealm** cr);
void ClientRealm_set_serverName(ClientRealm* cr, char* serverName);
void ClientRealm_set_managePort(ClientRealm* cr, char* managePort);
void ClientRealm_set_hostName(ClientRealm* cr, char* hostName);
-void ClientRealm_set_destinationPort(ClientRealm* cr, char* destinationPort);
void ClientRealm_set_realmName(ClientRealm* cr, char* realmName);
void ClientRealm_set_sKeepAliveTimeout(ClientRealm* cr, char* sKeepAliveTimeout);
void ClientRealm_set_realmId(ClientRealm* cr, char* realmId);
@@ -99,6 +99,7 @@ void ClientRealm_set_clientAddress(ClientRealm* cr, struct sockaddr* clientAddre
void ClientRealm_set_masterSslFd(ClientRealm* cr, SslFd* masterSslFd);
void ClientRealm_set_httpProxyOptions(ClientRealm* cr, HttpProxyOptions* httpProxyOptions);
void ClientRealm_set_arOptions(ClientRealm* cr, ArOptions* arOptions);
+void ClientRealm_set_destinationPorts(ClientRealm* cr, PortList* destinationPorts);
void ClientRealm_set_usersTable(ClientRealm* cr, ConnectUser** usersTable);
#ifdef HAVE_LIBDL
void ClientRealm_set_userModule(ClientRealm* cr, Module* userModule);
@@ -108,7 +109,6 @@ void ClientRealm_set_serviceModule(ClientRealm* cr, Module* serviceModule);
char* ClientRealm_get_serverName(ClientRealm* cr);
char* ClientRealm_get_managePort(ClientRealm* cr);
char* ClientRealm_get_hostName(ClientRealm* cr);
-char* ClientRealm_get_destinationPort(ClientRealm* cr);
char* ClientRealm_get_realmName(ClientRealm* cr);
char* ClientRealm_get_sKeepAliveTimeout(ClientRealm* cr);
char* ClientRealm_get_realmId(ClientRealm* cr);
@@ -129,6 +129,7 @@ struct sockaddr* ClientRealm_get_clientAddress(ClientRealm* cr);
SslFd* ClientRealm_get_masterSslFd(ClientRealm* cr);
HttpProxyOptions* ClientRealm_get_httpProxyOptions(ClientRealm* cr);
ArOptions* ClientRealm_get_arOptions(ClientRealm* cr);
+PortList* ClientRealm_get_destinationPorts(ClientRealm* cr);
ConnectUser** ClientRealm_get_usersTable(ClientRealm* cr);
#ifdef HAVE_LIBDL
Module* ClientRealm_get_userModule(ClientRealm* cr);
@@ -139,5 +140,7 @@ void ClientRealm_increase_connectedUsers(ClientRealm* cr);
void ClientRealm_decrease_connectedUsers(ClientRealm* cr);
void ClientRealm_closeUsersConnections(ClientRealm* cr);
struct timeval* ClientRealm_get_keepAlivePointer(ClientRealm* cr);
+void ClientRealm_send_realmId(ClientRealm* cr, unsigned char* buff);
+void ClientRealm_enable_multi(ClientRealm* cr);
#endif