used. This allows us to provide the same semantics as NT */
#include "includes.h"
+#include "lib/tdb/include/tdb.h"
#include "messages.h"
/*
lock is the same as another lock
*/
struct lock_context {
- servid_t server;
+ uint32_t server;
uint16_t smbpid;
uint16_t tid;
};
struct brl_context {
struct tdb_wrap *w;
- servid_t server;
+ uint32_t server;
uint16_t tid;
struct messaging_context *messaging_ctx;
struct lock_struct last_lock;
talloc_free(). We need the messaging_ctx to allow for
pending lock notifications.
*/
-struct brl_context *brl_init(TALLOC_CTX *mem_ctx, servid_t server, uint16_t tid,
+struct brl_context *brl_init(TALLOC_CTX *mem_ctx, uint32_t server, uint16_t tid,
struct messaging_context *messaging_ctx)
{
char *path;
NTSTATUS brl_locktest(struct brl_context *brl,
DATA_BLOB *file_key,
uint16_t fnum,
- uint16 smbpid,
+ uint16_t smbpid,
uint64_t start, uint64_t size,
enum brl_type lock_type)
{