Hi Wyllys, Wyllys Ingersoll p????e v ??t 30. 09. 2008 v 13:39 -0400: > Nicolas Williams wrote: > >> The diffmarked manpage in the case materials explained it a bit better: > >> > > > > For some reason said file does not appear on the opensolaris.org page > > for this case. Can someone tell me how to make it appear there? > > > > In the meantime I've attached it to this post. > > > > Nico > > > > > Why are these functions part of libldap and not in their own library ?
Because 15 years history of libldap? :-) > > They standalone very nicely > and are useful to other projects that have nothing to do with LDAP. > KMF needed BER/DER > functions but with some additional format conversions that were not > supported, so we ended up > making a project-private copy and modifying them to suit our needs. If > they had already been > part of a standalone library, we would have proposed changes to that > library and kept it public. > > So, has anyone considered factoring the ber_* functions out of libldap > and created a new lib dedicated > to parsing and formatting ASN.1? > ber_printf()/ber_scanf() are committed interfaces of libldap in Solaris, so you can use them in other projects (they don't depend in internal status of libldap). If you want to split them out of libldap, then this should be discussed with upstream (Mozilla) at first. Also, if you need to enhance them, you can cooperate with upstream. We already forked the code once already and it would be better to not to do it even more. Best regards, Milan