]>
Commit | Line | Data |
---|---|---|
11fdf7f2 TL |
1 | // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- |
2 | // vim: ts=8 sw=2 smarttab | |
3 | #pragma once | |
4 | ||
5 | #include <string> | |
6 | ||
7 | namespace amqp_mock { | |
8 | void set_valid_port(int port); | |
9 | void set_valid_host(const std::string& host); | |
10 | void set_valid_vhost(const std::string& vhost); | |
11 | void set_valid_user(const std::string& user, const std::string& password); | |
eafe8130 TL |
12 | void set_multiple(unsigned tag); |
13 | void reset_multiple(); | |
11fdf7f2 TL |
14 | |
15 | extern bool FAIL_NEXT_WRITE; // default "false" | |
16 | extern bool FAIL_NEXT_READ; // default "false" | |
17 | extern bool REPLY_ACK; // default "true" | |
18 | } | |
19 |