wiki:LibraryNaming

This wikipage is to brainstorm for library naming (like libb10foo.so) and locations for libraries (like lib/bind10/libb10foo.so). See tickets #2134 and #2071.

Shane says:

While putting libraries into a directory is nice and tidy, it still leaves us dependent on directory path orderings when linking. I think I'd prefer for us to use a naming convention, like:

   libb10-acl.so
   libb10-log.so
   libb10-util.so

I note that we already have a convention for data source libraries, although those are appended rather than prepended:

   memory_ds.so
   sqlite3_ds.so

I guess there is nothing wrong with appending "_ds", although maybe these should go into a separate directory, like lib/datasrc/ perhaps.

This seems to be a list of all of our current libraries:

  • libacl.so
  • libasiodns.so
  • libasiolink.so
  • libbench.so
  • libcache.so
  • libcc.so
  • libcfgclient.so
  • libcryptolink.so
  • libdatasrc.so
  • libdhcp++.so
  • libdhcp.so
  • libdns++.so
  • libdnsacl.so
  • libexceptions.so
  • libfake_session.so
  • liblog.so
  • libnsas.so
  • libperfdhcp++.so
  • libpydnspp.so
  • libresolve.so
  • libserver_common.so
  • libstatistics.so
  • libtestutils.so
  • libutil.so
  • libutil_io.so
  • libxfr.so
  • memory_ds.so
  • sqlite3_ds.so
Last modified 5 years ago Last modified on Jul 31, 2012, 11:33:08 AM