1 /* SPDX-License-Identifier: MIT */
2 #ifndef __NVIF_PARENT_H__
3 #define __NVIF_PARENT_H__
8 const struct nvif_parent_func
{
9 void (*debugf
)(struct nvif_object
*, const char *fmt
, ...) __printf(2, 3);
10 void (*errorf
)(struct nvif_object
*, const char *fmt
, ...) __printf(2, 3);
15 nvif_parent_dtor(struct nvif_parent
*parent
)
21 nvif_parent_ctor(const struct nvif_parent_func
*func
, struct nvif_parent
*parent
)