summaryrefslogtreecommitdiff
path: root/lib/util/server_id.c
AgeCommit message (Collapse)AuthorFilesLines
2012-08-17lib/util: add server_id_set_disconnected() and server_id_is_disconnected()Michael Adam1-1/+36
Utility functions for handling the special placeholder server-id value for disconnected clients (to be used for durable handles). Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
2012-08-17lib/util: let server_id_str() skip the task_id if 0 in the cluster case tooStefan Metzmacher1-0/+5
server_id_from_string() already handles that case. metze
2012-08-17lib/util: add server_id_from_string()Stefan Metzmacher1-0/+36
metze
2012-08-17lib/util: add server_id_equal()Stefan Metzmacher1-0/+21
metze
2011-06-09server_id: Change format to vnn:pid.task_id, pid.task_id or pidAndrew Bartlett1-1/+6
This helps ensure the string cannot be ambiguous, while also ensuring that it remains simple in the non-cluster case. The asymmetry of reading get_my_vnn() but writing based on NONCLUSTER_VNN is acceptable because in the non-clustered case, they are equal, and in the clustered case we will print the full string. Andrew Bartlett
2011-06-09lib/util Bring procid_str() into lib/util as server_id_string()Andrew Bartlett1-0/+36
This is needed for OpenChange, which prints Samba struct server_id values in debug messages. Andrew Bartlett