Hanoi nginx module in C