> > > All the BDiskSystem hooks should have counterparts in the FS API. > > > There > > > could also be one function that processes them all, like > > > fs=3D3D5Fvalidate=3D3D5Foperation(uint32 operation, void > > > *parameters). > > > > Yeah, that would also work, although it probably wouldn't be too > > easy > > to check the arguments in that case. The FS add-on shouldn't be > > bothered with this, at least. > > Yes, the caller would have to make sure, that the parameters are > valid. Doesn't it seem like it would be clearer and less error prone just to have a specific function per operation? Yes, that means more functions, but IMHO that's a reasonable tradeoff for better typechecking and greater ease of implementation. -Tyler