Here is the API implementing current design document.
https://fedorahosted.org/sssd/wiki/DesignDocs/PeriodicTasks
be_ptask.h is missing documentation of public interface. I'll amend the
patch once the design document is fully acked.
I haven't tried it yet, I'll do that when implementing
periodical refresh of expired records.