// NewServer creates a new server func NewServer() *Server { srv := new(Server) srv.s = C.SPF_server_new(C.SPF_DNS_CACHE, 0) return srv }
// NewClient creates a new SPF client. func NewClient() Client { client := new(clientImpl) client.s = C.SPF_server_new(C.SPF_DNS_RESOLV, 0) return client }