mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 09:36:46 +00:00
FS-5575 --resolve
This commit is contained in:
@@ -9,6 +9,20 @@ void eslSetLogLevel(int level)
|
||||
esl_global_set_default_logger(level);
|
||||
}
|
||||
|
||||
ESLconnection::ESLconnection(const char *host, const int port, const char *password)
|
||||
{
|
||||
connection_construct_common();
|
||||
|
||||
esl_connect(&handle, host, port, NULL, password);
|
||||
}
|
||||
|
||||
ESLconnection::ESLconnection(const char *host, const int port, const char *user, const char *password)
|
||||
{
|
||||
connection_construct_common();
|
||||
|
||||
esl_connect(&handle, host, port, user, password);
|
||||
}
|
||||
|
||||
ESLconnection::ESLconnection(const char *host, const char *port, const char *password)
|
||||
{
|
||||
connection_construct_common();
|
||||
|
@@ -74,6 +74,8 @@ class ESLconnection {
|
||||
private:
|
||||
esl_handle_t handle;
|
||||
public:
|
||||
ESLconnection(const char *host, const int port, const char *user, const char *password);
|
||||
ESLconnection(const char *host, const int port, const char *password);
|
||||
ESLconnection(const char *host, const char *port, const char *user, const char *password);
|
||||
ESLconnection(const char *host, const char *port, const char *password);
|
||||
ESLconnection(int socket);
|
||||
|
Reference in New Issue
Block a user