C hash ring library