-#include "error.h"
-
-struct file_handle;
-
-/* Services that fhusers provide to fhp. */
-struct fh_ext_class
- {
- int magic; /* Magic identifier for fhuser. */
- const char *name; /* String identifier for fhuser. */
-
- void (*close) (struct file_handle *); /* Closes the file. */
- };
-
-/* Mostly-opaque structure. */
-struct file_handle
- {
- struct private_file_handle *private;
- const struct fh_ext_class *class; /* Polymorphism support. */
- void *ext; /* Extension struct for fhuser use. */
- };