spf_example.c File Reference

#include "spf.h"

Include dependency graph for spf_example.c:

Go to the source code of this file.


#define VALID_STR(x)   (x ? x : "")


int main (int argc, char *argv[])

Define Documentation

#define VALID_STR (  )     (x ? x : "")

Referenced by main().

Function Documentation

int main ( int  argc,
char *  argv[] 

Definition at line 114 of file spf_example.c.

References getopt(), NULL, optarg, optind, SPF_DNS_CACHE, SPF_error_code(), SPF_error_errorp(), SPF_error_message(), SPF_request_free(), SPF_request_new(), SPF_request_query_mailfrom(), SPF_request_query_rcptto(), SPF_request_set_env_from(), SPF_request_set_helo_dom(), SPF_request_set_ipv4_str(), SPF_response_errcode(), SPF_response_free(), SPF_response_get_header_comment(), SPF_response_get_received_spf(), SPF_response_get_smtp_comment(), SPF_response_message(), SPF_response_messages(), SPF_response_result(), SPF_RESULT_PASS, SPF_server_free(), SPF_server_new(), SPF_strerror(), SPF_strresult(), and VALID_STR.

Here is the call graph for this function:

Generated on Tue Nov 4 13:27:53 2008 for libspf2 by  doxygen 1.5.4