qemu-timer: Avoid overflows when converting timeout to struct timespec
[qemu-kvm.git] / include / qapi / dealloc-visitor.h
blobcf4c36d2d3482113b13d8c8cc8e9418172f0aba0
1 /*
2 * Dealloc Visitor
4 * Copyright IBM, Corp. 2011
6 * Authors:
7 * Michael Roth <mdroth@linux.vnet.ibm.com>
9 * This work is licensed under the terms of the GNU LGPL, version 2.1 or later.
10 * See the COPYING.LIB file in the top-level directory.
14 #ifndef QAPI_DEALLOC_VISITOR_H
15 #define QAPI_DEALLOC_VISITOR_H
17 #include "qapi/visitor.h"
19 typedef struct QapiDeallocVisitor QapiDeallocVisitor;
21 QapiDeallocVisitor *qapi_dealloc_visitor_new(void);
22 void qapi_dealloc_visitor_cleanup(QapiDeallocVisitor *d);
24 Visitor *qapi_dealloc_get_visitor(QapiDeallocVisitor *v);
26 #endif