Searched refs:filter (Results 1 - 17 of 17) sorted by relevance

/httpd/modules/filters/
H A Dmod_ext_filter.c18 * mod_ext_filter allows Unix-style filters to filter http content.
68 ef_filter_t *filter; member in struct:ef_ctx_t
154 static const char *parse_cmd(apr_pool_t *p, const char **args, ef_filter_t *filter) argument
181 rv = apr_tokenize_to_argv(parms, &(filter->args), p);
190 filter->args = (char **)apr_palloc(p, 2 * sizeof(char *));
191 filter->args[0] = ap_getword_white(p, args);
192 filter->args[1] = NULL; /* end of args */
194 if (!filter->args[0]) {
197 filter->command = filter
209 ef_filter_t *filter; local
521 get_cfg_string(ef_dir_t *dc, ef_filter_t *filter, apr_pool_t *p) argument
[all...]
H A Dmod_filter.c32 * @brief is a filter provider, as defined and implemented by mod_filter.
35 * defined for each filter. The provider implementation itself is a
42 /** The filter that implements this provider */
105 ap_filter_rec_t *filter = f->frec; local
108 for (p = filter->providers; p; p = p->next) {
122 /* the filter init function set a ctx - we need to record it */
135 static int filter_lookup(ap_filter_t *f, ap_filter_rec_t *filter) argument
150 for (provider = filter->providers; provider; provider = provider->next) {
155 "Error evaluating filter dispatch condition: %s",
204 * filter implementation
281 ap_filter_rec_t *filter = f->frec; local
340 ap_filter_rec_t *filter = apr_hash_get(cfg->live_filters, fname, local
406 ap_filter_rec_t *filter; local
638 ap_filter_rec_t *filter; local
759 AP_DECLARE_MODULE(filter) = { variable
[all...]
H A Dmod_charset_lite.c56 * track errors in the translation filter
63 EES_DOWNSTREAM, /* something bad happened in a filter below xlate */
67 /* registered name of the output translation filter */
69 /* registered name of input translation filter */
81 /* charset_filter_ctx_t is created for each filter instance; because the same
82 * filter code is used for translating in both directions, we need this context
83 * data to tell the filter which translation handle to use; it also can hold a
93 int ran; /* has filter instance run before? */
242 /* Get storage for the request data and the output filter context.
243 * We rarely need the input filter contex
290 struct ap_filter_t *filter = filter_list; local
[all...]
H A Dmod_proxy_html.c840 errmsg = "Non-proxy request; not inserting proxy-html filter";
843 errmsg = "No content-type; bailing out of proxy-html filter";
848 errmsg = "Non-HTML content; not inserting proxy-html filter";
852 errmsg = "No links configured: nothing for proxy-html filter to do";
942 * xml2enc filter now that we've sniffed it
H A Dmod_include.c354 #define DEBUG_INIT(ctx, filter, brigade) do { \
355 (ctx)->intern->debug.f = filter; \
1706 /* note: it is okay to pass NULL for the "next filter" since
1736 /* note: it is okay to pass NULL for the "next filter" since
2893 * full tag and may have to be passed down the filter chain.
3388 * to the next filter;-)
3827 "wasn't set, INCLUDES filter removed: %s", r->uri);
3836 /* create context for this filter */
3991 * serves the file. All we have to do is add the filter.
/httpd/modules/lua/test/
H A Dtest_httpd.conf17 LuaMapHandler /filter/simple /Users/brianm/src/wombat/test/htdocs/filters.lua handle_simple
/httpd/modules/cache/
H A Dcache_util.c31 * in "filter". All but the path comparisons are case-insensitive.
33 static int uri_meets_conditions(const apr_uri_t *filter, const int pathlen, argument
37 /* Scheme, hostname port and local part. The filter URI and the
50 /* Is the filter is just for a local path or a proxy URI? */
51 if (!filter->scheme) {
58 if (!url->scheme || strcasecmp(filter->scheme, url->scheme)) {
62 /* If the filter hostname is null or empty it matches any hostname,
68 if (filter->hostname && filter->hostname[0]) {
69 if (filter
[all...]
/httpd/support/
H A Dfirehose.c295 filter_rec *filter; local
297 filter = (filter_rec *) val;
299 if (len > filter->len && !strncmp(filter->prefix, str, filter->len)) {
748 filter_rec *filter; local
750 filter = apr_pcalloc(pchild, sizeof(filter_rec));
751 filter->pool = pchild;
752 filter->prefix = opt->argv[opt->ind];
753 filter
[all...]
/httpd/include/
H A Dutil_filter.h19 * @brief Apache filter library
42 /** The filter should return at most readbytes data. */
44 /** The filter should return at most one line of CRLF data.
46 * filter may return partial data).
49 /** The filter should implicitly eat any CRLF pairs that it sees. */
51 /** The filter read should be treated as speculative and any returned
54 /** The filter read should be exhaustive and read until it can not
59 /** The filter should initialize the connection if needed,
76 * filter chain using the standard Apache output mechanisms: ap_rputs(),
79 * Each filter i
[all...]
H A Dutil_ldap.h326 * @param filter The user to search for in the form of an LDAP filter. This filter must return
331 * @tip The filter supplied will be searched for. If a single entry is returned, an attempt
335 * char *filter, char *bindpw, char **binddn, char ***retvals)
339 const char *filter, const char *bindpw, const char **binddn, const char ***retvals));
349 * @param filter The user to search for in the form of an LDAP filter. This filter must return
353 * @tip The filter supplie
[all...]
/httpd/server/
H A Dutil_filter.c36 ** This macro returns true/false if a given filter should be inserted BEFORE
37 ** another filter. This will happen when one of: 1) there isn't another
38 ** filter; 2) that filter has a higher filter type (class); 3) that filter
46 * filter names to filters
298 "a content filter was added without a request: %s", frec->name);
308 "a protocol filter was added without a request: %s", frec->name);
330 /* If we are adding our first non-connection filter,
486 ap_filter_rec_t *filter; local
514 ap_filter_rec_t *filter; local
[all...]
H A Dcore.c4379 "filter (or ; delimited list of filters) to be run on the request content"),
4382 "filter (or ; delimited list of filters) to be run on the request body"),
4555 /* XXX if/when somebody writes a content-md5 filter we either need to
4556 * remove this support or coordinate when to use the filter vs.
4803 const char *filter, *filters = conf->output_filters; local
4806 while (*filters && (filter = ap_getword(r->pool, &filters, ';'))) {
4807 ap_add_output_filter(filter, NULL, r, r->connection);
4813 while (*filters && (filter = ap_getword(r->pool, &filters, ';'))) {
4814 ap_add_input_filter(filter, NULL, r, r->connection);
4981 /* The core filter require
[all...]
/httpd/modules/aaa/
H A Dmod_authnz_ldap.c58 char *filter; /* Filter to further limit the search */ member in struct:__anon65
190 * Build the search filter, or at least as much of the search filter that
194 * The search filter consists of the filter provided with the URL,
195 * combined with a filter made up of the attribute provided with the URL,
202 * search filter will be (&(posixid=*)(uid=userj)).
208 const char *filter,
219 if (!filter) {
220 filter
205 authn_ldap_build_filter(char *filtbuf, request_rec *r, const char *user, const char *filter, authn_ldap_config_t *sec) argument
[all...]
/httpd/modules/http/
H A Dmod_mime.c381 "input filter name (or ; delimited names) followed by one or "
388 "output filter name (or ; delimited names) followed by one or "
899 const char *filter, *filters = exinfo->input_filters; local
901 && (filter = ap_getword(r->pool, &filters, ';'))) {
902 ap_add_input_filter(filter, NULL, r, r->connection);
909 const char *filter, *filters = exinfo->output_filters; local
911 && (filter = ap_getword(r->pool, &filters, ';'))) {
912 ap_add_output_filter(filter, NULL, r, r->connection);
/httpd/modules/ldap/
H A Dutil_ldap.c1634 int scope, char **attrs, const char *filter,
1667 the_search_node.username = filter;
1730 (char *)filter, attrs, 0,
1864 the_search_node.username = filter;
1911 int scope, char **attrs, const char *filter,
1943 the_search_node.username = filter;
2000 (char *)filter, attrs, 0,
2073 the_search_node.username = filter;
1632 uldap_cache_checkuserid(request_rec *r, util_ldap_connection_t *ldc, const char *url, const char *basedn, int scope, char **attrs, const char *filter, const char *bindpw, const char **binddn, const char ***retvals) argument
1909 uldap_cache_getuserdn(request_rec *r, util_ldap_connection_t *ldc, const char *url, const char *basedn, int scope, char **attrs, const char *filter, const char **binddn, const char ***retvals) argument
/httpd/modules/lua/
H A Dmod_lua.c349 /* Find the filter that was called.
350 * XXX: If we were wired with mod_filter, the filter (mod_filters name)
366 "filter");
403 /* If a Lua filter is interested in filtering a request, it must first do a yield,
434 /* Set up the initial filter context and acquire the function.
443 /* No filter entry found (or the script declined to filter), just pass on the buckets */
448 /* We've got a willing lua filter, setup and check for a prefix */
508 "lua: Error while executing filter: %s",
559 /* Set up the initial filter contex
1158 register_filter_function_hook(const char *filter, cmd_parms *cmd, void *_cfg, const char *file, const char *function, int direction) argument
1479 register_output_filter(cmd_parms *cmd, void *_cfg, const char* filter, const char *file, const char *function) argument
1491 register_input_filter(cmd_parms *cmd, void *_cfg, const char* filter, const char *file, const char *function) argument
[all...]
H A Dlua_request.c497 ap_log_rerror(APLOG_MARK, APLOG_DEBUG, 0, r, APLOGNO(01485) "adding output filter %s",
1347 * lua_ap_add_input_filter; r:add_input_filter(name) - Adds an input filter to
1354 ap_filter_rec_t *filter; local
1360 filter = ap_get_input_filter_handle(filterName);
1361 if (filter) {
1362 ap_add_input_filter_handle(filter, NULL, r, r->connection);
2164 /* Trick httpd into NOT using the chunked filter, IMPORTANT!!!111*/

Completed in 1719 milliseconds