int kstruct_setinfo(
int type,
const char *name,
ssize_t size,
int (*read_struct) PROTO((
int,
kaddr,
int)),
int (*write_struct) PROTO((
int,
kaddr,
int)),
int (*compare_struct) PROTO((
kaddr,
kaddr,
int)),
void (*free_struct) PROTO((
kaddr,
int,
int)))
none
The name, size, read and write structure can be overridden. If a non-NULL name is passed in then the current structure name is replaced. If the size is not -1 then the structure size is replaced. If the read or write structure routines are not NULL then the respective routines are replaced.
none
none
$BOOTSTRAP/objects/library/kutils/src/kstruct.c