CGI applications in C library