dlz_dlopen.h (234010) | dlz_dlopen.h (254897) |
---|---|
1/* 2 * Copyright (C) 2011, 2012 Internet Systems Consortium, Inc. ("ISC") 3 * 4 * Permission to use, copy, modify, and/or distribute this software for any 5 * purpose with or without fee is hereby granted, provided that the above 6 * copyright notice and this permission notice appear in all copies. 7 * 8 * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH --- 16 unchanged lines hidden (view full) --- 25 26ISC_LANG_BEGINDECLS 27 28/* 29 * This header provides a minimal set of defines and typedefs needed 30 * for the entry points of an external DLZ module for bind9. 31 */ 32 | 1/* 2 * Copyright (C) 2011, 2012 Internet Systems Consortium, Inc. ("ISC") 3 * 4 * Permission to use, copy, modify, and/or distribute this software for any 5 * purpose with or without fee is hereby granted, provided that the above 6 * copyright notice and this permission notice appear in all copies. 7 * 8 * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH --- 16 unchanged lines hidden (view full) --- 25 26ISC_LANG_BEGINDECLS 27 28/* 29 * This header provides a minimal set of defines and typedefs needed 30 * for the entry points of an external DLZ module for bind9. 31 */ 32 |
33#define DLZ_DLOPEN_VERSION 1 | 33#define DLZ_DLOPEN_VERSION 2 |
34 35/* 36 * dlz_dlopen_version() is required for all DLZ external drivers. It 37 * should return DLZ_DLOPEN_VERSION 38 */ 39typedef int dlz_dlopen_version_t (unsigned int *flags); 40 41/* --- 18 unchanged lines hidden (view full) --- 60 const char *name); 61 62/* 63 * dlz_dlopen_lookup() is required for all DLZ external drivers 64 */ 65typedef isc_result_t dlz_dlopen_lookup_t (const char *zone, 66 const char *name, 67 void *dbdata, | 34 35/* 36 * dlz_dlopen_version() is required for all DLZ external drivers. It 37 * should return DLZ_DLOPEN_VERSION 38 */ 39typedef int dlz_dlopen_version_t (unsigned int *flags); 40 41/* --- 18 unchanged lines hidden (view full) --- 60 const char *name); 61 62/* 63 * dlz_dlopen_lookup() is required for all DLZ external drivers 64 */ 65typedef isc_result_t dlz_dlopen_lookup_t (const char *zone, 66 const char *name, 67 void *dbdata, |
68 dns_sdlzlookup_t *lookup); | 68 dns_sdlzlookup_t *lookup, 69 dns_clientinfomethods_t *methods, 70 dns_clientinfo_t *clientinfo); |
69 70/* 71 * dlz_dlopen_authority is optional() if dlz_dlopen_lookup() 72 * supplies authority information for the dns record 73 */ 74typedef isc_result_t dlz_dlopen_authority_t (const char *zone, 75 void *dbdata, 76 dns_sdlzlookup_t *lookup); --- 34 unchanged lines hidden (view full) --- 111/* 112 * dlz_dlopen_configure() is optional, but must be supplied if you 113 * want to support dynamic updates 114 */ 115typedef isc_result_t dlz_dlopen_configure_t (dns_view_t *view, 116 void *dbdata); 117 118/* | 71 72/* 73 * dlz_dlopen_authority is optional() if dlz_dlopen_lookup() 74 * supplies authority information for the dns record 75 */ 76typedef isc_result_t dlz_dlopen_authority_t (const char *zone, 77 void *dbdata, 78 dns_sdlzlookup_t *lookup); --- 34 unchanged lines hidden (view full) --- 113/* 114 * dlz_dlopen_configure() is optional, but must be supplied if you 115 * want to support dynamic updates 116 */ 117typedef isc_result_t dlz_dlopen_configure_t (dns_view_t *view, 118 void *dbdata); 119 120/* |
121 * dlz_dlopen_setclientcallback() is optional, but must be supplied if you 122 * want to retrieve information about the client (e.g., source address) 123 * before sending a replay. 124 */ 125typedef isc_result_t dlz_dlopen_setclientcallback_t (dns_view_t *view, 126 void *dbdata); 127 128 129/* |
|
119 * dlz_dlopen_ssumatch() is optional, but must be supplied if you want 120 * to support dynamic updates 121 */ 122typedef isc_boolean_t dlz_dlopen_ssumatch_t (const char *signer, 123 const char *name, 124 const char *tcpaddr, 125 const char *type, 126 const char *key, --- 34 unchanged lines hidden --- | 130 * dlz_dlopen_ssumatch() is optional, but must be supplied if you want 131 * to support dynamic updates 132 */ 133typedef isc_boolean_t dlz_dlopen_ssumatch_t (const char *signer, 134 const char *name, 135 const char *tcpaddr, 136 const char *type, 137 const char *key, --- 34 unchanged lines hidden --- |