]> git.sur5r.net Git - openldap/blobdiff - include/ldap_rq.h
Fix single-value delete, replace
[openldap] / include / ldap_rq.h
index b2f0b43090c43e223640183e6954955dfdb12e8f..4fc9c072bb9e8c7deb2e0d1af7ab0d0fb48be2e5 100644 (file)
@@ -1,13 +1,16 @@
 /* $OpenLDAP$ */
-/*
- * Copyright 2003 The OpenLDAP Foundation, Redwood City, California, USA
+/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
+ *
+ * Copyright 1998-2005 The OpenLDAP Foundation.
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, 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.
+ * Public License.
+ *
+ * A copy of this license is available in file LICENSE in the
+ * top-level directory of the distribution or, alternatively, at
+ * <http://www.OpenLDAP.org/license.html>.
  */
 
 #ifndef LDAP_RQ_H
@@ -32,7 +35,7 @@ typedef struct runqueue_s {
        ldap_pvt_thread_mutex_t rq_mutex;
 } runqueue_t;
 
-LDAP_F( void )
+LDAP_F( struct re_s* )
 ldap_pvt_runqueue_insert(
        struct runqueue_s* rq,
        time_t interval,
@@ -40,6 +43,13 @@ ldap_pvt_runqueue_insert(
        void *arg
 );
 
+LDAP_F( struct re_s* )
+ldap_pvt_runqueue_find(
+       struct runqueue_s* rq,
+       ldap_pvt_thread_start_t* routine,
+       void *arg
+);
+
 LDAP_F( void )
 ldap_pvt_runqueue_remove(
        struct runqueue_s* rq,