2000-03-17 03:08:22 +08:00
|
|
|
#ifndef __BACKSQL_ENTRYID_H__
|
|
|
|
#define __BACKSQL_ENTRYID_H__
|
|
|
|
|
2000-05-27 00:03:32 +08:00
|
|
|
/*
|
|
|
|
* Copyright 1999, Dmitry Kovalev <mit@openldap.org>, All rights reserved.
|
|
|
|
*
|
|
|
|
* Redistribution and use in source and binary forms are permitted only
|
|
|
|
* as authorized by the OpenLDAP Public License. A copy of this
|
|
|
|
* license is available at http://www.OpenLDAP.org/license.html or
|
|
|
|
* in file LICENSE in the top-level directory of the distribution.
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
2000-03-17 03:08:22 +08:00
|
|
|
typedef struct __backsql_entryID
|
|
|
|
{
|
|
|
|
unsigned long id;
|
|
|
|
unsigned long keyval;
|
|
|
|
unsigned long oc_id;
|
|
|
|
char *dn;
|
|
|
|
struct __backsql_entryID *next;
|
|
|
|
}backsql_entryID;
|
|
|
|
|
2000-05-27 00:03:32 +08:00
|
|
|
backsql_entryID* backsql_dn2id(backsql_info *bi,backsql_entryID* id,SQLHDBC dbh,char *dn);
|
2001-09-07 21:04:11 +08:00
|
|
|
backsql_entryID* backsql_free_entryID(backsql_entryID* id);/*returns next*/
|
|
|
|
|
|
|
|
#endif
|
2000-03-17 03:08:22 +08:00
|
|
|
|