/usr/share/gtk-doc/html/libbrasero-media/libbrasero-media-brasero-drive.html is in libbrasero-media3-dev 3.10.0-0ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>BraseroDrive</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="Libbrasero-media Reference Manual">
<link rel="up" href="ch01.html" title="API Reference for Libbrasero-media">
<link rel="prev" href="libbrasero-media-BraseroMediumMonitor.html" title="BraseroMediumMonitor">
<link rel="next" href="libbrasero-media-BraseroMedium.html" title="BraseroMedium">
<meta name="generator" content="GTK-Doc V1.19 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="libbrasero-media-BraseroMediumMonitor.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">Libbrasero-media Reference Manual</th>
<td><a accesskey="n" href="libbrasero-media-BraseroMedium.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#libbrasero-media-brasero-drive.synopsis" class="shortcut">Top</a>
|
<a href="#libbrasero-media-brasero-drive.description" class="shortcut">Description</a>
</td></tr>
</table>
<div class="refentry">
<a name="libbrasero-media-brasero-drive"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="libbrasero-media-brasero-drive.top_of_page"></a>BraseroDrive</span></h2>
<p>BraseroDrive</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="libbrasero-media-brasero-drive.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">enum <a class="link" href="libbrasero-media-brasero-drive.html#BraseroDriveCaps" title="enum BraseroDriveCaps">BraseroDriveCaps</a>;
<a class="link" href="libbrasero-media-brasero-drive.html#BraseroDrive" title="BraseroDrive">BraseroDrive</a>;
<span class="returnvalue">void</span> <a class="link" href="libbrasero-media-brasero-drive.html#brasero-drive-reprobe" title="brasero_drive_reprobe ()">brasero_drive_reprobe</a> (<em class="parameter"><code><a class="link" href="libbrasero-media-brasero-drive.html#BraseroDrive" title="BraseroDrive"><span class="type">BraseroDrive</span></a> *drive</code></em>);
<a class="link" href="libbrasero-media-BraseroMedium.html#BraseroMedium" title="BraseroMedium"><span class="returnvalue">BraseroMedium</span></a> * <a class="link" href="libbrasero-media-brasero-drive.html#brasero-drive-get-medium" title="brasero_drive_get_medium ()">brasero_drive_get_medium</a> (<em class="parameter"><code><a class="link" href="libbrasero-media-brasero-drive.html#BraseroDrive" title="BraseroDrive"><span class="type">BraseroDrive</span></a> *drive</code></em>);
<a href="/usr/share/gtk-doc/html/gio/GDrive.html"><span class="returnvalue">GDrive</span></a> * <a class="link" href="libbrasero-media-brasero-drive.html#brasero-drive-get-gdrive" title="brasero_drive_get_gdrive ()">brasero_drive_get_gdrive</a> (<em class="parameter"><code><a class="link" href="libbrasero-media-brasero-drive.html#BraseroDrive" title="BraseroDrive"><span class="type">BraseroDrive</span></a> *drive</code></em>);
const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="libbrasero-media-brasero-drive.html#brasero-drive-get-udi" title="brasero_drive_get_udi ()">brasero_drive_get_udi</a> (<em class="parameter"><code><a class="link" href="libbrasero-media-brasero-drive.html#BraseroDrive" title="BraseroDrive"><span class="type">BraseroDrive</span></a> *drive</code></em>);
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="libbrasero-media-brasero-drive.html#brasero-drive-is-fake" title="brasero_drive_is_fake ()">brasero_drive_is_fake</a> (<em class="parameter"><code><a class="link" href="libbrasero-media-brasero-drive.html#BraseroDrive" title="BraseroDrive"><span class="type">BraseroDrive</span></a> *drive</code></em>);
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="libbrasero-media-brasero-drive.html#brasero-drive-get-display-name" title="brasero_drive_get_display_name ()">brasero_drive_get_display_name</a> (<em class="parameter"><code><a class="link" href="libbrasero-media-brasero-drive.html#BraseroDrive" title="BraseroDrive"><span class="type">BraseroDrive</span></a> *drive</code></em>);
const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="libbrasero-media-brasero-drive.html#brasero-drive-get-device" title="brasero_drive_get_device ()">brasero_drive_get_device</a> (<em class="parameter"><code><a class="link" href="libbrasero-media-brasero-drive.html#BraseroDrive" title="BraseroDrive"><span class="type">BraseroDrive</span></a> *drive</code></em>);
const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="libbrasero-media-brasero-drive.html#brasero-drive-get-block-device" title="brasero_drive_get_block_device ()">brasero_drive_get_block_device</a> (<em class="parameter"><code><a class="link" href="libbrasero-media-brasero-drive.html#BraseroDrive" title="BraseroDrive"><span class="type">BraseroDrive</span></a> *drive</code></em>);
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="libbrasero-media-brasero-drive.html#brasero-drive-get-bus-target-lun-string" title="brasero_drive_get_bus_target_lun_string ()">brasero_drive_get_bus_target_lun_string</a>
(<em class="parameter"><code><a class="link" href="libbrasero-media-brasero-drive.html#BraseroDrive" title="BraseroDrive"><span class="type">BraseroDrive</span></a> *drive</code></em>);
<a class="link" href="libbrasero-media-brasero-drive.html#BraseroDriveCaps" title="enum BraseroDriveCaps"><span class="returnvalue">BraseroDriveCaps</span></a> <a class="link" href="libbrasero-media-brasero-drive.html#brasero-drive-get-caps" title="brasero_drive_get_caps ()">brasero_drive_get_caps</a> (<em class="parameter"><code><a class="link" href="libbrasero-media-brasero-drive.html#BraseroDrive" title="BraseroDrive"><span class="type">BraseroDrive</span></a> *drive</code></em>);
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="libbrasero-media-brasero-drive.html#brasero-drive-can-write" title="brasero_drive_can_write ()">brasero_drive_can_write</a> (<em class="parameter"><code><a class="link" href="libbrasero-media-brasero-drive.html#BraseroDrive" title="BraseroDrive"><span class="type">BraseroDrive</span></a> *drive</code></em>);
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="libbrasero-media-brasero-drive.html#brasero-drive-can-eject" title="brasero_drive_can_eject ()">brasero_drive_can_eject</a> (<em class="parameter"><code><a class="link" href="libbrasero-media-brasero-drive.html#BraseroDrive" title="BraseroDrive"><span class="type">BraseroDrive</span></a> *drive</code></em>);
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="libbrasero-media-brasero-drive.html#brasero-drive-eject" title="brasero_drive_eject ()">brasero_drive_eject</a> (<em class="parameter"><code><a class="link" href="libbrasero-media-brasero-drive.html#BraseroDrive" title="BraseroDrive"><span class="type">BraseroDrive</span></a> *drive</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> wait</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
<span class="returnvalue">void</span> <a class="link" href="libbrasero-media-brasero-drive.html#brasero-drive-cancel-current-operation" title="brasero_drive_cancel_current_operation ()">brasero_drive_cancel_current_operation</a>
(<em class="parameter"><code><a class="link" href="libbrasero-media-brasero-drive.html#BraseroDrive" title="BraseroDrive"><span class="type">BraseroDrive</span></a> *drive</code></em>);
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="libbrasero-media-brasero-drive.html#brasero-drive-is-door-open" title="brasero_drive_is_door_open ()">brasero_drive_is_door_open</a> (<em class="parameter"><code><a class="link" href="libbrasero-media-brasero-drive.html#BraseroDrive" title="BraseroDrive"><span class="type">BraseroDrive</span></a> *drive</code></em>);
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="libbrasero-media-brasero-drive.html#brasero-drive-can-use-exclusively" title="brasero_drive_can_use_exclusively ()">brasero_drive_can_use_exclusively</a> (<em class="parameter"><code><a class="link" href="libbrasero-media-brasero-drive.html#BraseroDrive" title="BraseroDrive"><span class="type">BraseroDrive</span></a> *drive</code></em>);
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="libbrasero-media-brasero-drive.html#brasero-drive-lock" title="brasero_drive_lock ()">brasero_drive_lock</a> (<em class="parameter"><code><a class="link" href="libbrasero-media-brasero-drive.html#BraseroDrive" title="BraseroDrive"><span class="type">BraseroDrive</span></a> *drive</code></em>,
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *reason</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **reason_for_failure</code></em>);
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="libbrasero-media-brasero-drive.html#brasero-drive-unlock" title="brasero_drive_unlock ()">brasero_drive_unlock</a> (<em class="parameter"><code><a class="link" href="libbrasero-media-brasero-drive.html#BraseroDrive" title="BraseroDrive"><span class="type">BraseroDrive</span></a> *drive</code></em>);
</pre>
</div>
<div class="refsect1">
<a name="libbrasero-media-brasero-drive.description"></a><h2>Description</h2>
<p>
</p>
</div>
<div class="refsect1">
<a name="libbrasero-media-brasero-drive.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="BraseroDriveCaps"></a><h3>enum BraseroDriveCaps</h3>
<pre class="programlisting">typedef enum {
BRASERO_DRIVE_CAPS_NONE = 0,
BRASERO_DRIVE_CAPS_CDR = 1,
BRASERO_DRIVE_CAPS_CDRW = 1 << 1,
BRASERO_DRIVE_CAPS_DVDR = 1 << 2,
BRASERO_DRIVE_CAPS_DVDRW = 1 << 3,
BRASERO_DRIVE_CAPS_DVDR_PLUS = 1 << 4,
BRASERO_DRIVE_CAPS_DVDRW_PLUS = 1 << 5,
BRASERO_DRIVE_CAPS_DVDR_PLUS_DL = 1 << 6,
BRASERO_DRIVE_CAPS_DVDRW_PLUS_DL = 1 << 7,
BRASERO_DRIVE_CAPS_DVDRAM = 1 << 10,
BRASERO_DRIVE_CAPS_BDR = 1 << 8,
BRASERO_DRIVE_CAPS_BDRW = 1 << 9
} BraseroDriveCaps;
</pre>
<p>
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><a name="BRASERO-DRIVE-CAPS-NONE:CAPS"></a><span class="term"><code class="literal">BRASERO_DRIVE_CAPS_NONE</code></span></p></td>
<td>
</td>
</tr>
<tr>
<td><p><a name="BRASERO-DRIVE-CAPS-CDR:CAPS"></a><span class="term"><code class="literal">BRASERO_DRIVE_CAPS_CDR</code></span></p></td>
<td>
</td>
</tr>
<tr>
<td><p><a name="BRASERO-DRIVE-CAPS-CDRW:CAPS"></a><span class="term"><code class="literal">BRASERO_DRIVE_CAPS_CDRW</code></span></p></td>
<td>
</td>
</tr>
<tr>
<td><p><a name="BRASERO-DRIVE-CAPS-DVDR:CAPS"></a><span class="term"><code class="literal">BRASERO_DRIVE_CAPS_DVDR</code></span></p></td>
<td>
</td>
</tr>
<tr>
<td><p><a name="BRASERO-DRIVE-CAPS-DVDRW:CAPS"></a><span class="term"><code class="literal">BRASERO_DRIVE_CAPS_DVDRW</code></span></p></td>
<td>
</td>
</tr>
<tr>
<td><p><a name="BRASERO-DRIVE-CAPS-DVDR-PLUS:CAPS"></a><span class="term"><code class="literal">BRASERO_DRIVE_CAPS_DVDR_PLUS</code></span></p></td>
<td>
</td>
</tr>
<tr>
<td><p><a name="BRASERO-DRIVE-CAPS-DVDRW-PLUS:CAPS"></a><span class="term"><code class="literal">BRASERO_DRIVE_CAPS_DVDRW_PLUS</code></span></p></td>
<td>
</td>
</tr>
<tr>
<td><p><a name="BRASERO-DRIVE-CAPS-DVDR-PLUS-DL:CAPS"></a><span class="term"><code class="literal">BRASERO_DRIVE_CAPS_DVDR_PLUS_DL</code></span></p></td>
<td>
</td>
</tr>
<tr>
<td><p><a name="BRASERO-DRIVE-CAPS-DVDRW-PLUS-DL:CAPS"></a><span class="term"><code class="literal">BRASERO_DRIVE_CAPS_DVDRW_PLUS_DL</code></span></p></td>
<td>
</td>
</tr>
<tr>
<td><p><a name="BRASERO-DRIVE-CAPS-DVDRAM:CAPS"></a><span class="term"><code class="literal">BRASERO_DRIVE_CAPS_DVDRAM</code></span></p></td>
<td>
</td>
</tr>
<tr>
<td><p><a name="BRASERO-DRIVE-CAPS-BDR:CAPS"></a><span class="term"><code class="literal">BRASERO_DRIVE_CAPS_BDR</code></span></p></td>
<td>
</td>
</tr>
<tr>
<td><p><a name="BRASERO-DRIVE-CAPS-BDRW:CAPS"></a><span class="term"><code class="literal">BRASERO_DRIVE_CAPS_BDRW</code></span></p></td>
<td>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="BraseroDrive"></a><h3>BraseroDrive</h3>
<pre class="programlisting">typedef struct _BraseroDrive BraseroDrive;</pre>
<p>
Represents a physical drive currently connected.
</p>
</div>
<hr>
<div class="refsect2">
<a name="brasero-drive-reprobe"></a><h3>brasero_drive_reprobe ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> brasero_drive_reprobe (<em class="parameter"><code><a class="link" href="libbrasero-media-brasero-drive.html#BraseroDrive" title="BraseroDrive"><span class="type">BraseroDrive</span></a> *drive</code></em>);</pre>
<p>
Reprobes the drive contents. Useful when an operation has just been performed
(blanking, burning, ...) and medium status should be updated.
</p>
<p>
NOTE: This operation does not block.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>drive</code></em> :</span></p></td>
<td>a <a class="link" href="libbrasero-media-brasero-drive.html#BraseroDrive" title="BraseroDrive"><span class="type">BraseroDrive</span></a>
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="brasero-drive-get-medium"></a><h3>brasero_drive_get_medium ()</h3>
<pre class="programlisting"><a class="link" href="libbrasero-media-BraseroMedium.html#BraseroMedium" title="BraseroMedium"><span class="returnvalue">BraseroMedium</span></a> * brasero_drive_get_medium (<em class="parameter"><code><a class="link" href="libbrasero-media-brasero-drive.html#BraseroDrive" title="BraseroDrive"><span class="type">BraseroDrive</span></a> *drive</code></em>);</pre>
<p>
Gets the medium currently inserted in the drive. If there is no medium or if
the medium is not probed yet then it returns NULL.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>drive</code></em> :</span></p></td>
<td>a <a class="link" href="libbrasero-media-brasero-drive.html#BraseroDrive" title="BraseroDrive"><span class="type">BraseroDrive</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a <a class="link" href="libbrasero-media-BraseroMedium.html#BraseroMedium" title="BraseroMedium"><span class="type">BraseroMedium</span></a> object or NULL. No need to unref after use. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="brasero-drive-get-gdrive"></a><h3>brasero_drive_get_gdrive ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/gio/GDrive.html"><span class="returnvalue">GDrive</span></a> * brasero_drive_get_gdrive (<em class="parameter"><code><a class="link" href="libbrasero-media-brasero-drive.html#BraseroDrive" title="BraseroDrive"><span class="type">BraseroDrive</span></a> *drive</code></em>);</pre>
<p>
Returns the <a href="/usr/share/gtk-doc/html/gio/GDrive.html"><span class="type">GDrive</span></a> corresponding to this <a class="link" href="libbrasero-media-brasero-drive.html#BraseroDrive" title="BraseroDrive"><span class="type">BraseroDrive</span></a>
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>drive</code></em> :</span></p></td>
<td>a <a class="link" href="libbrasero-media-brasero-drive.html#BraseroDrive" title="BraseroDrive"><span class="type">BraseroDrive</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a <a href="/usr/share/gtk-doc/html/gio/GDrive.html"><span class="type">GDrive</span></a> or NULL. Unref after use.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="brasero-drive-get-udi"></a><h3>brasero_drive_get_udi ()</h3>
<pre class="programlisting">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * brasero_drive_get_udi (<em class="parameter"><code><a class="link" href="libbrasero-media-brasero-drive.html#BraseroDrive" title="BraseroDrive"><span class="type">BraseroDrive</span></a> *drive</code></em>);</pre>
<p>
Gets a string holding the HAL udi corresponding to this device. It can be used
to uniquely identify the drive.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>drive</code></em> :</span></p></td>
<td>a <a class="link" href="libbrasero-media-brasero-drive.html#BraseroDrive" title="BraseroDrive"><span class="type">BraseroDrive</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a string holding the HAL udi or NULL. Not to be freed</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="brasero-drive-is-fake"></a><h3>brasero_drive_is_fake ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> brasero_drive_is_fake (<em class="parameter"><code><a class="link" href="libbrasero-media-brasero-drive.html#BraseroDrive" title="BraseroDrive"><span class="type">BraseroDrive</span></a> *drive</code></em>);</pre>
<p>
Returns whether or not the drive is a fake one. There is only one and
corresponds to a file which is used when the user wants to burn to a file.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>drive</code></em> :</span></p></td>
<td>a <a class="link" href="libbrasero-media-brasero-drive.html#BraseroDrive" title="BraseroDrive"><span class="type">BraseroDrive</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
<a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="brasero-drive-get-display-name"></a><h3>brasero_drive_get_display_name ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * brasero_drive_get_display_name (<em class="parameter"><code><a class="link" href="libbrasero-media-brasero-drive.html#BraseroDrive" title="BraseroDrive"><span class="type">BraseroDrive</span></a> *drive</code></em>);</pre>
<p>
Gets a string holding the name for the drive. That string can be then
displayed in a user interface.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>drive</code></em> :</span></p></td>
<td>a <a class="link" href="libbrasero-media-brasero-drive.html#BraseroDrive" title="BraseroDrive"><span class="type">BraseroDrive</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a string holding the name</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="brasero-drive-get-device"></a><h3>brasero_drive_get_device ()</h3>
<pre class="programlisting">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * brasero_drive_get_device (<em class="parameter"><code><a class="link" href="libbrasero-media-brasero-drive.html#BraseroDrive" title="BraseroDrive"><span class="type">BraseroDrive</span></a> *drive</code></em>);</pre>
<p>
Gets a string holding the device path for the drive.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>drive</code></em> :</span></p></td>
<td>a <a class="link" href="libbrasero-media-brasero-drive.html#BraseroDrive" title="BraseroDrive"><span class="type">BraseroDrive</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a string holding the device path.
On Solaris returns raw device.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="brasero-drive-get-block-device"></a><h3>brasero_drive_get_block_device ()</h3>
<pre class="programlisting">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * brasero_drive_get_block_device (<em class="parameter"><code><a class="link" href="libbrasero-media-brasero-drive.html#BraseroDrive" title="BraseroDrive"><span class="type">BraseroDrive</span></a> *drive</code></em>);</pre>
<p>
Gets a string holding the block device path for the drive. This can be used on
some other OSes, like Solaris, for GIO operations instead of the device
path.
</p>
<p>
Solaris uses block device for GIO operations and
uses raw device for system calls and backends
like cdrtool.
</p>
<p>
If such a path is not available, it returns the device path.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>drive</code></em> :</span></p></td>
<td>a <a class="link" href="libbrasero-media-brasero-drive.html#BraseroDrive" title="BraseroDrive"><span class="type">BraseroDrive</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a string holding the block device path</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="brasero-drive-get-bus-target-lun-string"></a><h3>brasero_drive_get_bus_target_lun_string ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * brasero_drive_get_bus_target_lun_string
(<em class="parameter"><code><a class="link" href="libbrasero-media-brasero-drive.html#BraseroDrive" title="BraseroDrive"><span class="type">BraseroDrive</span></a> *drive</code></em>);</pre>
<p>
Returns the bus, target, lun ("{bus},{target},{lun}") as a string which is
sometimes needed by some backends like cdrecord.
</p>
<p>
NOTE: that function returns either bus/target/lun or the device path
according to OSes. Basically it returns bus/target/lun only for FreeBSD
which is the only OS in need for that. For all others it returns the device
path.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>drive</code></em> :</span></p></td>
<td>a <a class="link" href="libbrasero-media-brasero-drive.html#BraseroDrive" title="BraseroDrive"><span class="type">BraseroDrive</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a string or NULL. The string must be freed when not needed</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="brasero-drive-get-caps"></a><h3>brasero_drive_get_caps ()</h3>
<pre class="programlisting"><a class="link" href="libbrasero-media-brasero-drive.html#BraseroDriveCaps" title="enum BraseroDriveCaps"><span class="returnvalue">BraseroDriveCaps</span></a> brasero_drive_get_caps (<em class="parameter"><code><a class="link" href="libbrasero-media-brasero-drive.html#BraseroDrive" title="BraseroDrive"><span class="type">BraseroDrive</span></a> *drive</code></em>);</pre>
<p>
Returns what type(s) of disc the drive can write to.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>drive</code></em> :</span></p></td>
<td>a <a class="link" href="libbrasero-media-brasero-drive.html#BraseroDrive" title="BraseroDrive"><span class="type">BraseroDrive</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a <a class="link" href="libbrasero-media-brasero-drive.html#BraseroDriveCaps" title="enum BraseroDriveCaps"><span class="type">BraseroDriveCaps</span></a>.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="brasero-drive-can-write"></a><h3>brasero_drive_can_write ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> brasero_drive_can_write (<em class="parameter"><code><a class="link" href="libbrasero-media-brasero-drive.html#BraseroDrive" title="BraseroDrive"><span class="type">BraseroDrive</span></a> *drive</code></em>);</pre>
<p>
Returns whether the disc can burn any disc at all.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>drive</code></em> :</span></p></td>
<td>a <a class="link" href="libbrasero-media-brasero-drive.html#BraseroDrive" title="BraseroDrive"><span class="type">BraseroDrive</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>. TRUE if the drive can write a disc and FALSE otherwise</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="brasero-drive-can-eject"></a><h3>brasero_drive_can_eject ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> brasero_drive_can_eject (<em class="parameter"><code><a class="link" href="libbrasero-media-brasero-drive.html#BraseroDrive" title="BraseroDrive"><span class="type">BraseroDrive</span></a> *drive</code></em>);</pre>
<p>
Returns whether the drive can eject media.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>drive</code></em> :</span></p></td>
<td><a class="link" href="libbrasero-media-brasero-drive.html#BraseroDrive" title="BraseroDrive"><span class="type">BraseroDrive</span></a></td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>. TRUE if the media can be ejected, FALSE otherwise.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="brasero-drive-eject"></a><h3>brasero_drive_eject ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> brasero_drive_eject (<em class="parameter"><code><a class="link" href="libbrasero-media-brasero-drive.html#BraseroDrive" title="BraseroDrive"><span class="type">BraseroDrive</span></a> *drive</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> wait</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
<p>
Open the drive tray or ejects the media if there is any inside.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>drive</code></em> :</span></p></td>
<td><a class="link" href="libbrasero-media-brasero-drive.html#BraseroDrive" title="BraseroDrive"><span class="type">BraseroDrive</span></a></td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>wait</code></em> :</span></p></td>
<td>
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> whether to wait for the completion of the operation (with a GMainLoop)</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
<td><a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a></td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>. TRUE on success, FALSE otherwise.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="brasero-drive-cancel-current-operation"></a><h3>brasero_drive_cancel_current_operation ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> brasero_drive_cancel_current_operation
(<em class="parameter"><code><a class="link" href="libbrasero-media-brasero-drive.html#BraseroDrive" title="BraseroDrive"><span class="type">BraseroDrive</span></a> *drive</code></em>);</pre>
<p>
Cancels all operations currently running for <em class="parameter"><code>drive</code></em>
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>drive</code></em> :</span></p></td>
<td>
<a class="link" href="libbrasero-media-brasero-drive.html#BraseroDrive" title="BraseroDrive"><span class="type">BraseroDrive</span></a> *</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="brasero-drive-is-door-open"></a><h3>brasero_drive_is_door_open ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> brasero_drive_is_door_open (<em class="parameter"><code><a class="link" href="libbrasero-media-brasero-drive.html#BraseroDrive" title="BraseroDrive"><span class="type">BraseroDrive</span></a> *drive</code></em>);</pre>
<p>
Returns whether or not the drive door is open.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>drive</code></em> :</span></p></td>
<td>a <a class="link" href="libbrasero-media-brasero-drive.html#BraseroDrive" title="BraseroDrive"><span class="type">BraseroDrive</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
<a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="brasero-drive-can-use-exclusively"></a><h3>brasero_drive_can_use_exclusively ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> brasero_drive_can_use_exclusively (<em class="parameter"><code><a class="link" href="libbrasero-media-brasero-drive.html#BraseroDrive" title="BraseroDrive"><span class="type">BraseroDrive</span></a> *drive</code></em>);</pre>
<p>
Returns whether or not the drive can be used exclusively, that is whether or
not it is currently used by another application.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>drive</code></em> :</span></p></td>
<td>a <a class="link" href="libbrasero-media-brasero-drive.html#BraseroDrive" title="BraseroDrive"><span class="type">BraseroDrive</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
<a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="brasero-drive-lock"></a><h3>brasero_drive_lock ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> brasero_drive_lock (<em class="parameter"><code><a class="link" href="libbrasero-media-brasero-drive.html#BraseroDrive" title="BraseroDrive"><span class="type">BraseroDrive</span></a> *drive</code></em>,
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *reason</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **reason_for_failure</code></em>);</pre>
<p>
Locks a <a class="link" href="libbrasero-media-brasero-drive.html#BraseroDrive" title="BraseroDrive"><span class="type">BraseroDrive</span></a>. Manual ejection shouldn't be possible any more.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>drive</code></em> :</span></p></td>
<td>a <a class="link" href="libbrasero-media-brasero-drive.html#BraseroDrive" title="BraseroDrive"><span class="type">BraseroDrive</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>reason</code></em> :</span></p></td>
<td>a string to indicate what the drive was locked for</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>reason_for_failure</code></em> :</span></p></td>
<td>a string (or NULL) to hold the reason why the locking failed</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
<a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the drive was successfully locked or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="brasero-drive-unlock"></a><h3>brasero_drive_unlock ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> brasero_drive_unlock (<em class="parameter"><code><a class="link" href="libbrasero-media-brasero-drive.html#BraseroDrive" title="BraseroDrive"><span class="type">BraseroDrive</span></a> *drive</code></em>);</pre>
<p>
Unlocks a <a class="link" href="libbrasero-media-brasero-drive.html#BraseroDrive" title="BraseroDrive"><span class="type">BraseroDrive</span></a>.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>drive</code></em> :</span></p></td>
<td>a <a class="link" href="libbrasero-media-brasero-drive.html#BraseroDrive" title="BraseroDrive"><span class="type">BraseroDrive</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
<a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the drive was successfully unlocked or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>.</td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.19</div>
</body>
</html>
|