1-ifndef(IBROWSE_HRL).
2-define(IBROWSE_HRL, "ibrowse.hrl").
3
4-record(url, {
5          abspath,
6          host,
7          port,
8          username,
9          password,
10          path,
11          protocol,
12          host_type  % 'hostname', 'ipv4_address' or 'ipv6_address'
13}).
14
15-record(lb_pid, {host_port, pid, ets_tid}).
16
17-record(client_conn, {key, cur_pipeline_size = 0, reqs_served = 0}).
18
19-record(ibrowse_conf, {key, value}).
20
21-define(CONNECTIONS_LOCAL_TABLE, ibrowse_lb).
22-define(LOAD_BALANCER_NAMED_TABLE, ibrowse_lb).
23-define(CONF_TABLE, ibrowse_conf).
24-define(STREAM_TABLE, ibrowse_stream).
25
26-endif.
27