mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-22 16:20:52 +01:00
16 lines
666 B
Erlang
16 lines
666 B
Erlang
|
-type conn_param() :: {binary(), binary(), inet:port_number(), binary()} |
|
||
|
{binary(), binary(), inet:port_number()} |
|
||
|
{binary(), binary()} |
|
||
|
{binary()}.
|
||
|
|
||
|
-type irc_data() :: [{username, binary()} | {connections_params, [conn_param()]}].
|
||
|
|
||
|
-record(irc_connection,
|
||
|
{jid_server_host = {#jid{}, <<"">>, <<"">>} :: {jid(), binary(), binary()},
|
||
|
pid = self() :: pid()}).
|
||
|
|
||
|
-record(irc_custom,
|
||
|
{us_host = {{<<"">>, <<"">>}, <<"">>} :: {{binary(), binary()},
|
||
|
binary()},
|
||
|
data = [] :: irc_data()}).
|