Searched refs:id (Results 1 - 25 of 45) sorted by relevance

12

/httpd/include/
H A Dheartbeat.h47 int id; member in struct:hm_slot_server_t
H A Dap_socache.h67 * @param id Unique ID for the object (binary blob)
69 * @param idlen Length of id blob
80 const unsigned char *id,
143 * @param id Unique ID for the object; binary blob
144 * @param idlen Length of id blob
152 const unsigned char *id, unsigned int idlen,
162 * @param id Unique ID for the object; binary blob
163 * @param idlen Length of id blob
172 const unsigned char *id, unsigned int idlen,
181 * @param id Uniqu
[all...]
/httpd/modules/slotmem/
H A Dmod_slotmem_plain.c149 static apr_status_t slotmem_dptr(ap_slotmem_instance_t *score, unsigned int id, void **mem) argument
156 if (id >= score->num)
159 ptr = (char *)score->base + score->size * id;
166 static apr_status_t slotmem_get(ap_slotmem_instance_t *slot, unsigned int id, unsigned char *dest, apr_size_t dest_len) argument
176 inuse = slot->inuse + id;
177 if (id >= slot->num) {
183 ret = slotmem_dptr(slot, id, &ptr);
192 static apr_status_t slotmem_put(ap_slotmem_instance_t *slot, unsigned int id, unsigned char *src, apr_size_t src_len) argument
202 inuse = slot->inuse + id;
203 if (id >
243 slotmem_grab(ap_slotmem_instance_t *slot, unsigned int *id) argument
267 slotmem_fgrab(ap_slotmem_instance_t *slot, unsigned int id) argument
283 slotmem_release(ap_slotmem_instance_t *slot, unsigned int id) argument
[all...]
H A Dmod_slotmem_shm.c532 unsigned int id, void **mem)
539 if (id >= slot->desc.num) {
543 ptr = (char *)slot->base + slot->desc.size * id;
551 static apr_status_t slotmem_get(ap_slotmem_instance_t *slot, unsigned int id, argument
562 inuse = slot->inuse + id;
563 if (id >= slot->desc.num) {
569 ret = slotmem_dptr(slot, id, &ptr);
578 static apr_status_t slotmem_put(ap_slotmem_instance_t *slot, unsigned int id, argument
589 inuse = slot->inuse + id;
590 if (id >
531 slotmem_dptr(ap_slotmem_instance_t *slot, unsigned int id, void **mem) argument
630 slotmem_grab(ap_slotmem_instance_t *slot, unsigned int *id) argument
659 slotmem_fgrab(ap_slotmem_instance_t *slot, unsigned int id) argument
683 slotmem_release(ap_slotmem_instance_t *slot, unsigned int id) argument
[all...]
/httpd/modules/metadata/
H A Dmod_unique_id.c49 * not matter. In order for the id to not be unique, the same thread would
207 new_unique_id.thread_index = htonl((unsigned int)r->connection->id);
248 * There are two ways the generation of a unique id can be triggered:
257 const char **id)
266 *id = apr_table_get(r->subprocess_env, "UNIQUE_ID");
268 if (!*id)
269 *id = gen_unique_id(r);
275 const char *id = NULL; local
280 id = apr_table_get(r->subprocess_env, "REDIRECT_UNIQUE_ID");
283 if (!id) {
256 generate_log_id(const conn_rec *c, const request_rec *r, const char **id) argument
[all...]
/httpd/modules/loggers/
H A Dmod_log_forensic.c20 * %{forensic-id}n in the custom log format, for example:
21 * CustomLog logs/custom "%h %l %u %t \"%r\" %>s %b %{forensic-id}n"
186 const char *id; local
194 if (!(id = apr_table_get(r->subprocess_env, "UNIQUE_ID"))) {
197 id = apr_psprintf(r->pool, "%" APR_PID_T_FMT ":%lx:%x", getpid(),
200 ap_set_module_config(r->request_config, &log_forensic_module, (char *)id);
207 h.count += 1+strlen(id)+1+count_string(r->the_request)+1+1;
213 strcpy(h.pos, id);
226 apr_table_setn(r->notes, "forensic-id", id);
235 const char *id = ap_get_module_config(r->request_config, local
[all...]
/httpd/modules/cache/
H A Dmod_socache_dc.c95 const unsigned char *id, unsigned int idlen,
106 if (!DC_CTX_add_session(ctx->dc, id, idlen, der, der_len,
116 const unsigned char *id, unsigned int idlen,
123 if (!DC_CTX_get_session(ctx->dc, id, idlen, dest, *destlen, &data_len)) {
137 server_rec *s, const unsigned char *id,
141 if (!DC_CTX_remove_session(ctx->dc, id, idlen)) {
94 socache_dc_store(ap_socache_instance_t *ctx, server_rec *s, const unsigned char *id, unsigned int idlen, apr_time_t expiry, unsigned char *der, unsigned int der_len, apr_pool_t *p) argument
115 socache_dc_retrieve(ap_socache_instance_t *ctx, server_rec *s, const unsigned char *id, unsigned int idlen, unsigned char *dest, unsigned int *destlen, apr_pool_t *p) argument
136 socache_dc_remove(ap_socache_instance_t *ctx, server_rec *s, const unsigned char *id, unsigned int idlen, apr_pool_t *p) argument
H A Dmod_socache_memcache.c177 /* Converts (binary) id into a key prefixed by the predetermined
179 * the id won't fit in the key buffer. */
181 const unsigned char *id, unsigned int idlen,
190 ap_bin2hex(id, idlen, cp);
196 const unsigned char *id, unsigned int idlen,
204 if (socache_mc_id2key(ctx, id, idlen, buf, sizeof buf)) {
228 const unsigned char *id, unsigned int idlen,
236 if (socache_mc_id2key(ctx, id, idlen, buf, sizeof buf)) {
264 const unsigned char *id,
270 if (socache_mc_id2key(ctx, id, idle
180 socache_mc_id2key(ap_socache_instance_t *ctx, const unsigned char *id, unsigned int idlen, char *key, apr_size_t keylen) argument
195 socache_mc_store(ap_socache_instance_t *ctx, server_rec *s, const unsigned char *id, unsigned int idlen, apr_time_t expiry, unsigned char *ucaData, unsigned int nData, apr_pool_t *p) argument
227 socache_mc_retrieve(ap_socache_instance_t *ctx, server_rec *s, const unsigned char *id, unsigned int idlen, unsigned char *dest, unsigned int *destlen, apr_pool_t *p) argument
263 socache_mc_remove(ap_socache_instance_t *ctx, server_rec *s, const unsigned char *id, unsigned int idlen, apr_pool_t *p) argument
[all...]
H A Dmod_socache_shmcb.c97 /* length of the used data which contains the id */
118 * structures. The hash table is indexed by SHMCB_MASK(id). Each
159 /* This macro takes a pointer to the header and an id and returns a
161 #define SHMCB_MASK(pHeader, id) \
162 SHMCB_SUBCACHE((pHeader), *(id) & ((pHeader)->subcache_num - 1))
166 #define SHMCB_MASK_DBG(pHeader, id) \
167 *(id), (*(id) & ((pHeader)->subcache_num - 1))
258 const unsigned char *id, unsigned int id_len,
262 const unsigned char *id, unsigne
478 socache_shmcb_store(ap_socache_instance_t *ctx, server_rec *s, const unsigned char *id, unsigned int idlen, apr_time_t expiry, unsigned char *encoded, unsigned int len_encoded, apr_pool_t *p) argument
516 socache_shmcb_retrieve(ap_socache_instance_t *ctx, server_rec *s, const unsigned char *id, unsigned int idlen, unsigned char *dest, unsigned int *destlen, apr_pool_t *p) argument
543 socache_shmcb_remove(ap_socache_instance_t *ctx, server_rec *s, const unsigned char *id, unsigned int idlen, apr_pool_t *p) argument
750 shmcb_subcache_store(server_rec *s, SHMCBHeader *header, SHMCBSubcache *subcache, unsigned char *data, unsigned int data_len, const unsigned char *id, unsigned int id_len, apr_time_t expiry) argument
854 shmcb_subcache_retrieve(server_rec *s, SHMCBHeader *header, SHMCBSubcache *subcache, const unsigned char *id, unsigned int idlen, unsigned char *dest, unsigned int *destlen) argument
917 shmcb_subcache_remove(server_rec *s, SHMCBHeader *header, SHMCBSubcache *subcache, const unsigned char *id, unsigned int idlen) argument
978 unsigned char *id = *buf; local
[all...]
H A Dmod_socache_dbm.c76 server_rec *s, const unsigned char *id,
192 server_rec *s, const unsigned char *id,
220 dbmkey.dptr = (char *)id;
261 const unsigned char *id, unsigned int idlen,
277 dbmkey.dptr = (char *)id;
319 socache_dbm_remove(ctx, s, id, idlen, p);
327 server_rec *s, const unsigned char *id,
335 dbmkey.dptr = (char *)id;
191 socache_dbm_store(ap_socache_instance_t *ctx, server_rec *s, const unsigned char *id, unsigned int idlen, apr_time_t expiry, unsigned char *ucaData, unsigned int nData, apr_pool_t *pool) argument
260 socache_dbm_retrieve(ap_socache_instance_t *ctx, server_rec *s, const unsigned char *id, unsigned int idlen, unsigned char *dest, unsigned int *destlen, apr_pool_t *p) argument
326 socache_dbm_remove(ap_socache_instance_t *ctx, server_rec *s, const unsigned char *id, unsigned int idlen, apr_pool_t *p) argument
/httpd/modules/ssl/
H A Dssl_scache.c113 BOOL ssl_scache_store(server_rec *s, UCHAR *id, int idlen, argument
137 rv = mc->sesscache->store(mc->sesscache_context, s, id, idlen,
147 SSL_SESSION *ssl_scache_retrieve(server_rec *s, UCHAR *id, int idlen, argument
160 rv = mc->sesscache->retrieve(mc->sesscache_context, s, id, idlen,
176 void ssl_scache_remove(server_rec *s, UCHAR *id, int idlen, argument
185 mc->sesscache->remove(mc->sesscache_context, s, id, idlen, p);
H A Dssl_util_ssl.c362 char **id = (char **)ids->elts; local
366 if (!id[i])
374 is_wildcard = (*id[i] == '*' && *(id[i]+1) == '.') ? TRUE : FALSE;
383 (cp = ap_strchr_c(name, '.')) && !strcasecmp(id[i]+1, cp)) ||
384 !strcasecmp(id[i], name)) {
393 matched == TRUE ? "" : "NOT ", id[i]);
584 char *SSL_SESSION_id2sz(unsigned char *id, int idlen, argument
595 ap_bin2hex(id, idlen, str);
H A Dssl_util.c44 char *id; local
59 id = apr_psprintf(p, "%s:%lu", host, (unsigned long)port);
60 return id;
321 static void ssl_util_thr_id(CRYPTO_THREADID *id) argument
324 * id is a structure twice that big. Use the TCB pointer instead as a
333 CRYPTO_THREADID_set_numeric(id, psaptr->PSATOLD);
335 CRYPTO_THREADID_set_numeric(id, (unsigned long) apr_os_thread_current());
344 * id is a structure twice that big. Use the TCB pointer instead as a
H A Dssl_util_stapling.c395 OCSP_CERTID *id = NULL; local
411 id = OCSP_CERTID_dup(cinf->cid);
412 if (!id)
414 if (!OCSP_request_add0_id(req, id))
416 id = NULL;
498 if (id)
499 OCSP_CERTID_free(id);
H A Dssl_engine_kernel.c244 r->connection->id,
774 request_rec *id = r->main ? r->main : r; local
806 (unsigned char *)&id,
807 sizeof(id));
1651 unsigned char *id,
1671 "request=%s status=%s id=%s %s(session %s)",
1673 SSL_SESSION_id2sz(id, idlen, buf, sizeof(buf)),
1691 unsigned char *id; local
1705 id = (unsigned char *)SSL_SESSION_get_id(session, &idlen);
1707 id
1649 ssl_session_log(server_rec *s, const char *request, unsigned char *id, unsigned int idlen, const char *status, const char *result, long timeout) argument
1734 ssl_callback_GetSessionCacheEntry(SSL *ssl, unsigned char *id, int idlen, int *do_copy) argument
1774 unsigned char *id; local
[all...]
H A Dssl_ct_log_config.c56 "SELECT * FROM loginfo WHERE id = 0", 0);
221 APLOGNO(02757) "Log id \"%s\" not valid", log_id);
284 APLOGNO(02760) "Provided log id doesn't match digest "
367 const char *id = apr_dbd_get_entry(driver, row, cur++); local
376 "Log config: Record %s, log id %s, public key file %s, distrusted %s, URL %s, time %s->%s",
377 id,
H A Dssl_engine_pphrase.c91 const char *id, int i)
94 char *key = apr_psprintf(p, "%s:%d", id, i);
90 asn1_table_vhost_key(SSLModConfigRec *mc, apr_pool_t *p, const char *id, int i) argument
/httpd/modules/ldap/
H A Dutil_ldap_cache_mgr.c580 char *util_ald_cache_display_stats(request_rec *r, util_ald_cache_t *cache, char *name, char *id) argument
606 if (id) {
610 id,
663 char *argfmt = "cache=%s&id=%d&off=%d";
664 char *scanfmt = "cache=%4s&id=%u&off=%u%1s";
679 unsigned int id, off; local
682 if ((3 == sscanf(r->args, scanfmt, cachetype, &id, &off, lint)) &&
683 (id < util_ldap_cache->size)) {
685 if ((p = util_ldap_cache->nodes[id]) != NULL) {
H A Dutil_ldap_cache.h201 char *util_ald_cache_display_stats(request_rec *r, util_ald_cache_t *cache, char *name, char *id);
/httpd/server/
H A Dlog.c596 * c: log conn log id if available and not a once-per-request log line
597 * else: log request log id if available
764 apr_uint64_t id, tmp; local
770 id = (apr_uint64_t)r->request_time;
773 id = (apr_uint64_t)apr_time_now();
780 id ^= tmp;
784 id ^= tmp;
789 id ^= tmp;
796 id ^= tmp;
800 len = apr_base64_encode_len(sizeof(id)); /* include
814 const char **id; local
[all...]
/httpd/support/
H A Dctlogconfig30 + 'id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, '
46 print >> sys.stderr, 'A record id was not provided'
50 stmt = 'SELECT * FROM loginfo WHERE id = ?'
64 print >> sys.stderr, 'A log id was not provided'
68 print >> sys.stderr, 'The log id is not formatted properly'
114 stmt = 'UPDATE loginfo SET public_key = ? WHERE id = ?'
119 # can't specify more than one of record-id and log-id
129 stmt = 'UPDATE loginfo SET url = ? WHERE id = ?'
149 stmt = 'DELETE FROM loginfo WHERE id
[all...]
/httpd/modules/proxy/balancers/
H A Dmod_lbmethod_heartbeat.c54 int id; member in struct:hb_server_t
231 server->id = slotserver->id;
/httpd/modules/generators/
H A Dmod_status.c163 int id; member in struct:stat_opt
266 while (status_options[i].id != STAT_OPT_END) {
269 switch (status_options[i].id) {
/httpd/server/mpm/prefork/
H A Dprefork.c1296 char id[16]; local
1339 if ((rv = SAFE_ACCEPT((apr_snprintf(id, sizeof id, "%i", i),
1342 id, s, pconf, 0))))) {
/httpd/modules/proxy/
H A Dmod_proxy_balancer.c761 char *id; local
767 * During create_proxy_config() we created a dummy id. Now that
768 * we have identifying info, we can create the real id
770 id = apr_psprintf(pconf, "%s.%s.%d.%s.%s.%u.%s",
778 conf->id = apr_psprintf(pconf, "p%x",
779 ap_proxy_hashfunc(id, PROXY_HASHFUNC_DEFAULT));
797 rv = storage->create(&new, conf->id,
817 /* now that we have the right id, we need to redo the sname field */
820 sname = apr_pstrcat(pconf, conf->id, "_", sname, NULL);
925 ap_rvputs(r, "<td><label for='", name, "1'>On</label> <input name='", name, "' id
[all...]

Completed in 4770 milliseconds

12