spice/server/red-channel-capabilities.h
Frediano Ziglio 78193dff16 red-channel-capabilities: Removed unused stuff from RedChannelCapabilities
Not used anymore

Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
2020-05-01 06:58:09 +01:00

48 lines
1.5 KiB
C

/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
Copyright (C) 2009-2017 Red Hat, Inc.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
#ifndef RED_CHANNEL_CAPABILITIES_H_
#define RED_CHANNEL_CAPABILITIES_H_
#include <stdint.h>
#include <spice/macros.h>
SPICE_BEGIN_DECLS
/* Holds channel capabilities.
* Channel capabilities are composed by a common part
* and a specific one. */
typedef struct RedChannelCapabilities {
int num_common_caps;
uint32_t *common_caps;
int num_caps;
uint32_t *caps;
} RedChannelCapabilities;
/* Initialize the structure based on a previous one. */
void red_channel_capabilities_init(RedChannelCapabilities *dest,
const RedChannelCapabilities *caps);
/* Reset capabilities.
* All resources are freed by this function. */
void red_channel_capabilities_reset(RedChannelCapabilities *caps);
SPICE_END_DECLS
#endif /* RED_CHANNEL_CAPABILITIES_H_ */