]> git.sur5r.net Git - openldap/blob - servers/slapd/back-sql/entry-id.h
Updated for schemas.
[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 {
16  unsigned long id;
17  unsigned long keyval;
18  unsigned long oc_id;
19  char *dn;
20  struct __backsql_entryID *next;
21 }backsql_entryID;
22
23 backsql_entryID* backsql_dn2id(backsql_info *bi,backsql_entryID* id,SQLHDBC dbh,char *dn);
24 backsql_entryID* backsql_free_entryID(backsql_entryID* id);//returns next
25
26 #endif