]> git.sur5r.net Git - openldap/blobdiff - include/ldap_rq.h
Fix select/yield
[openldap] / include / ldap_rq.h
index db83a8da1d82c61e09b6978ff5f7d11afd588a44..de6f32a936b49dbbd81edba71c910a94de911e24 100644 (file)
@@ -1,6 +1,21 @@
 /* $OpenLDAP$ */
+/*
+ * Copyright 2003 The OpenLDAP Foundation, Redwood City, California, USA
+ * 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.
+ */
 
-#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;
@@ -61,4 +76,11 @@ ldap_pvt_runqueue_resched(
        struct re_s* entry
 );
 
+LDAP_F( int )
+ldap_pvt_runqueue_persistent_backload(
+       struct runqueue_s* rq
+);
+
+LDAP_END_DECL
+
 #endif