return NT_STATUS_OK;
}
-NTSTATUS srv_decrypt_buffer(char *buf)
+bool change_to_root_user(void)
{
- return NT_STATUS_OK;
+ return false;
}
-NTSTATUS srv_encrypt_buffer(char *buffer, char **buf_out)
+struct event_context *smbd_event_context(void)
{
- *buf_out = buffer;
- return NT_STATUS_OK;
+ return NULL;
}
-void srv_free_enc_buffer(char *buf)
+struct messaging_context *smbd_messaging_context(void)
{
- ;
+ return NULL;
}
-bool srv_encryption_on(void)
+/**
+ * The following two functions need to be called from inside the low-level BRL
+ * code for oplocks correctness in smbd. Since other utility binaries also
+ * link in some of the brl code directly, these dummy functions are necessary
+ * to avoid needing to link in the oplocks code and its dependencies to all of
+ * the utility binaries.
+ */
+void contend_level2_oplocks_begin(files_struct *fsp,
+ enum level2_contention_type type)
{
- return false;
+ return;
+}
+
+void contend_level2_oplocks_end(files_struct *fsp,
+ enum level2_contention_type type)
+{
+ return;
}