backtrace-emptytbl.c revision 275970
1275970Scy/* 2275970Scy * Copyright (C) 2009 Internet Systems Consortium, Inc. ("ISC") 3275970Scy * 4275970Scy * Permission to use, copy, modify, and/or distribute this software for any 5275970Scy * purpose with or without fee is hereby granted, provided that the above 6275970Scy * copyright notice and this permission notice appear in all copies. 7275970Scy * 8275970Scy * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH 9275970Scy * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY 10275970Scy * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT, 11275970Scy * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM 12275970Scy * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE 13275970Scy * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 14275970Scy * PERFORMANCE OF THIS SOFTWARE. 15275970Scy */ 16275970Scy 17275970Scy/* $Id: backtrace-emptytbl.c,v 1.3 2009/09/01 20:13:44 each Exp $ */ 18275970Scy 19275970Scy/*! \file */ 20275970Scy 21275970Scy/* 22275970Scy * This file defines an empty (default) symbol table used in backtrace.c 23275970Scy * If the application wants to have a complete symbol table, it should redefine 24275970Scy * isc__backtrace_symtable with the complete table in some way, and link the 25275970Scy * version of the library not including this definition 26275970Scy * (e.g. libisc-nosymbol.a). 27275970Scy */ 28275970Scy 29275970Scy#include <config.h> 30275970Scy 31275970Scy#include <isc/backtrace.h> 32275970Scy 33275970Scyconst int isc__backtrace_nsymbols = 0; 34275970Scyconst isc_backtrace_symmap_t isc__backtrace_symtable[] = { { NULL, "" } }; 35