diff options
author | Andrew Bartlett <abartlet@samba.org> | 2011-07-21 16:29:38 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2012-04-30 17:55:12 +1000 |
commit | 442a81e7b282eef85d3c7d978846a531b55cbd5f (patch) | |
tree | b5b82c36137e530f3496186e76bf05c04645e92e /source3/include | |
parent | f10c63810077a6759a9df4e9c653066f9f355d96 (diff) | |
download | samba-442a81e7b282eef85d3c7d978846a531b55cbd5f.tar.gz samba-442a81e7b282eef85d3c7d978846a531b55cbd5f.tar.bz2 samba-442a81e7b282eef85d3c7d978846a531b55cbd5f.zip |
s3-lib Add a way to allocate the task_id value in server_id
This safely allocates the task_id so that when we have multiple event
contexts, they can each have their own messaging context, particularly
for the imessaging subsystem under source4.
Andrew Bartlett
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/proto.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index 8392b68797..c2c74fae81 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -517,6 +517,7 @@ uint32 get_my_vnn(void); void set_my_unique_id(uint64_t unique_id); struct server_id pid_to_procid(pid_t pid); struct server_id procid_self(void); +struct server_id *new_server_id_task(TALLOC_CTX *mem_ctx); bool procid_equal(const struct server_id *p1, const struct server_id *p2); bool cluster_id_equal(const struct server_id *id1, const struct server_id *id2); |