backup: Wire up qemu full pull backup commands over QMP
[libvirt/ericb.git] / tests / virnetdaemonmock.c
blob3b92fff8c972c2d07bcf9eba7853663758dc2c9e
1 /*
2 * Copyright (C) 2016 Red Hat, Inc.
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library. If not, see
16 * <http://www.gnu.org/licenses/>.
19 #include <config.h>
21 #include "internal.h"
22 #include <time.h>
24 #define VIR_FROM_THIS VIR_FROM_NONE
26 time_t time(time_t *t)
28 const time_t ret = 1234567890;
29 if (t)
30 *t = ret;
31 return ret;