Go to the source code of this file.
|
int | main (int argc, char *argv[]) |
|
◆ APPEND_RESULT
#define APPEND_RESULT |
( |
|
n | ) |
|
Value: do { \
RESIZE_RESULT(strlen(partial_result)); \
strcat(result, partial_result); \
} while(0)
const char * SPF_strresult(SPF_result_t result)
Definition at line 137 of file spfquery.c.
◆ CONTINUE_ERROR
#define CONTINUE_ERROR do { res = 255; continue; } while(0) |
◆ FAIL_ERROR
#define FAIL_ERROR do { res = 255; goto error; } while(0) |
◆ FALSE
◆ FREE
#define FREE |
( |
|
x, |
|
|
|
f |
|
) |
| do { if ((x)) (f)((x)); (x) = NULL; } while(0) |
◆ FREE_REQUEST
◆ FREE_RESPONSE
◆ RESIZE_RESULT
#define RESIZE_RESULT |
( |
|
n | ) |
|
Value: do { \
result_len = 256 + n; \
result = malloc(result_len); \
result[0] = '\0'; \
} \
else if (strlen(result) + n >= result_len) { \
result_len = result_len + (result_len >> 1) + 8 + n; \
result = realloc(result, result_len); \
} \
} while(0)
Definition at line 126 of file spfquery.c.
◆ SPF_TEST_VERSION
#define SPF_TEST_VERSION "3.0" |
◆ TRUE
◆ WARN_ERROR
#define WARN_ERROR do { res = 255; } while(0) |
◆ X_OR_EMPTY
#define X_OR_EMPTY |
( |
|
x | ) |
((x) ? (x) : "") |
◆ main()
int main |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |