C - setting up Sinarps