C library of DisPass algorithms