Lines Matching defs:oc

104 extern ObjectClass *oc_sys_tail;	/* oc.c */
1679 ObjectClass *oc;
1681 for( oc = cfn->c_oc_head; oc; oc_next( &oc )) {
1682 oc_delete( oc );
1683 if ( oc == cfn->c_oc_tail )
1688 ObjectClass *oc, *prev = NULL;
1690 for ( i=0, oc=cfn->c_oc_head; i<c->valx; i++) {
1691 prev = oc;
1692 oc_next( &oc );
1694 oc_delete( oc );
1695 if ( cfn->c_oc_tail == oc ) {
1698 if ( cfn->c_oc_head == oc ) {
1699 oc_next( &oc );
1700 cfn->c_oc_head = oc;
2064 ObjectClass *oc, *prev;
2075 for (i=0, oc = cfn->c_oc_head; i<c->valx; i++) {
2076 prev = oc;
2077 if ( !oc_next( &oc ))
2083 for ( oc_start( &oc ); oc != cfn->c_oc_head; ) {
2084 prev = oc;
2085 oc_next( &oc );
2090 if(parse_oc(c, &oc, prev)) return(1);
2091 if (!cfn->c_oc_head || !c->valx) cfn->c_oc_head = oc;
2092 if (cfn->c_oc_tail == prev) cfn->c_oc_tail = oc;
5244 count_oc( ObjectClass *oc, ConfigOCs ***copp, int *nocs )
5249 for ( sups = oc->soc_sups; sups && *sups; sups++ ) {
5255 co.co_name = &oc->soc_cname;
5295 ObjectClass *oc = oc_bvfind( &oc_at->a_nvals[i] );
5297 assert( oc != NULL );
5298 if ( count_oc( oc, &colst, nocs ) ) {
6913 ObjectClass *oc,
6929 if ( oc && !is_entry_objectclass_or_sub( *ent, oc ) ) {
7007 ObjectClass *oc;
7068 oc = main->co_oc;
7070 if ( oc->soc_required ) {
7071 rc = config_build_attrs( e, oc->soc_required, ad, main->co_table, c );
7075 if ( oc->soc_allowed ) {
7076 rc = config_build_attrs( e, oc->soc_allowed, ad, main->co_table, c );
7081 oc = extra->co_oc;
7083 if ( oc->soc_required ) {
7084 rc = config_build_attrs( e, oc->soc_required, ad, extra->co_table, c );
7088 if ( oc->soc_allowed ) {
7089 rc = config_build_attrs( e, oc->soc_allowed, ad, extra->co_table, c );
7095 rc = structural_class(oc_at->a_vals, &oc, NULL, &text, c->cr_msg,
7104 attr_merge_normalize_one(e, slap_schema.si_ad_structuralObjectClass, &oc->soc_cname, NULL );