mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
lib: Add g_lock_seqnum()
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
c38f37147d
commit
3d0cfb82ec
@ -64,6 +64,7 @@ NTSTATUS g_lock_dump(struct g_lock_ctx *ctx,
|
|||||||
size_t datalen,
|
size_t datalen,
|
||||||
void *private_data),
|
void *private_data),
|
||||||
void *private_data);
|
void *private_data);
|
||||||
|
int g_lock_seqnum(struct g_lock_ctx *ctx);
|
||||||
|
|
||||||
struct tevent_req *g_lock_watch_data_send(
|
struct tevent_req *g_lock_watch_data_send(
|
||||||
TALLOC_CTX *mem_ctx,
|
TALLOC_CTX *mem_ctx,
|
||||||
|
@ -1064,6 +1064,11 @@ NTSTATUS g_lock_dump(struct g_lock_ctx *ctx, TDB_DATA key,
|
|||||||
return NT_STATUS_OK;
|
return NT_STATUS_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int g_lock_seqnum(struct g_lock_ctx *ctx)
|
||||||
|
{
|
||||||
|
return dbwrap_get_seqnum(ctx->db);
|
||||||
|
}
|
||||||
|
|
||||||
struct g_lock_watch_data_state {
|
struct g_lock_watch_data_state {
|
||||||
struct tevent_context *ev;
|
struct tevent_context *ev;
|
||||||
struct g_lock_ctx *ctx;
|
struct g_lock_ctx *ctx;
|
||||||
|
Loading…
Reference in New Issue
Block a user