Proxy.h 977 B

12345678910111213141516171819202122232425
  1. /*******************************************************************************
  2. * Copyright (c) 2009, 2021 Diehl Metering.
  3. *
  4. * All rights reserved. This program and the accompanying materials
  5. * are made available under the terms of the Eclipse Public License v2.0
  6. * and Eclipse Distribution License v1.0 which accompany this distribution.
  7. *
  8. * The Eclipse Public License is available at
  9. * https://www.eclipse.org/legal/epl-2.0/
  10. * and the Eclipse Distribution License is available at
  11. * http://www.eclipse.org/org/documents/edl-v10.php.
  12. *
  13. * Contributors:
  14. * Sven Gambel - move WebSocket proxy support to generic proxy support
  15. *******************************************************************************/
  16. #if !defined(PROXY_H)
  17. #define PROXY_H
  18. #include "Clients.h"
  19. /* Notify the IP address and port of the endpoint to proxy, and wait connection to endpoint */
  20. int Proxy_connect(networkHandles *net, int ssl, const char *hostname );
  21. #endif /* PROXY_H */