mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-07 21:17:55 +03:00
util: virtypedparam: Privatize definition of struct _virTypedParamList
Ensure that all callers access it via the APIs. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
50be70ded3
commit
88925728f6
@ -705,6 +705,13 @@ virTypedParamsSerialize(virTypedParameterPtr params,
|
||||
}
|
||||
|
||||
|
||||
struct _virTypedParamList {
|
||||
virTypedParameterPtr par;
|
||||
size_t npar;
|
||||
size_t par_alloc;
|
||||
};
|
||||
|
||||
|
||||
virTypedParamList *
|
||||
virTypedParamListNew(void)
|
||||
{
|
||||
|
@ -137,11 +137,6 @@ VIR_ENUM_DECL(virTypedParameter);
|
||||
} while (0)
|
||||
|
||||
typedef struct _virTypedParamList virTypedParamList;
|
||||
struct _virTypedParamList {
|
||||
virTypedParameterPtr par;
|
||||
size_t npar;
|
||||
size_t par_alloc;
|
||||
};
|
||||
|
||||
void
|
||||
virTypedParamListFree(virTypedParamList *list);
|
||||
|
Loading…
Reference in New Issue
Block a user