mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-12 15:52:55 +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,
|
virNetMessagePtr msg,
|
||||||
void *opaque);
|
void *opaque);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @data: value allocated by virNetServerClintPrivNew(PostExecRestart) callback
|
||||||
|
*/
|
||||||
typedef virJSONValuePtr (*virNetServerClientPrivPreExecRestart)(virNetServerClientPtr client,
|
typedef virJSONValuePtr (*virNetServerClientPrivPreExecRestart)(virNetServerClientPtr client,
|
||||||
void *data);
|
void *data);
|
||||||
|
/*
|
||||||
|
* @opaque: value of @privOpaque from virNetServerClientNewPostExecRestart
|
||||||
|
*/
|
||||||
typedef void *(*virNetServerClientPrivNewPostExecRestart)(virNetServerClientPtr client,
|
typedef void *(*virNetServerClientPrivNewPostExecRestart)(virNetServerClientPtr client,
|
||||||
virJSONValuePtr object,
|
virJSONValuePtr object,
|
||||||
void *opaque);
|
void *opaque);
|
||||||
|
/*
|
||||||
|
* @opaque: value of @privOpaque from virNetServerClientNew
|
||||||
|
*/
|
||||||
typedef void *(*virNetServerClientPrivNew)(virNetServerClientPtr client,
|
typedef void *(*virNetServerClientPrivNew)(virNetServerClientPtr client,
|
||||||
void *opaque);
|
void *opaque);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user