/usr/include/spf2/spf_dns_test.h is in libspf2-dev 1.2.10-7build2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 | /*
* This program is free software; you can redistribute it and/or modify
* it under the terms of either:
*
* a) The GNU Lesser General Public License as published by the Free
* Software Foundation; either version 2.1, or (at your option) any
* later version,
*
* OR
*
* b) The two-clause BSD license.
*
* These licenses can be found with the distribution in the file LICENSES
*/
#ifndef INC_SPF_DNS_TEST
#define INC_SPF_DNS_TEST
#include "spf_dns.h"
/**
* @file
* @brief A testing layer for DNS.
*
* The test DNS layer is actually just a thin wrapper around the zone
* DNS layer. It provides all the DNS information needed to do the
* SPF regression tests. This happens to be useful to me when I'm
* developing the library on my laptop and am not connected to the
* net.
*
* While multiple test DNS layers can be created, I can't see any
* use for more than one.
*
* For an overview of the DNS layer system, see spf_dns.h
*/
/**
* These routines take care of creating/destroying/etc. the objects
* that hold the DNS layer configuration. SPF_dns_server_t objects contain
* malloc'ed data, so they must be destroyed when you are finished
* with them, or you will leak memory.
*/
SPF_dns_server_t *SPF_dns_test_new( SPF_dns_server_t *layer_below,
const char *name, int debug);
#endif
|