X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=libeap%2Fsrc%2Futils%2Ftrace.h;fp=libeap%2Fsrc%2Futils%2Ftrace.h;h=d1636de07728188187fafb1e4e58cbf216bb33c6;hb=f3746d009c6d7f50025af1f58a85e5fee9680be6;hp=22d3de035acb1d713806d8776d073b0f32ce6e47;hpb=244f18d04aaf29e68495b5ffeb40ef5cca50942f;p=mech_eap.git diff --git a/libeap/src/utils/trace.h b/libeap/src/utils/trace.h index 22d3de0..d1636de 100644 --- a/libeap/src/utils/trace.h +++ b/libeap/src/utils/trace.h @@ -2,14 +2,8 @@ * Backtrace debugging * Copyright (c) 2009, Jouni Malinen * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. - * - * Alternatively, this software may be distributed under the terms of BSD - * license. - * - * See README and COPYING for more details. + * This software may be distributed under the terms of the BSD license. + * See README for more details. */ #ifndef TRACE_H @@ -46,6 +40,7 @@ void wpa_trace_add_ref_func(struct wpa_trace_ref *ref, const void *addr); dl_list_del(&(ptr)->wpa_trace_ref_##name.list); \ } while (0) void wpa_trace_check_ref(const void *addr); +size_t wpa_trace_calling_func(const char *buf[], size_t len); #else /* WPA_TRACE */ @@ -71,4 +66,6 @@ void wpa_trace_dump_funcname(const char *title, void *pc); #endif /* WPA_TRACE_BFD */ +void wpa_trace_deinit(void); + #endif /* TRACE_H */