]> git.sur5r.net Git - openldap/blob - servers/slapd/back-sql/entry-id.h
Experimental cruft to propagate valid Operation to SASL callbacks.
[openldap] / servers / slapd / back-sql / entry-id.h
1 #ifndef __BACKSQL_ENTRYID_H__
2 #define __BACKSQL_ENTRYID_H__
3
4 /*
5  *       Copyright 1999, Dmitry Kovalev <mit@openldap.org>, All rights reserved.
6  *
7  *       Redistribution and use in source and binary forms are permitted only
8  *       as authorized by the OpenLDAP Public License.  A copy of this
9  *       license is available at http://www.OpenLDAP.org/license.html or
10  *       in file LICENSE in the top-level directory of the distribution.
11  */
12
13
14 typedef struct backsql_entryID {
15         unsigned long           id;
16         unsigned long           keyval;
17         unsigned long           oc_id;
18         struct berval           dn;
19         struct backsql_entryID  *next;
20 } backsql_entryID;
21
22 int backsql_dn2id( backsql_info *bi, backsql_entryID *id,
23                 SQLHDBC dbh, struct berval *dn );
24 int backsql_has_children( backsql_info *bi, SQLHDBC dbh, struct berval *dn );
25
26 /* returns next */
27 backsql_entryID *backsql_free_entryID( backsql_entryID *id, int freeit );
28
29 #endif /* __BACKSQL_ENTRYID_H__ */
30