Home | History | Annotate | Download | only in overlays

Lines Matching defs:pcache

1 /*	$NetBSD: pcache.c,v 1.4 2025/09/05 21:16:32 christos Exp $	*/
25 __RCSID("$NetBSD: pcache.c,v 1.4 2025/09/05 21:16:32 christos Exp $");
2557 /* NOTE: this is a quick workaround to let pcache minimally interact
2561 * and the proxy. This requires pcache to understand pagedResults. */
3697 { "pcache", "backend> <max_entries> <numattrsets> <entry limit> "
3755 { "pcache-", "private database args",
3756 1, 0, STRLENOF("pcache-"), ARG_MAGIC|PC_PRIVATE_DB, pc_cf_gen,
4009 snprintf( c->cr_msg, sizeof( c->cr_msg ), "\"pcache\" directive already provided" );
4082 snprintf( c->cr_msg, sizeof( c->cr_msg ), "\"pcache\" directive not provided yet" );
4200 snprintf( c->cr_msg, sizeof( c->cr_msg ), "\"pcache\" directive not provided yet" );
4471 c->argv[ 0 ] = &argv0[ STRLENOF( "pcache-" ) ];
4498 c->argv[ 0 ] = &argv0[ STRLENOF( "pcache-" ) ];
4660 " has no \"rootdn\", required by \"pcache\".\n",
4766 Debug( LDAP_DEBUG_CONFIG, "pcache: attr set #%d not configured but referenced.\n", i );
4770 Debug( LDAP_DEBUG_CONFIG, "pcache: warning, attr set #%d not configured.\n", i );
4775 Debug( LDAP_DEBUG_CONFIG, "pcache: attr set #%d configured but not referenced.\n", i );
4781 Debug( LDAP_DEBUG_CONFIG, "pcache: warning, %d attr sets configured but not referenced.\n", nrf );
4782 Debug( LDAP_DEBUG_CONFIG, "pcache: warning, %d attr sets not configured.\n", ncf );
4783 Debug( LDAP_DEBUG_CONFIG, "pcache: %d attr sets not configured but referenced.\n", rf );
5698 static slap_overinst pcache;
5712 struct berval debugbv = BER_BVC("pcache");
5790 pcache.on_bi.bi_type = "pcache";
5791 pcache.on_bi.bi_obsolete_names = obsolete_names;
5792 pcache.on_bi.bi_db_init = pcache_db_init;
5793 pcache.on_bi.bi_db_config = pcache_db_config;
5794 pcache.on_bi.bi_db_open = pcache_db_open;
5795 pcache.on_bi.bi_db_close = pcache_db_close;
5796 pcache.on_bi.bi_db_destroy = pcache_db_destroy;
5798 pcache.on_bi.bi_op_search = pcache_op_search;
5799 pcache.on_bi.bi_op_bind = pcache_op_bind;
5801 pcache.on_bi.bi_op_compare = pcache_op_privdb;
5802 pcache.on_bi.bi_op_modrdn = pcache_op_privdb;
5803 pcache.on_bi.bi_op_modify = pcache_op_privdb;
5804 pcache.on_bi.bi_op_add = pcache_op_privdb;
5805 pcache.on_bi.bi_op_delete = pcache_op_privdb;
5807 pcache.on_bi.bi_extended = pcache_op_extended;
5809 pcache.on_bi.bi_entry_release_rw = pcache_entry_release;
5810 pcache.on_bi.bi_chk_controls = pcache_chk_controls;
5812 pcache.on_bi.bi_cf_ocs = pcocs;
5817 return overlay_register( &pcache );