1*925d05d3SKonstantin Kostiuk /* 2*925d05d3SKonstantin Kostiuk * QEMU Guest Agent VSS debug declarations 3*925d05d3SKonstantin Kostiuk * 4*925d05d3SKonstantin Kostiuk * Copyright (C) 2023 Red Hat Inc 5*925d05d3SKonstantin Kostiuk * 6*925d05d3SKonstantin Kostiuk * Authors: 7*925d05d3SKonstantin Kostiuk * Konstantin Kostiuk <kkostiuk@redhat.com> 8*925d05d3SKonstantin Kostiuk * 9*925d05d3SKonstantin Kostiuk * This work is licensed under the terms of the GNU GPL, version 2 or later. 10*925d05d3SKonstantin Kostiuk * See the COPYING file in the top-level directory. 11*925d05d3SKonstantin Kostiuk */ 12*925d05d3SKonstantin Kostiuk 13*925d05d3SKonstantin Kostiuk #include "qemu/osdep.h" 14*925d05d3SKonstantin Kostiuk #include <vss-handles.h> 15*925d05d3SKonstantin Kostiuk 16*925d05d3SKonstantin Kostiuk #ifndef VSS_DEBUG_H 17*925d05d3SKonstantin Kostiuk #define VSS_DEBUG_H 18*925d05d3SKonstantin Kostiuk 19*925d05d3SKonstantin Kostiuk void qga_debug_internal(const char *funcname, const char *fmt, ...) G_GNUC_PRINTF(2, 3); 20*925d05d3SKonstantin Kostiuk 21*925d05d3SKonstantin Kostiuk #define qga_debug(fmt, ...) qga_debug_internal(__func__, fmt, ## __VA_ARGS__) 22*925d05d3SKonstantin Kostiuk #define qga_debug_begin qga_debug("begin") 23*925d05d3SKonstantin Kostiuk #define qga_debug_end qga_debug("end") 24*925d05d3SKonstantin Kostiuk 25*925d05d3SKonstantin Kostiuk #endif 26