提交 8e2a535c 编写于 作者: M Michal Privoznik

virConnect: Update comment for @privateData

This member allows us to store a pointer to some private data.
However, the comment says it's used in both domain driver and
network driver. Well, it is not. It's just one pointer and domain
driver uses it directly. Network driver has a global driver
variable. Update the comment to not confuse others.
Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
上级 215b3ab4
...@@ -472,8 +472,8 @@ struct _virConnect { ...@@ -472,8 +472,8 @@ struct _virConnect {
virSecretDriverPtr secretDriver; virSecretDriverPtr secretDriver;
virNWFilterDriverPtr nwfilterDriver; virNWFilterDriverPtr nwfilterDriver;
/* Private data pointer which can be used by driver and /* Private data pointer which can be used by domain driver as
* network driver as they wish. * it pleases.
* NB: 'private' is a reserved word in C++. * NB: 'private' is a reserved word in C++.
*/ */
void * privateData; void * privateData;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册