@@ -30,80 +30,85 @@ namespace rabbitmq {
3030 //
3131
3232 // TEST
33- bool test (std::string & response_);
33+ bool test (std::string & response_);
3434
3535 // VHOSTS
36- bool list_vhosts (vhost::list & vhosts_,
37- error_response & error_);
36+ bool list_vhosts (vhost::list & vhosts_,
37+ error_response & error_);
3838
39- bool add_vhost (const std::string & name_,
40- error_response & error_);
39+ bool add_vhost (const std::string & name_,
40+ error_response & error_);
4141
42- bool delete_vhost (const std::string & name_,
43- error_response & error_);
42+ bool delete_vhost (const std::string & name_,
43+ error_response & error_);
4444
4545 // EXCHANGES
46- bool list_exchanges (const std::string & vhost_,
47- exchange::list & exchanges_,
48- error_response & error_);
49-
50- bool exchange_declare (const std::string & name_,
51- const std::string & vhost_,
52- const std::string & type_,
53- const bool durable_,
54- const bool auto_delete_,
55- const bool internal_,
56- error_response & error_);
57-
58- bool delete_exchange (const std::string & name_,
59- const std::string & vhost_,
60- error_response & error_);
46+ bool list_exchanges (const std::string & vhost_,
47+ exchange::list & exchanges_,
48+ error_response & error_);
49+
50+ bool exchange_declare (const std::string & name_,
51+ const std::string & vhost_,
52+ const std::string & type_,
53+ const bool durable_,
54+ const bool auto_delete_,
55+ const bool internal_,
56+ error_response & error_);
57+
58+ bool delete_exchange (const std::string & name_,
59+ const std::string & vhost_,
60+ error_response & error_);
6161
6262 // QUEUES
63- bool list_queues (const std::string & vhost_,
64- queue::list & queues_,
65- error_response & error_);
63+ bool list_queues (const std::string & vhost_,
64+ queue::list & queues_,
65+ error_response & error_);
6666
67- bool queue_declare (const std::string & name_,
68- const std::string & vhost_,
69- const bool durable_,
70- const bool auto_delete_,
71- error_response & error_);
67+ bool queue_declare (const std::string & name_,
68+ const std::string & vhost_,
69+ const bool durable_,
70+ const bool auto_delete_,
71+ error_response & error_);
7272
73- bool delete_queue (const std::string & name_,
74- const std::string & vhost_,
75- error_response & error_);
73+ bool delete_queue (const std::string & name_,
74+ const std::string & vhost_,
75+ error_response & error_);
7676
7777 // USERS
78- bool list_users (user::list & users_,
79- error_response & error_);
78+ bool list_users (user::list & users_,
79+ error_response & error_);
8080
81- bool add_user (const std::string & name_,
82- const std::string & passwd_,
83- error_response & error_);
81+ bool add_user (const std::string & name_,
82+ const std::string & passwd_,
83+ error_response & error_);
8484
85- bool delete_user (const std::string & name_,
86- error_response & error_);
85+
86+ bool change_user_password (const std::string & name_,
87+ const std::string & passwd_,
88+ error_response & error_);
89+
90+ bool delete_user (const std::string & name_,
91+ error_response & error_);
8792
8893 // USER PERMISSIONS
89- bool user_permissions (const std::string & username_,
90- permissions::list & permissions_,
91- error_response & error_);
94+ bool user_permissions (const std::string & username_,
95+ permissions::list & permissions_,
96+ error_response & error_);
9297
93- bool user_permissions (const std::string & username_,
94- const std::string & vhost_,
95- permissions & permissions_,
96- error_response & error_);
98+ bool user_permissions (const std::string & username_,
99+ const std::string & vhost_,
100+ permissions & permissions_,
101+ error_response & error_);
97102
98- bool set_permissions (const std::string & username_,
99- const std::string & vhost_,
100- const std::string & configure_,
101- const std::string & write_,
102- const std::string & read_,
103- error_response & error_);
103+ bool set_permissions (const std::string & username_,
104+ const std::string & vhost_,
105+ const std::string & configure_,
106+ const std::string & write_,
107+ const std::string & read_,
108+ error_response & error_);
104109
105- bool set_permissions (const permissions & perms_,
106- error_response & error_);
110+ bool set_permissions (const permissions & perms_,
111+ error_response & error_);
107112
108113 // TODO set_perm & bindings
109114
@@ -119,6 +124,11 @@ namespace rabbitmq {
119124 const std::string & custom_ = " GET" ,
120125 const bool appli_ = false );
121126
127+ bool _raw_add_user_ (const std::string & name_,
128+ const std::string & tags_,
129+ const std::string & passwd_,
130+ error_response & error_);
131+
122132
123133 };
124134
0 commit comments