Sun Java System Web Server 7.0 Update 3 NSAPI Developer's Guide

filter_layer() Function

The filter_layer function returns the layer in a filter stack that corresponds to the specified filter.


FilterLayer *filter_layer(SYS_NETFD sd, const Filter *filter);

Return Values

The topmost FilterLayer * associated with the specified filter, or NULL if the specified filter is not part of the specified filter stack.


SYS_NETFD sd is the filter stack to inspect.

const Filter *filter is the filter of interest.