diff options
| author | Simon MacMullen <simon@rabbitmq.com> | 2010-06-24 12:55:50 +0100 |
|---|---|---|
| committer | Simon MacMullen <simon@rabbitmq.com> | 2010-06-24 12:55:50 +0100 |
| commit | f8ece9ffd114abe663e7f9bb76ac5cbfdffdfc08 (patch) | |
| tree | 842447055afa6d1c2aa474448706a5aae3a7f959 /include/rabbit.hrl | |
| parent | 1e6d343efdd7fd3de0cc6a48ed84d70f22b2b4ad (diff) | |
| download | rabbitmq-server-git-f8ece9ffd114abe663e7f9bb76ac5cbfdffdfc08.tar.gz | |
Add protocol to reader and writer state, and pass it around in enough places to let us switch based on protocol. Remove a couple of unused exports while we're there.
Diffstat (limited to 'include/rabbit.hrl')
| -rw-r--r-- | include/rabbit.hrl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/rabbit.hrl b/include/rabbit.hrl index 06297c69f3..cff17e080a 100644 --- a/include/rabbit.hrl +++ b/include/rabbit.hrl @@ -36,7 +36,8 @@ -record(vhost, {virtual_host, dummy}). --record(connection, {user, timeout_sec, frame_max, vhost, client_properties}). +-record(connection, {user, timeout_sec, frame_max, vhost, client_properties, + protocol}). -record(content, {class_id, @@ -173,6 +174,7 @@ explanation :: string(), method :: atom()}). +-type(protocol() :: atom()). -endif. %%---------------------------------------------------------------------------- |
