zone2bdb.c revision 6098d364b690cb9dabf96e9664c4689c8559bd2e
bf8267aa453e5d2a735ed732a043b77a0b355b20Mark Andrews * Copyright (C) 2002 Nuno M. Rodrigues.
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews * Permission to use, copy, modify, and distribute this software for any
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews * purpose with or without fee is hereby granted, provided that the above
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews * copyright notice and this permission notice appear in all copies.
9c3531d72aeaad6c5f01efe6a1c82023e1379e4dDavid Lawrence * THE SOFTWARE IS PROVIDED "AS IS" AND NUNO M. RODRIGUES
44aae046c38e796e581110b7ecdf4478167d684dBob Halley * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
44aae046c38e796e581110b7ecdf4478167d684dBob Halley * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
44aae046c38e796e581110b7ecdf4478167d684dBob Halley * INTERNET SOFTWARE CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT,
44aae046c38e796e581110b7ecdf4478167d684dBob Halley * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING
c2bc56dc65b4b103a5600565680eb5f33fa4c90bMark Andrews * FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
634c61d2ddf514c3b1f5c8d49c2d2375df20a8b6Andreas Gustafsson * NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
634c61d2ddf514c3b1f5c8d49c2d2375df20a8b6Andreas Gustafsson * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
44aae046c38e796e581110b7ecdf4478167d684dBob Halley/* $Id: zone2bdb.c,v 1.2 2008/09/24 02:46:21 marka Exp $ */
9f7d51ee3290e2a064d71016a6bd555b47134a7cMark Andrews#define MAX_RDATATEXT 63 + 4 + 65535 + 2 /* ttl + type + rdata + sep */
fd35453765c6494d077edca44f4d998af5fd4cfaDavid Lawrence * Returns a valid 'DB' handle.
44aae046c38e796e581110b7ecdf4478167d684dBob Halley * 'file' is a valid non-existant path.
DB *
return db;
return ISC_R_SUCCESS;
isc_buffer_t b;
isc_buffer_add(&b, n);
== ISC_R_SUCCESS);
== ISC_R_SUCCESS);