spice/server/red_common.h
Alon Levy 38e13ef1a8 server/common: introduce common/spice_common.h
move all the ASSERT/PANIC/PANIC_ON/red_error/red_printf* macros
to a common file to be used with ring.h that is going to be used externally
(by spice-gtk).
2011-03-02 17:27:51 +02:00

39 lines
1.0 KiB
C

/*
Copyright (C) 2009 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 _H_RED_COMMON
#define _H_RED_COMMON
#include <sys/uio.h>
#include <openssl/ssl.h>
#include "spice.h"
#include "mem.h"
#include "spice_common.h"
#include <messages.h>
#include <spice/macros.h>
enum {
STREAM_VIDEO_INVALID,
STREAM_VIDEO_OFF,
STREAM_VIDEO_ALL,
STREAM_VIDEO_FILTER
};
#endif