Debian Codegraph @

libbrasero-media/scsi-mmc2.h

raw symbols SCIP
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 <[email protected]>
5 *
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.
10 *
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.
18 *
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.
23 *
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.
29 */
30
31 #include <glib.h>
32
33 #include "scsi-base.h"
34 #include "scsi-error.h"
35 #include "scsi-device.h"
36 #include "scsi-read-capacity.h"
37 #include "scsi-get-configuration.h"
38 #include "scsi-read-disc-structure.h"
39 #include "scsi-read-format-capacities.h"
40
41 #ifndef _SCSI_MMC2_H
42 #define _SCSI_MMC2_H
43
44 G_BEGIN_DECLS
45
46 BraseroScsiResult
47 brasero_mmc2_get_profile (BraseroDeviceHandle *handle,
48 BraseroScsiProfile *profile,
49 BraseroScsiErrCode *error);
50
51 BraseroScsiResult
52 brasero_mmc2_read_capacity (BraseroDeviceHandle *handle,
53 BraseroScsiReadCapacityData *data,
54 int size,
55 BraseroScsiErrCode *error);
56
57 BraseroScsiResult
58 brasero_mmc2_get_configuration_feature (BraseroDeviceHandle *handle,
59 BraseroScsiFeatureType type,
60 BraseroScsiGetConfigHdr **data,
61 int *size,
62 BraseroScsiErrCode *error);
63
64 BraseroScsiResult
65 brasero_mmc2_read_generic_structure (BraseroDeviceHandle *handle,
66 BraseroScsiGenericFormatType type,
67 BraseroScsiReadDiscStructureHdr **data,
68 int *size,
69 BraseroScsiErrCode *error);
70
71 BraseroScsiResult
72 brasero_mmc2_read_format_capacities (BraseroDeviceHandle *handle,
73 BraseroScsiFormatCapacitiesHdr **data,
74 int *size,
75 BraseroScsiErrCode *error);
76 G_END_DECLS
77
78 #endif /* _SCSI_MMC2_H */
79
80