wahern / dns

dns.c: Single file non-blocking DNS C library without callbacks or external dependencies.
http://25thandclement.com/~william/projects/dns.c.html
MIT License
256 stars 64 forks source link

SPF API Linkage and Visibility #10

Open wahern opened 8 years ago

wahern commented 8 years ago

Copy linkage and visibility improvements from dns.c to spf.c. Specifically, qualify API functions with SPF_PUBLIC in spf.h, and move extern objects behind a function interface so visibility can be easily controlled using the simple SPF_PUBLIC macro.