The following sections describe the constants used by the FSHook functions, which monitor events on traditional and NSS volumes:
On NSS volumes, you can register to be notified when an event starts or after the event has completed. The fs_register and fs_unregister functions use the following flags for this notification process.
On traditional volumes, you can register to be notified when an event starts or after the event has completed. The fs_register and fs_unregister functions use the following flags for this notification process. The FSHOOK_PRE flags notify you when a request has been received and before the operating system has serviced the request. The FSHOOKS_POST flags notify you when the operaing system has successfully completed the request. You can use the generic hooks and the name space entry changing hook for monitioring changes from all client types. The first ten sets of hooks are for DOS clients only.
The create_warn_t structure uses these flags, which are defined in fshooks.h.
The modifyInfoMask parameter is a bit mask that specifies the file object information that is going to be modified. If a bit is set in this bit mask, the corresponding field of zinfo_t structure contains information about what is being modified. All other fields in the zinfo_t structure (for which the bits are not set) are ignored. If a bit doesn’t make sense for a particular file object, it is ignored. These flags are defined in fshooks.h.
An attribute bit mask can contain one or more of the following. Most of these flags are defined in fsio.h; a few are defined in fshooks.h.
The requested right bits are not stored with the file; they are temporary bits associated with an open instance of the file. The open_warn_t and create_warn_t structures use these flags. They are defined in the fshooks.h file.
The following flags are ORed together to form a bit mask of a user's effective rights to a file or directory. These same flags are used to set the Inherited Rights Mask. Most of these flags are defined in the nks/dirio.h file. A few are also defined in fshooks.h for NSS volumes.
In CLib, defined in nwnamspc.h.
The following flags describe the state of a volume on a NetWare server. The volume state structures (xvolstate_warn_t and xvolstate_report_t) and zinfo_t use these flags.