Beispiel #1
0
// NewRequest creates a new SPF request
func NewRequest(s *Server) *Request {
	r := new(Request)
	r.s = s
	r.r = C.SPF_request_new(s.s)
	return r
}
Beispiel #2
0
func newRequest(s *clientImpl) *request {
	r := new(request)
	r.s = s
	r.r = C.SPF_request_new(s.s)
	return r
}