*/
#ifdef LDAP_COMP_MATCH
-#include <asn-incl.h>
+#ifndef _H_ASN
+#define _H_ASN
-#define AsnId AsnOcts
#define NUM_ENCODING_TYPE 2
-typedef enum { BER, GSER } EncRulesType;
typedef enum { ASN_BASIC, ASN_COMPOSITE } AsnType;
-static EncRulesType rulesListG[NUM_ENCODING_TYPE] = { BER, GSER };
typedef enum AsnTypeId {
BASICTYPE_BOOLEAN, /* 1 */
ASNTYPE_END
} AsnTypeId;
#endif
+#endif
int rc = LDAP_COMPARE_TRUE;
int len;
ComponentSyntaxInfo* csi_attr, *csi_assert;
- GenBuf* genBuf;
- ExpBuf* buf;
if ( (ca->ca_ma_rule->smr_usage & SLAP_MR_COMPONENT) && ca->ca_cf ) {
/* componentFilterMatch inside of componentFilterMatch */
EQUALITY certificateExactMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.8 )
-# Component Filter Testing
-attributetype ( 1.3.6.1.4.1.4203.666.1.33 NAME 'componentTest'
- DESC 'RFC3687 Component Matching , use ;gser'
- EQUALITY componentFilterMatch
- SYNTAX 1.2.36.79672281.1.5.2 )
-
# Must be transferred using ;binary
attributetype ( 2.5.4.38 NAME 'authorityRevocationList'
DESC 'RFC2256: X.509 authority revocation list, use ;binary'
DESC 'RFC2256: a person'
SUP top STRUCTURAL
MUST ( sn $ cn )
- MAY ( userPassword $ telephoneNumber $ seeAlso $ description $componentTest ) )
+ MAY ( userPassword $ telephoneNumber $ seeAlso $ description ) )
objectclass ( 2.5.6.7 NAME 'organizationalPerson'
DESC 'RFC2256: an organizational person'
#include "asn.h"
typedef int encoder_func LDAP_P((
- GenBuf* b,
+ void* b,
void* comp));
struct slap_component_syntax_info;
typedef int decoder_func LDAP_P((
- GenBuf* b,
+ void* b,
struct slap_component_syntax_info** comp_syn_info,
unsigned int* len,
int mode));