libtls? What are you trying to do with it? There are several examples in the OpenBSD source code (relayd, ftp), but if you are compiling for linux, maybe you aren't an obsd user with the code handy.
I incorporated it into links+ (links2): https://github.com/trondd555/links-plus/blob/master/connect.c It's pretty easy to use, assuming it does what you would have done with direct openssl calls. Tim.