/* debug.h -- debug utilities * * Copyright (C) 2010,2011 Olaf Bergmann * * This file is part of the CoAP library libcoap. Please see * README for terms of use. */ #ifndef _COAP_DEBUG_H_ #define _COAP_DEBUG_H_ #ifndef NDEBUG #ifndef COAP_DEBUG_FD #define COAP_DEBUG_FD stdout #endif void debug(char *,...); #include "pdu.h" void coap_show_pdu(const coap_pdu_t *); #else #define debug(...) #define coap_show_pdu(x) #endif #endif /* _COAP_DEBUG_H_ */