update functions used in librabbitmq-c to current functions