34 #ifndef GRPC_SUPPORT_HOST_PORT_H
35 #define GRPC_SUPPORT_HOST_PORT_H
GPRAPI int gpr_split_host_port(const char *name, char **host, char **port)
Given a name in the form "host:port" or "[ho:st]:port", split into hostname and port number...
GPRAPI int gpr_join_host_port(char **out, const char *host, int port)
Given a host and port, creates a newly-allocated string of the form "host:port" or "[ho:st]:port"...