fmd_log_rotate
extern fmd_log_t *fmd_log_rotate(fmd_log_t *);
if ((new = fmd_log_rotate(old)) != NULL) {