diff options
Diffstat (limited to 'src/client_realm_struct.c')
| -rw-r--r-- | src/client_realm_struct.c | 44 | 
1 files changed, 0 insertions, 44 deletions
| diff --git a/src/client_realm_struct.c b/src/client_realm_struct.c index 5b4477e..4963671 100644 --- a/src/client_realm_struct.c +++ b/src/client_realm_struct.c @@ -59,12 +59,6 @@ ClientRealm_new()      ClientRealm_free(&tmp);      return NULL;    } -  tmp->httpProxyOptions = HttpProxyOptions_new(); -  assert(tmp->httpProxyOptions != NULL); -  if (tmp->httpProxyOptions == NULL) { -    ClientRealm_free(&tmp); -    return NULL; -  }  #ifdef HAVE_LIBDL    tmp->userModule = Module_new();    assert(tmp->userModule != NULL); @@ -110,7 +104,6 @@ ClientRealm_free(ClientRealm** cr)    ClientRealm_set_localDestinationName((*cr), NULL);    ClientRealm_set_clientAddress((*cr), NULL);    ClientRealm_set_masterSslFd((*cr), NULL); -  ClientRealm_set_httpProxyOptions((*cr), NULL);    ClientRealm_set_arOptions((*cr), NULL);    ClientRealm_set_destinationPorts((*cr), NULL);    ClientRealm_set_usersTable((*cr), NULL); @@ -507,26 +500,6 @@ ClientRealm_set_masterSslFd(ClientRealm* cr, SslFd* masterSslFd)  }  /* - * Function name: ClientRealm_set_httpProxyOptions - * Description: Set client realm's http proxy options. - * Arguments: cr - pointer to ClientRealm structure - *            httpProxyOptions - client realm's http proxy options - */ - -void -ClientRealm_set_httpProxyOptions(ClientRealm* cr, HttpProxyOptions* httpProxyOptions) -{ -  assert(cr != NULL); -  if (cr == NULL) { -    return; -  } -  if (cr->httpProxyOptions) { -    HttpProxyOptions_free(&(cr->httpProxyOptions)); -  } -  cr->httpProxyOptions = httpProxyOptions; -} - -/*   * Function name: ClientRealm_set_arOptions   * Description: Set client realm's auto-reconnect options.   * Arguments: cr - pointer to ClientRealm structure @@ -994,23 +967,6 @@ ClientRealm_get_masterSslFd(ClientRealm* cr)  }  /* - * Function name: ClientRealm_get_httpProxyOptions - * Description: Get client realm's http proxy options. - * Arguments: cr - pointer to ClientRealm structure - * Returns: Client realm's http proxy options. - */ - -HttpProxyOptions* -ClientRealm_get_httpProxyOptions(ClientRealm* cr) -{ -  assert(cr != NULL); -  if (cr == NULL) { -    return NULL; -  } -  return cr->httpProxyOptions; -} - -/*   * Function name: ClientRealm_get_arOptions   * Description: Get client realm's auto-reconnect options.   * Arguments: cr - pointer to ClientRealm structure | 
