GFXprim
2D bitmap graphics library with emphasis on speed and correctness
Loading...
Searching...
No Matches
Functions
gp_proxy_conn.h File Reference

A proxy backend connection. More...

Go to the source code of this file.

Functions

int gp_proxy_server_init (const char *conn_path)
 Start a proxy backend sever.
 
int gp_proxy_client_connect (const char *conn_path)
 Connects to a proxy backend sever.
 

Detailed Description

A proxy backend connection.

Definition in file gp_proxy_conn.h.

Function Documentation

◆ gp_proxy_client_connect()

int gp_proxy_client_connect ( const char *  conn_path)

Connects to a proxy backend sever.

Connects to an UNIX socket. This is a low level API the gp_proxy_init() is build on.

Parameters
conn_pathPath to an UNIX socket, pass NULL for default.
Returns
A file descriptor.

◆ gp_proxy_server_init()

int gp_proxy_server_init ( const char *  conn_path)

Start a proxy backend sever.

Creates a UNIX socket and starts listening for application connections.

Parameters
conn_pathPath to an UNIX socket, pass NULL for default.
Returns
A file descriptor.