return *authorizer != NULL;
}
+bool DaemonServer::ms_handle_refused(Connection *con)
+{
+ // do nothing for now
+ return false;
+}
bool DaemonServer::ms_dispatch(Message *m)
{
bool ms_dispatch(Message *m);
bool ms_handle_reset(Connection *con) { return false; }
void ms_handle_remote_reset(Connection *con) {}
+ bool ms_handle_refused(Connection *con);
bool ms_get_authorizer(int dest_type, AuthAuthorizer **authorizer,
bool force_new);
bool ms_verify_authorizer(Connection *con,
#endif
}
+bool MgrClient::ms_handle_refused(Connection *con)
+{
+ // do nothing for now
+ return false;
+}
void MgrClient::send_report()
{
bool ms_dispatch(Message *m);
bool ms_handle_reset(Connection *con);
void ms_handle_remote_reset(Connection *con) {}
+ bool ms_handle_refused(Connection *con);
bool handle_mgr_map(MMgrMap *m);
bool handle_mgr_configure(MMgrConfigure *m);
return *authorizer != NULL;
}
+bool MgrStandby::ms_handle_refused(Connection *con)
+{
+ // do nothing for now
+ return false;
+}
+
// A reference for use by the signal handler
MgrStandby *signal_mgr = nullptr;
void ms_handle_remote_reset(Connection *con) {}
bool ms_get_authorizer(int dest_type, AuthAuthorizer **authorizer,
bool force_new);
+ bool ms_handle_refused(Connection *con);
+
int init();
void shutdown();
void usage() {}