/*! \brief * Duplicate a single rr_t structure using pkg_malloc */ int duplicate_rr(rr_t** _new, rr_t* _r) { return do_duplicate_rr(_new, _r, 0); }
/*! \brief * Duplicate a single rr_t structure using pkg_malloc */ int shm_duplicate_rr(rr_t** _new, rr_t* _r) { return do_duplicate_rr(_new, _r, 1); }
/* * Duplicate a single rr_t structure or the whole list (based on * "first" param) using shm_malloc */ int shm_duplicate_rr(rr_t** _new, rr_t* _r, int first) { return do_duplicate_rr(_new, _r, 1, first); }