X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=include%2Fldap_rq.h;h=f92f42381000dd6d11e8e8d7643be9a33a888bb2;hb=588f1f61850b02d87b418480b3eab031ca5fdaf1;hp=084684eb31c5bdeb46a1bf9dfd8b559fb1956bfd;hpb=e8144158f3d418508bc465a83eef09601859b4a7;p=openldap diff --git a/include/ldap_rq.h b/include/ldap_rq.h index 084684eb31..f92f423810 100644 --- a/include/ldap_rq.h +++ b/include/ldap_rq.h @@ -1,16 +1,24 @@ /* $OpenLDAP$ */ -/* - * Copyright 2003 The OpenLDAP Foundation, Redwood City, California, USA +/* This work is part of OpenLDAP Software . + * + * Copyright 1998-2003 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 + * . */ -#ifdef LDAP_SYNCREPL +#ifndef LDAP_RQ_H +#define LDAP_RQ_H 1 + +#include + +LDAP_BEGIN_DECL typedef struct re_s { struct timeval next_sched; @@ -68,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 ) @@ -76,4 +85,6 @@ ldap_pvt_runqueue_persistent_backload( struct runqueue_s* rq ); +LDAP_END_DECL + #endif