]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/back-sql/entry-id.h
Add a safety check to bvcasechr
[openldap] / servers / slapd / back-sql / entry-id.h
index 0411eaa63ffb9107f88211645ca3c756aa3b7ead..5792d85eea8fb07deb0c9323eaded0f3ebed1fa0 100644 (file)
@@ -1,6 +1,16 @@
 #ifndef __BACKSQL_ENTRYID_H__
 #define __BACKSQL_ENTRYID_H__
 
+/*
+ *      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.
+ */
+
+
 typedef struct __backsql_entryID
 {
  unsigned long id;
@@ -10,7 +20,8 @@ typedef struct __backsql_entryID
  struct __backsql_entryID *next;
 }backsql_entryID;
 
-backsql_entryID* backsql_dn2id(backsql_entryID* id,SQLHDBC dbh,char *dn);
-backsql_entryID* backsql_free_entryID(backsql_entryID* id);//returns next
+backsql_entryID* backsql_dn2id(backsql_info *bi,backsql_entryID* id,SQLHDBC dbh,char *dn);
+backsql_entryID* backsql_free_entryID(backsql_entryID* id);/*returns next*/
+
+#endif
 
-#endif
\ No newline at end of file