Merge branch 'master' into 'master'
[brasero.git] / libbrasero-media / scsi-sbc.h
blob7b2deade7c4da16062feb5d3ee8c2475e90cb1bf
1 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
2 /*
3 * Libbrasero-media
4 * Copyright (C) Philippe Rouquier 2005-2009 <bonfire-app@wanadoo.fr>
6 * Libbrasero-media is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
11 * The Libbrasero-media authors hereby grant permission for non-GPL compatible
12 * GStreamer plugins to be used and distributed together with GStreamer
13 * and Libbrasero-media. This permission is above and beyond the permissions granted
14 * by the GPL license by which Libbrasero-media is covered. If you modify this code
15 * you may extend this exception to your version of the code, but you are not
16 * obligated to do so. If you do not wish to do so, delete this exception
17 * statement from your version.
19 * Libbrasero-media is distributed in the hope that it will be useful,
20 * but WITHOUT ANY WARRANTY; without even the implied warranty of
21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 * GNU Library General Public License for more details.
24 * You should have received a copy of the GNU General Public License
25 * along with this program; if not, write to:
26 * The Free Software Foundation, Inc.,
27 * 51 Franklin Street, Fifth Floor
28 * Boston, MA 02110-1301, USA.
31 #include <glib.h>
33 #include "scsi-base.h"
34 #include "scsi-error.h"
35 #include "scsi-device.h"
37 #ifndef _BURN_SBC_H
38 #define _BURN_SBC_H
40 G_BEGIN_DECLS
42 BraseroScsiResult
43 brasero_sbc_medium_removal (BraseroDeviceHandle *handle,
44 int prevent_removal,
45 BraseroScsiErrCode *error);
47 BraseroScsiResult
48 brasero_sbc_read10_block (BraseroDeviceHandle *handle,
49 int start,
50 int num_blocks,
51 unsigned char *buffer,
52 int buffer_size,
53 BraseroScsiErrCode *error);
55 G_END_DECLS
57 #endif /* _BURN_SBC_H */
60 /***************************************************************************
61 * scsi-sbc.h
63 * Copyright 2008 Rouquier Philippe
64 * <bonfire-app@wanadoo.fr>
65 ****************************************************************************/
68 * Libbrasero-media is free software; you can redistribute it and/or modify
69 * it under the terms of the GNU General Public License as published by
70 * the Free Software Foundation; either version 2 of the License, or
71 * (at your option) any later version.
73 * Libbrasero-media is distributed in the hope that it will be useful,
74 * but WITHOUT ANY WARRANTY; without even the implied warranty of
75 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
76 * GNU Library General Public License for more details.
78 * You should have received a copy of the GNU General Public License
79 * along with this program; if not, write to the Free Software
80 * Foundation, Inc., 51 Franklin Street, Fifth Floor Boston, MA 02110-1301, USA
83 #include <glib.h>
85 #include "scsi-base.h"
86 #include "scsi-error.h"
88 #ifndef _BURN_SBC_H
89 #define _BURN_SBC_H
91 G_BEGIN_DECLS
93 BraseroScsiResult
94 brasero_sbc_read10_block (BraseroDeviceHandle *handle,
95 int start,
96 int num_blocks,
97 unsigned char *buffer,
98 int buffer_size,
99 BraseroScsiErrCode *error);
101 G_END_DECLS
103 #endif /* _BURN_SBC_H */