version 1.124, 2004/09/04 02:54:30
|
version 1.125, 2004/11/25 21:59:01
|
Line 1
|
Line 1
|
/* filter.c - routines for parsing and dealing with filters */ |
/* filter.c - routines for parsing and dealing with filters */ |
/* $OpenLDAP: pkg/ldap/servers/slapd/filter.c,v 1.123 2004/05/19 17:39:40 kurt Exp $ */ |
/* $OpenLDAP: pkg/ldap/servers/slapd/filter.c,v 1.124 2004/09/04 02:54:30 kurt Exp $ */ |
/* This work is part of OpenLDAP Software <http://www.openldap.org/>. |
/* This work is part of OpenLDAP Software <http://www.openldap.org/>. |
* |
* |
* Copyright 1998-2004 The OpenLDAP Foundation. |
* Copyright 1998-2004 The OpenLDAP Foundation. |
Line 541 void
|
Line 541 void
|
filter_free( Filter *f ) |
filter_free( Filter *f ) |
{ |
{ |
Operation op; |
Operation op; |
|
Opheader ohdr; |
|
|
|
op.o_hdr = &ohdr; |
op.o_tmpmemctx = slap_sl_context( f ); |
op.o_tmpmemctx = slap_sl_context( f ); |
op.o_tmpmfuncs = &slap_sl_mfuncs; |
op.o_tmpmfuncs = &slap_sl_mfuncs; |
filter_free_x( &op, f ); |
filter_free_x( &op, f ); |
Line 776 void
|
Line 778 void
|
filter2bv( Filter *f, struct berval *fstr ) |
filter2bv( Filter *f, struct berval *fstr ) |
{ |
{ |
Operation op; |
Operation op; |
|
Opheader ohdr; |
|
|
|
op.o_hdr = &ohdr; |
op.o_tmpmemctx = NULL; |
op.o_tmpmemctx = NULL; |
op.o_tmpmfuncs = &ch_mfuncs; |
op.o_tmpmfuncs = &ch_mfuncs; |
|
|