spice/server/red-record-qxl.h
Christophe Fergeau bc5326b1ce Unify header guards
This changes the header guards in all .h files to follow this format:

/*
 * Licensing block
 */

/* ... */

Acked-by: Jonathon Jongsma <jjongsma@redhat.com>
2017-03-30 18:17:20 +01:00

49 lines
1.5 KiB
C

/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
Copyright (C) 2009,2010 Red Hat, Inc.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
published by the Free Software Foundation; either version 2 of
the License, or (at your option) any later version.
This program 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef RED_RECORD_QXL_H_
#define RED_RECORD_QXL_H_
#include <spice/qxl_dev.h>
#include "red-common.h"
#include "memslot.h"
#include "utils.h"
typedef struct RedRecord RedRecord;
/**
* Create a new structure to handle recording.
* This function never returns NULL.
*/
RedRecord* red_record_new(const char *filename);
RedRecord *red_record_ref(RedRecord *record);
void red_record_unref(RedRecord *record);
void red_record_primary_surface_create(RedRecord *record,
QXLDevSurfaceCreate *surface,
uint8_t *line_0);
void red_record_event(RedRecord *record, int what, uint32_t type);
void red_record_qxl_command(RedRecord *record, RedMemSlotInfo *slots,
QXLCommandExt ext_cmd);
#endif /* RED_RECORD_QXL_H_ */