* what has changed since the last MARK */
#define MSG_REQ_DMALLOC_LOG_CHANGED 12
+#define MSG_SHUTDOWN 13
+
/* nmbd messages */
#define MSG_FORCE_ELECTION 1001
#define MSG_WINS_NEW_ENTRY 1002
{"pool-usage", MSG_REQ_POOL_USAGE },
{"dmalloc-mark", MSG_REQ_DMALLOC_MARK },
{"dmalloc-log-changed", MSG_REQ_DMALLOC_LOG_CHANGED },
+ {"shutdown", MSG_SHUTDOWN },
{NULL, -1}
};
if (!send_message(dest, mtype, NULL, 0, False))
return False;
break;
+
+ case MSG_SHUTDOWN:
+ if (!send_message(dest, MSG_SHUTDOWN, NULL, 0, False))
+ return False;
+ break;
}
return (True);