X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=servers%2Fslapd%2Fcomponent.h;h=5cc3b4c9cb34d1a033c3c4537c884a29939a9a6e;hb=5631f25839a4a83521993639a96909267ea7bce6;hp=876e96b7998d2c4659b81f44caa7b7ff5785b4e8;hpb=3492452a5b808aae97b8072a7a49f15e3a9a199d;p=openldap
diff --git a/servers/slapd/component.h b/servers/slapd/component.h
index 876e96b799..5cc3b4c9cb 100644
--- a/servers/slapd/component.h
+++ b/servers/slapd/component.h
@@ -1,7 +1,25 @@
+/* component.h */
+/* $OpenLDAP$ */
+/* This work is part of OpenLDAP Software .
+ *
+ * Copyright 2004-2005 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
+ * .
+ */
+
#ifndef _H_SLAPD_COMPONENT
#define _H_SLAPD_COMPONENT
#include "portable.h"
+
#include
#include
#include
@@ -39,20 +57,20 @@ typedef enum { ASN_BASIC, ASN_COMPOSITE } AsnType;
*/
#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