Searched defs:key (Results 1 - 25 of 70) sorted by relevance

123

/httpd/server/
H A Dapreq_module.c24 APREQ_DECLARE(apreq_param_t *)apreq_param(apreq_handle_t *req, const char *key) argument
26 apreq_param_t *param = apreq_args_get(req, key);
28 return apreq_body_get(req, key);
H A Dutil_cookies.c177 static int extract_cookie_line(ap_cookie_do * v, const char *key, const char *val) argument
229 apr_table_addn(v->new_cookies, key, new_cookie);
H A Dapreq_param.c191 static int param_push(void *data, const char *key, const char *val) argument
202 const char *key)
209 apr_table_do(param_push, arr, t, key, NULL);
215 const char *key,
218 apr_array_header_t *arr = apreq_params_as_array(p, t, key);
233 static int upload_push(void *data, const char *key, const char *val) argument
252 static int upload_set(void *data, const char *key, const char *val) argument
200 apreq_params_as_array(apr_pool_t *p, const apr_table_t *t, const char *key) argument
213 apreq_params_as_string(apr_pool_t *p, const apr_table_t *t, const char *key, apreq_join_t mode) argument
H A Dapreq_cookie.c177 const char *hdr, *key, *val; local
184 key = hdr;
195 *nlen = hdr - key;
203 *nlen = hdr - key;
213 *nlen = hdr - key;
/httpd/include/
H A Dap_regkey.h58 * Win32 Only: Open the specified registry key.
59 * @param newkey The opened registry key
60 * @param parentkey The open registry key of the parent, or one of
70 * @param keyname The path of the key relative to the parent key
73 * APR_READ open key for reading
74 * APR_WRITE open key for writing
75 * APR_CREATE create the key if it doesn't exist
76 * APR_EXCL return error if APR_CREATE and key exists
87 * Win32 Only: Close the registry key opene
90 AP_DECLARE(apr_status_t) ap_regkey_close(ap_regkey_t *key); variable
[all...]
/httpd/modules/lua/
H A Dlua_apr.c41 const char *key = luaL_checkstring(L, 2); local
57 key, t->n);
58 apr_table_set(t->t, key, replacement);
61 apr_table_set(t->t, key, val);
69 const char *key = luaL_checkstring(L, 2); local
70 const char *val = apr_table_get(t->t, key);
/httpd/modules/dav/main/
H A Dliveprop.c72 const void *key; local
76 apr_hash_this(idx, &key, NULL, &val);
78 s = apr_psprintf(p, " xmlns:lp%ld=\"%s\"", (long)val, (const char *)key);
/httpd/modules/aaa/
H A Dmod_authn_dbm.c89 apr_datum_t key, val; local
99 key.dptr = (char*)user;
101 key.dsize = strlen(key.dptr);
103 key.dsize = strlen(key.dptr) + 1;
108 if (apr_dbm_fetch(f, key, &val) == APR_SUCCESS && val.dptr) {
H A Dmod_authz_dbm.c43 static char *get_dbm_entry_as_str(apr_pool_t *pool, apr_dbm_t *f, char *key) argument
46 q.dptr = key;
86 * key=username value=":"groupname [":"anything here is ignored]
88 * key=username value=groupname
90 * physical DBM file; key=username value=password":"groupname[":"anything]
H A Dmod_authn_socache.c294 const char *key; local
330 /* first build our key and determine expiry time */
331 key = construct_key(r, dcfg->context, user, realm);
336 (unsigned char*)key, strlen(key), expiry,
362 /* construct key
373 const char *key; local
381 key = construct_key(r, dcfg->context, user, NULL);
383 (unsigned char*)key, strlen(key),
418 const char *key; local
[all...]
/httpd/modules/filters/
H A Dmod_reflector.c33 static int header_do(void *dummy, const char *key, const char *value) argument
38 payload = apr_table_get(r->headers_in, key);
/httpd/modules/proxy/
H A Dmod_proxy_express.c113 apr_datum_t key, val; local
143 key.dptr = (char *)name;
144 key.dsize = strlen(key.dptr);
146 rv = apr_dbm_fetch(db, key, &val);
H A Dajp_header.c268 if ((sc = sc_for_req_header(elts[i].key)) != UNKNOWN_METHOD) {
277 if (ajp_msg_append_string(msg, elts[i].key)) {
293 i, elts[i].key, elts[i].val);
402 "Error appending the SSL key size");
426 const char *key = SC_A_SSL_PROTOCOL; local
428 ajp_msg_append_string(msg, key) ||
433 key, envvar);
446 const char *key = SC_A_REQ_REMOTE_PORT; local
449 ajp_msg_append_string(msg, key) ||
454 key, va
466 const char *key = SC_A_REQ_LOCAL_ADDR; local
532 addit_dammit(void *v, const char *key, const char *val) argument
[all...]
/httpd/os/win32/
H A Dap_regkey.c46 static apr_status_t regkey_cleanup(void *key) argument
48 ap_regkey_t *regkey = key;
155 * if subkeys exist when attempting to delete a key.
180 ap_regkey_t *key,
205 rc = RegQueryValueExW(key->hkey, wvalname, 0, &type, NULL, (DWORD *)&size);
215 rc = RegQueryValueExW(key->hkey, wvalname, 0, &type,
251 rc = RegQueryValueEx(key->hkey, valuename, 0, &type, NULL, (DWORD *)&size);
261 rc = RegQueryValueEx(key->hkey, valuename, 0, &type, *result, (DWORD *)&size);
283 AP_DECLARE(apr_status_t) ap_regkey_value_set(ap_regkey_t *key,
323 rc = RegSetValueExW(key
[all...]
/httpd/modules/cache/
H A Dcache_storage.c50 "cache: Removing url %s from the cache", h->cache_obj->key);
82 "cache: No cache request information available for key"
87 if (!cache->key) {
88 rv = cache_generate_key(r, r->pool, &cache->key);
97 switch (rv = list->provider->create_entity(h, r, cache->key, size, in)) {
116 static int filter_header_do(void *v, const char *key, const char *val) argument
118 if ((*key == 'W' || *key == 'w') && !strcasecmp(key, "Warning")
126 apr_table_addn(v, key, va
130 remove_header_do(void *v, const char *key, const char *val) argument
142 add_header_do(void *v, const char *key, const char *val) argument
429 cache_canonicalise_key(request_rec *r, apr_pool_t* p, const char *uri, apr_uri_t *parsed_uri, const char **key) argument
669 cache_generate_key_default(request_rec *r, apr_pool_t* p, const char **key) argument
[all...]
H A Dmod_cache.h83 const char *key; member in struct:cache_object
188 (request_rec *r, apr_pool_t*p, const char **key));
H A Dmod_cache_disk.h47 const char *hashfile; /* Computed hash key for this URI */
49 const char *key; /* On-disk prefix; URI with Vary bits (if present) */ member in struct:disk_cache_object
H A Dmod_socache_memcache.c177 /* Converts (binary) id into a key prefixed by the predetermined
178 * namespace tag; writes output to key buffer. Returns non-zero if
179 * the id won't fit in the key buffer. */
182 char *key, apr_size_t keylen)
189 cp = apr_cpystrn(key, ctx->tag, ctx->taglen);
219 "scache_mc: error setting key '%s' "
278 "scache_mc: error deleting key '%s' ",
180 socache_mc_id2key(ap_socache_instance_t *ctx, const unsigned char *id, unsigned int idlen, char *key, apr_size_t keylen) argument
/httpd/modules/loggers/
H A Dmod_log_forensic.c159 static int count_headers(void *h_, const char *key, const char *value) argument
163 h->count += count_string(key)+count_string(value)+2;
168 static int log_headers(void *h_, const char *key, const char *value) argument
175 h->pos = log_escape(h->pos, h->end, key);
/httpd/modules/ssl/
H A Dssl_engine_pphrase.c77 * a vhost key. since the key is stored in a table with lifetime
78 * of s->process->pool, the key needs to have the same lifetime.
94 char *key = apr_psprintf(p, "%s:%d", id, i); local
95 void *keyptr = apr_hash_get(mc->tVHostKeys, key,
100 keyptr = apr_pstrdup(mc->pPool, key);
151 "Init: No private key specified for %s", key_id);
157 "Init: Can't open server private key file %s", pkey_file);
173 * if the private key is encrypted and SSLPassPhraseDialog
176 * in this case if we already have a private key an
[all...]
H A Dssl_util.c139 * certain key data needs to survive restarts,
146 const char *key,
149 apr_ssize_t klen = strlen(key);
150 ssl_asn1_t *asn1 = apr_hash_get(table, key, klen);
153 * if a value for this key already exists,
174 apr_hash_set(table, key, klen, asn1);
180 const char *key)
182 return (ssl_asn1_t *)apr_hash_get(table, key, APR_HASH_KEY_STRING);
186 const char *key)
188 apr_ssize_t klen = strlen(key);
145 ssl_asn1_table_set(apr_hash_t *table, const char *key, long int length) argument
179 ssl_asn1_table_get(apr_hash_t *table, const char *key) argument
185 ssl_asn1_table_unset(apr_hash_t *table, const char *key) argument
[all...]
/httpd/support/
H A Dhtdbm.c157 apr_datum_t key, val; local
162 key.dptr = htdbm->username;
163 key.dsize = strlen(htdbm->username);
164 if (apr_dbm_exists(htdbm->dbm, key))
175 return apr_dbm_store(htdbm->dbm, key, val);
180 apr_datum_t key; local
182 key.dptr = htdbm->username;
183 key.dsize = strlen(htdbm->username);
184 if (!apr_dbm_exists(htdbm->dbm, key))
187 return apr_dbm_delete(htdbm->dbm, key);
192 apr_datum_t key, val; local
214 apr_datum_t key, val; local
[all...]
/httpd/modules/arch/win32/
H A Dmod_win32.c148 ap_regkey_t *key; local
163 /* Open the key associated with the script filetype extension */
174 /* Open the key associated with the script filetype extension */
179 /* Open the key for the script command path by:
181 * 1) the 'named' filetype key for ExecCGI/Command
182 * 2) the extension's type key for ExecCGI/Command
186 * 3) the 'named' filetype key for Open/Command
187 * 4) the extension's type key for Open/Command
191 if ((rv = ap_regkey_open(&key, name_key, execcgi_path, APR_READ, p))
193 rv = ap_regkey_value_get(&buffer, key, "",
[all...]
/httpd/modules/proxy/balancers/
H A Dmod_lbmethod_heartbeat.c67 char *key; local
71 key = apr_strtok(str, "&", &strtok_state);
72 while (key) {
73 value = strchr(key, '=');
81 ap_unescape_url(key);
83 apr_table_set(parms, key, value);
86 "Found query arg: %s = %s", key, value);
88 key = apr_strtok(NULL, "&", &strtok_state);
/httpd/modules/session/
H A Dmod_session.c248 * @param key The key to get.
252 const char *key, const char **value)
262 *value = apr_table_get(z->entries, key);
277 * @param key The key to set. The existing key value will be replaced.
281 const char *key, const char *value)
292 apr_table_set(z->entries, key, value);
295 apr_table_unset(z->entries, key);
251 ap_session_get(request_rec * r, session_rec * z, const char *key, const char **value) argument
280 ap_session_set(request_rec * r, session_rec * z, const char *key, const char *value) argument
302 identity_count(int *count, const char *key, const char *val) argument
308 identity_concat(char *buffer, const char *key, const char *val) argument
392 char *key = apr_strtok(pair, psep, &plast); local
[all...]

Completed in 1411 milliseconds

123