mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06: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 *
|
virTypedParamList *
|
||||||
virTypedParamListNew(void)
|
virTypedParamListNew(void)
|
||||||
{
|
{
|
||||||
|
@ -137,11 +137,6 @@ VIR_ENUM_DECL(virTypedParameter);
|
|||||||
} while (0)
|
} while (0)
|
||||||
|
|
||||||
typedef struct _virTypedParamList virTypedParamList;
|
typedef struct _virTypedParamList virTypedParamList;
|
||||||
struct _virTypedParamList {
|
|
||||||
virTypedParameterPtr par;
|
|
||||||
size_t npar;
|
|
||||||
size_t par_alloc;
|
|
||||||
};
|
|
||||||
|
|
||||||
void
|
void
|
||||||
virTypedParamListFree(virTypedParamList *list);
|
virTypedParamListFree(virTypedParamList *list);
|
||||||
|
Loading…
Reference in New Issue
Block a user