generate CRL in openssl using C code
===

I need to generate a CRL using openssl library in my C code.
[This page][1] describes how to do this, step by step using the command-line.

What I need is to do the exact procedure, but in C code (not command-line).

what functions should I use to accomplish this?
Is there any manual?


  [1]: http://gagravarr.org/writing/openssl-certs/ca.shtml