BOOTSTRAP (kutils) functions


LIBRARY ROUTINE

kstruct_getinfo - retrieve the info in a structure entry

LIBRARY CALL

int kstruct_getinfo(
   int     type,
   char   **name,
   size_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)))

INPUT

OUTPUT

RETURN VALUE

TRUE (1) on success, FALSE (0) otherwise

DESCRIPTION

This module is used to retrieve the information currently stored within a structure entry.

The name, size, read and write structure can be retrieved. Only non-NULL entries will be returned. So only pointers to the desired information need to be passed in.

ADDITIONAL INFORMATION

none

EXAMPLES

none

SIDE EFFECTS

none

RESTRICTIONS

none

MODIFICATION

none

FILES

$BOOTSTRAP/objects/library/kutils/src/kstruct.c

SEE ALSO

kutils(3)

COPYRIGHT

Copyright (C) 1993 - 1997, Khoral Research, Inc. ("KRI") All rights reserved.