<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <div class="moz-cite-prefix">On 12/22/2021 11:45 AM, David von
      Oheimb wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:20211222194528.A3EFFE0A14@mta.openssl.org">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <p>Yet beware that a general-purpose library function that has (at
        least) the flexibility offered by that app would need a
        non-trivial set of parameters.<br>
      </p>
    </blockquote>
    <br>
    I suspect that it would end up looking a lot like the existing API. 
    There might be a few shortcuts possible, but fundamentally you need
    to set a significant (and variable) number of parameters.  The
    straightforward way to do that is with a "create object" function
    and "set parameter into object" functions - and some of those
    parameters themselves need a similar set of functions.<br>
    <br>
    The existing API isn't bad, once you figure out how to use it.  It's
    been several years since I wrote a CSR generator and so I don't
    remember how I figured it out, but I think I might have had to look
    at req.c rather than finding documentation.<br>
    <br>
    <pre class="moz-signature" cols="72">-- 
Jordan Brown, Oracle ZFS Storage Appliance, Oracle Solaris</pre>
  </body>
</html>