+/* component.h */
+/* $OpenLDAP$ */
+/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
+ *
+ * Copyright 2004-2014 The OpenLDAP Foundation.
+ * Portions Copyright 2004 by IBM Corporation.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted only as authorized by the OpenLDAP
+ * Public License.
+ *
+ * A copy of this license is available in the file LICENSE in the
+ * top-level directory of the distribution or, alternatively, at
+ * <http://www.OpenLDAP.org/license.html>.
+ */
+
#ifndef _H_SLAPD_COMPONENT
#define _H_SLAPD_COMPONENT
#include "portable.h"
+
#include <ac/string.h>
#include <ac/socket.h>
#include <ldap_pvt.h>
*/
#define MAX_ALIASING_ENTRY 128
typedef struct comp_attribute_aliasing {
- AttributeDescription* aa_aliasing_ad;
- AttributeDescription* aa_aliased_ad;
- ComponentFilter* aa_cf;
+ AttributeDescription* aa_aliasing_ad;
+ AttributeDescription* aa_aliased_ad;
+ ComponentFilter* aa_cf;
MatchingRule* aa_mr;
char* aa_cf_str;
} AttributeAliasing;
typedef struct comp_matchingrule_aliasing {
- MatchingRule* mra_aliasing_attr;
- MatchingRule* mra_aliased_attr;
- AttributeDescription* mra_attr;
- ComponentFilter* mra_cf;
+ MatchingRule* mra_aliasing_attr;
+ MatchingRule* mra_aliased_attr;
+ AttributeDescription* mra_attr;
+ ComponentFilter* mra_cf;
MatchingRule* mra_mr;
- char* aa_cf_str;
+ char* mra_cf_str;
} MatchingRuleAliasing;
#endif