mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-08-27 19:11:16 +00:00
rpc: clarify "void *" values passed to client callbacks
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
This commit is contained in:
parent
9fe6619d4a
commit
2c76fa91d3
@ -41,11 +41,20 @@ typedef int (*virNetServerClientFilterFunc)(virNetServerClientPtr client,
|
||||
virNetMessagePtr msg,
|
||||
void *opaque);
|
||||
|
||||
/*
|
||||
* @data: value allocated by virNetServerClintPrivNew(PostExecRestart) callback
|
||||
*/
|
||||
typedef virJSONValuePtr (*virNetServerClientPrivPreExecRestart)(virNetServerClientPtr client,
|
||||
void *data);
|
||||
/*
|
||||
* @opaque: value of @privOpaque from virNetServerClientNewPostExecRestart
|
||||
*/
|
||||
typedef void *(*virNetServerClientPrivNewPostExecRestart)(virNetServerClientPtr client,
|
||||
virJSONValuePtr object,
|
||||
void *opaque);
|
||||
/*
|
||||
* @opaque: value of @privOpaque from virNetServerClientNew
|
||||
*/
|
||||
typedef void *(*virNetServerClientPrivNew)(virNetServerClientPtr client,
|
||||
void *opaque);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user