]> git.sur5r.net Git - openldap/blobdiff - include/ldap_rq.h
Sync with HEAD
[openldap] / include / ldap_rq.h
index 0c1d1c158fd69cc7738d919a0349daf0eacb4da8..d23c1d2535b2bea66a7d8859512e5e6ca32a5871 100644 (file)
@@ -1,6 +1,24 @@
 /* $OpenLDAP$ */
+/* 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 in file LICENSE in the
+ * top-level directory of the distribution or, alternatively, at
+ * <http://www.OpenLDAP.org/license.html>.
+ */
 
-#ifdef LDAP_SYNCREPL
+#ifndef LDAP_RQ_H
+#define LDAP_RQ_H 1
+
+#include <ldap_cdefs.h>
+
+LDAP_BEGIN_DECL
 
 typedef struct re_s {
        struct timeval next_sched;
@@ -58,7 +76,8 @@ ldap_pvt_runqueue_isrunning(
 LDAP_F( void )
 ldap_pvt_runqueue_resched(
        struct runqueue_s* rq,
-       struct re_s* entry
+       struct re_s* entry,
+       int defer
 );
 
 LDAP_F( int )
@@ -66,4 +85,6 @@ ldap_pvt_runqueue_persistent_backload(
        struct runqueue_s* rq
 );
 
+LDAP_END_DECL
+
 #endif