562 lines
17 KiB
HTML
562 lines
17 KiB
HTML
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
|
|||
|
<!-- #file "eb.html" -->
|
|||
|
<html lang="ja">
|
|||
|
<head>
|
|||
|
<meta http-equiv="Content-Type" content="text/html; charset=euc-jp">
|
|||
|
<link rel="stylesheet" type="text/css" href="eb.css">
|
|||
|
<link rev="made" href="mailto:m-kasahr@sra.co.jp">
|
|||
|
<title>EB <20>饤<EFBFBD>֥<EFBFBD><D6A5><EFBFBD></title>
|
|||
|
</head>
|
|||
|
|
|||
|
<body>
|
|||
|
<p>
|
|||
|
[<a href="eb-04.html"><EFBFBD><EFBFBD><EFBFBD><EFBFBD></a>] [<a href="eb-06.html"><EFBFBD><EFBFBD><EFBFBD><EFBFBD></a>] [<a href="eb.html#toc"><EFBFBD>ܼ<EFBFBD></a>]
|
|||
|
</p>
|
|||
|
<hr>
|
|||
|
<h2><a name="eb_book">CD-ROM <20><><EFBFBD>Ҥ<EFBFBD> <code>EB_Book</code> <20><><EFBFBD>֥<EFBFBD><D6A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></a></h2>
|
|||
|
|
|||
|
<p>
|
|||
|
EB <20>饤<EFBFBD>֥<EFBFBD><D6A5><EFBFBD><EFBFBD>Ǥϡ<C7A4>CD-ROM <20><><EFBFBD>ҤؤΥ<D8A4><CEA5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ϡ<EFBFBD><CFA1><EFBFBD><EFBFBD>٤<EFBFBD> <code>EB_Book</code> <20><>
|
|||
|
<EFBFBD>Υ<EFBFBD><EFBFBD>֥<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ȥ<EFBFBD><EFBFBD>𤷤ƹԤ<EFBFBD><EFBFBD>ޤ<EFBFBD><EFBFBD><EFBFBD>
|
|||
|
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>äơ<EFBFBD><EFBFBD>ۤȤ<EFBFBD><EFBFBD>ɤΥ<EFBFBD><EFBFBD>ץꥱ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ץ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ϡ<EFBFBD><EFBFBD>ܾϤǵ<EFBFBD><EFBFBD>Ҥ<EFBFBD><EFBFBD>Ƥ<EFBFBD><EFBFBD><EFBFBD>
|
|||
|
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɬ<EFBFBD>פȤ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϥ<EFBFBD><EFBFBD>Ǥ<EFBFBD><EFBFBD><EFBFBD>
|
|||
|
</p>
|
|||
|
|
|||
|
<p>
|
|||
|
<EFBFBD>ܾϤǤ<EFBFBD> <code>EB_Book</code> <20><><EFBFBD>֥<EFBFBD><D6A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ȥν<C8A4><CEBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ȥ<EFBFBD><C8A4>ä<EFBFBD><C3A4><EFBFBD><EFBFBD><EFBFBD>Ū<EFBFBD><C5AA>
|
|||
|
<EFBFBD><EFBFBD><EFBFBD>갷<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ˤĤ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ޤ<EFBFBD><EFBFBD><EFBFBD>
|
|||
|
</p>
|
|||
|
|
|||
|
|
|||
|
<!-- = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = -->
|
|||
|
<h3><a name="eb_book-explanation"><code>EB_Book</code> <20><><EFBFBD>֥<EFBFBD><D6A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></a></h3>
|
|||
|
|
|||
|
<p>
|
|||
|
CD-ROM <20><><EFBFBD>Ҥإ<D2A4><D8A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ˤϡ<CBA4><CFA1>ޤ<EFBFBD> <code>EB_Book</code> <20><><EFBFBD>Υ<EFBFBD><CEA5>֥<EFBFBD><D6A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ȥ<EFBFBD>
|
|||
|
<EFBFBD>Ѱդ<EFBFBD><EFBFBD>ޤ<EFBFBD><EFBFBD><EFBFBD>
|
|||
|
Ʊ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʣ<EFBFBD><EFBFBD><EFBFBD><EFBFBD> CD-ROM <20><><EFBFBD>Ҥ˥<D2A4><CBA5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʤ顢<CAA4><E9A1A2><EFBFBD>Ұ<EFBFBD><D2B0><EFBFBD><EFBFBD><EFBFBD><EFBFBD>˥<EFBFBD><CBA5>֥<EFBFBD><D6A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ȥ<EFBFBD>
|
|||
|
<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɬ<EFBFBD>פ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ޤ<EFBFBD><EFBFBD><EFBFBD>
|
|||
|
</p>
|
|||
|
|
|||
|
<blockquote class="program">
|
|||
|
<pre>
|
|||
|
EB_Book book;
|
|||
|
</pre>
|
|||
|
</blockquote>
|
|||
|
|
|||
|
<p>
|
|||
|
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>֥<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ȥ<EFBFBD><EFBFBD>ΰ<EFBFBD><EFBFBD>ϡ<EFBFBD><code>malloc()</code> <20>dz<EFBFBD><C7B3>ݤ<EFBFBD><DDA4>Ƥ<EFBFBD>
|
|||
|
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ޤ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
</p>
|
|||
|
|
|||
|
<blockquote class="program">
|
|||
|
<pre>
|
|||
|
EB_Book *book_pointer;
|
|||
|
|
|||
|
book_pointer = (EB_Book *) malloc(sizeof(EB_Book));
|
|||
|
</pre>
|
|||
|
</blockquote>
|
|||
|
|
|||
|
<p>
|
|||
|
<code>EB_Book</code> <20><><EFBFBD>֥<EFBFBD><D6A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ȥ<EFBFBD><C8A4><EFBFBD><EFBFBD><EFBFBD> (<28>ѿ<EFBFBD> <code>book</code> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <code>book_pointer</code> <20>λؤ<CEBB><D8A4>ΰ<EFBFBD>) <20>Ϥޤ<CFA4><DEA4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƥ<EFBFBD><C6A4>ޤ<EFBFBD><DEA4><EFBFBD><EFBFBD>Τǡ<CEA4>
|
|||
|
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Τǥ<EFBFBD><EFBFBD>֥<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ȥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ޤ<EFBFBD><EFBFBD><EFBFBD>
|
|||
|
</p>
|
|||
|
|
|||
|
<blockquote class="program">
|
|||
|
<pre>
|
|||
|
eb_initialize_book(&book);
|
|||
|
eb_initialize_book(book_pointer);
|
|||
|
</pre>
|
|||
|
</blockquote>
|
|||
|
|
|||
|
<p>
|
|||
|
<code>eb_initialize()</code> <20><><EFBFBD>Ϥ<EFBFBD><CFA4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <code>EB_Book</code> <20><><EFBFBD>֥<EFBFBD><D6A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
<EFBFBD>ؤΥݥ<EFBFBD><EFBFBD>Ǥ<EFBFBD><EFBFBD>äơ<EFBFBD><code>EB_Book</code> <20><><EFBFBD>֥<EFBFBD><D6A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ȥ<EFBFBD><C8A4>Τ<EFBFBD><CEA4>ΤǤ<CEA4>
|
|||
|
<EFBFBD>ʤ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ȥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>դ<EFBFBD><EFBFBD>Ʋ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
(EB <20>饤<EFBFBD>֥<EFBFBD><D6A5><EFBFBD><EFBFBD><EFBFBD>¾<EFBFBD>δؿ<CEB4><D8BF>⡢<EFBFBD><E2A1A2><EFBFBD>٤ƥ<D9A4><C6A5>֥<EFBFBD><D6A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ȥ<EFBFBD><C8A4>ݥ<EFBFBD><DDA5><EFBFBD><F3A5BFA4>Ϥ<EFBFBD><CFA4>ޤ<EFBFBD><DEA4><EFBFBD>)
|
|||
|
</p>
|
|||
|
|
|||
|
<p>
|
|||
|
CD-ROM <20><><EFBFBD>Ҥ<EFBFBD><D2A4>Ȥ<EFBFBD><C8A4>ˤϡ<CBA4>³<EFBFBD><C2B3><EFBFBD><EFBFBD> <code>EB_Book</code> <20><><EFBFBD>֥<EFBFBD><D6A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ȥ<EFBFBD>
|
|||
|
CD-ROM <20><><EFBFBD>Ҥμ<D2A4><CEBC>Τ˷<CEA4><CBB7><EFBFBD><EFBFBD>դ<EFBFBD><D5A4>ޤ<EFBFBD><DEA4><EFBFBD>
|
|||
|
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ϡ<EFBFBD><EFBFBD>ؿ<EFBFBD> <code>eb_bind()</code> <20>ˤ<EFBFBD><CBA4>äƹԤ<C6B9><D4A4>ޤ<EFBFBD><DEA4><EFBFBD>
|
|||
|
</p>
|
|||
|
|
|||
|
<blockquote>
|
|||
|
<pre>
|
|||
|
<EFBFBD>ţ¡<EFBFBD><EFBFBD>£<EFBFBD><EFBFBD><EFBFBD><EFBFBD>롡<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ãġݣңϣͽ<EFBFBD><EFBFBD><EFBFBD>
|
|||
|
<EFBFBD><EFBFBD><EFBFBD>֥<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ȡ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>⡲<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʡˡ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
</pre>
|
|||
|
</blockquote>
|
|||
|
|
|||
|
<p>
|
|||
|
<EFBFBD>ºݤΥץ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ǥϡ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Τ褦<EFBFBD>ˤ<EFBFBD><EFBFBD>ޤ<EFBFBD><EFBFBD><EFBFBD>
|
|||
|
</p>
|
|||
|
|
|||
|
<blockquote class="program">
|
|||
|
<pre>
|
|||
|
if (eb_bind(&book, "/mnt/cdrom") != EB_SUCCESS) {
|
|||
|
printf("eb_bind() failed\n");
|
|||
|
return;
|
|||
|
}
|
|||
|
</pre>
|
|||
|
</blockquote>
|
|||
|
|
|||
|
<p>
|
|||
|
<code>eb_bind()</code> <20><><EFBFBD>Ϥ<EFBFBD><CFA4><EFBFBD><EFBFBD>ҤΥѥ<CEA5> (<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ǥ<EFBFBD> <code>/mnt/cdrom</code>)
|
|||
|
<EFBFBD>Ͻ<EFBFBD><EFBFBD>ҤΥȥåץǥ<EFBFBD><EFBFBD>쥯<EFBFBD>ȥꡢ<EFBFBD>Ĥޤ<EFBFBD> <code>catalog</code> <20>ޤ<EFBFBD><DEA4><EFBFBD>
|
|||
|
<code>catalogs</code> <20>ե<EFBFBD><D5A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Τ<EFBFBD><CEA4><EFBFBD><EFBFBD>ǥ<EFBFBD><C7A5>쥯<EFBFBD>ȥ<EFBFBD><C8A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ꤷ<EFBFBD>ޤ<EFBFBD><DEA4><EFBFBD>
|
|||
|
</p>
|
|||
|
|
|||
|
<p>
|
|||
|
<code>EB_Book</code> <20><><EFBFBD>֥<EFBFBD><D6A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ȥ<EFBFBD><C8A4>Ȥ<EFBFBD><C8A4><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ä<EFBFBD><C3A4>顢
|
|||
|
<code>eb_finalize_book()</code> <20><><EFBFBD>Ƥ<EFBFBD><C6A4>Ǹ<EFBFBD><C7B8><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ޤ<F2A4B7A4><DEA4><EFBFBD>
|
|||
|
<EFBFBD><EFBFBD><EFBFBD>֥<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ȤϽ<EFBFBD><EFBFBD>ҤȤη<EFBFBD><EFBFBD><EFBFBD><EFBFBD>դ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>줿<EFBFBD><EFBFBD><EFBFBD>֤<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ꡢ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>dz<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƥ<EFBFBD><EFBFBD>줿
|
|||
|
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ϲ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>졢<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ե<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>⤹<EFBFBD>٤<EFBFBD><EFBFBD>Ĥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ޤ<EFBFBD><EFBFBD><EFBFBD>
|
|||
|
</p>
|
|||
|
|
|||
|
<blockquote class="program">
|
|||
|
<pre>
|
|||
|
eb_finalize_book(&book);
|
|||
|
eb_finalize_book(book_pointer);
|
|||
|
</pre>
|
|||
|
</blockquote>
|
|||
|
|
|||
|
<p>
|
|||
|
<EFBFBD><EFBFBD><EFBFBD>֥<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ȥ<EFBFBD><EFBFBD>ΰ<EFBFBD><EFBFBD><EFBFBD> <code>malloc()</code> <20>dz<EFBFBD><C7B3>ݤ<EFBFBD><DDA4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ϡ<EFBFBD>
|
|||
|
<code>eb_finalize_book()</code> <20><><EFBFBD>Ƥ<EFBFBD><C6A4><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʤ<EFBFBD><CAA4>С<EFBFBD><D0A1><EFBFBD><EFBFBD>֥<EFBFBD><D6A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ȥ<EFBFBD><C8A4>ΰ<EFBFBD><CEB0><EFBFBD>
|
|||
|
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>˲<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>뤳<EFBFBD>Ȥ<EFBFBD><EFBFBD>Ǥ<EFBFBD><EFBFBD>ޤ<EFBFBD><EFBFBD><EFBFBD>
|
|||
|
</p>
|
|||
|
|
|||
|
<blockquote class="program">
|
|||
|
<pre>
|
|||
|
free(book_pointer);
|
|||
|
</pre>
|
|||
|
</blockquote>
|
|||
|
|
|||
|
<!-- = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = -->
|
|||
|
<h3><a name="eb_bind-to-remote-host"><EFBFBD><EFBFBD><EFBFBD>֥ۥ<EFBFBD><EFBFBD>Ȥؤ<EFBFBD> <code>eb_bind()</code></a></h3>
|
|||
|
|
|||
|
<p>
|
|||
|
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <code>eb_bind()</code> <20><><EFBFBD>Ѥ<EFBFBD><D1A4>ơ<EFBFBD><code>EB_Book</code>
|
|||
|
<EFBFBD><EFBFBD><EFBFBD>֥<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ȥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>֥ۥ<EFBFBD><EFBFBD>Ȥν<EFBFBD><EFBFBD>Ҥ˷<EFBFBD><EFBFBD>ӤĤ<EFBFBD><EFBFBD>뤳<EFBFBD>Ȥ<EFBFBD><EFBFBD>Ǥ<EFBFBD><EFBFBD>ޤ<EFBFBD><EFBFBD><EFBFBD>
|
|||
|
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ˤϡ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ҤΥѥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ˡ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>֥<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ѥμ<EFBFBD><EFBFBD>̻Ҥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ꤷ<EFBFBD>ޤ<EFBFBD><EFBFBD><EFBFBD>
|
|||
|
<EFBFBD><EFBFBD><EFBFBD>̻Ҥϡ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Τ褦<EFBFBD>ʷ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ȥ<EFBFBD><EFBFBD>ޤ<EFBFBD><EFBFBD><EFBFBD>
|
|||
|
</p>
|
|||
|
|
|||
|
<blockquote>
|
|||
|
<pre>
|
|||
|
ebnet://<var><EFBFBD>ۥ<EFBFBD><EFBFBD><EFBFBD></var>:<var><EFBFBD>ݡ<EFBFBD><EFBFBD><EFBFBD></var>/<var><EFBFBD><EFBFBD><EFBFBD><EFBFBD>̾</var>
|
|||
|
</pre>
|
|||
|
</blockquote>
|
|||
|
|
|||
|
<p>
|
|||
|
<var><EFBFBD>ۥ<EFBFBD><EFBFBD><EFBFBD></var> <20>ϱ<EFBFBD><CFB1>֥ۥ<D6A5><DBA5>Ȥ<EFBFBD> IP <20><><EFBFBD>ɥ쥹<C9A5>⤷<EFBFBD><E2A4B7><EFBFBD>ϥۥ<CFA5><DBA5><EFBFBD>̾<EFBFBD>Ǥ<EFBFBD><C7A4><EFBFBD>
|
|||
|
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>IPv6 <20><><EFBFBD>ɥ쥹<C9A5><ECA5B9><EFBFBD><EFBFBD><EFBFBD>ꤹ<EFBFBD><EAA4B9><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ϡ<EFBFBD><CFA1><EFBFBD><EFBFBD>ɥ쥹<C9A5><ECA5B9> <code>[</code> <20><>
|
|||
|
<code>]</code> <20>ǰϤ<C7B0>ɬ<EFB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|
printf("eb_bind() failed\n");
|
|||
|
return;
|
|||
|
}
|
|||
|
</pre>
|
|||
|
</blockquote>
|
|||
|
|
|||
|
<!-- = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = -->
|
|||
|
<h3><a name="eb_book-sample"><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ץ<EFBFBD><EFBFBD>ץ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></a></h3>
|
|||
|
|
|||
|
<p>
|
|||
|
<EFBFBD><EFBFBD><EFBFBD>Υ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ץ<EFBFBD><EFBFBD>ץ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ǥϡ<EFBFBD>CD-ROM <20><><EFBFBD>Ҥμ<D2A4><CEBC><EFBFBD><EFBFBD><EFBFBD>Ĵ<EFBFBD>٤뤿<D9A4><EBA4BF><EFBFBD>ˡ<EFBFBD>
|
|||
|
<code>eb_disc_code()</code> <20>Ȥ<EFBFBD><C8A4><EFBFBD><EFBFBD>ؿ<EFBFBD><D8BF><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ѥ<EFBFBD><D1A4>Ƥ<EFBFBD><C6A4>ޤ<EFBFBD><DEA4><EFBFBD>
|
|||
|
<EFBFBD><EFBFBD><EFBFBD>δؿ<EFBFBD><EFBFBD>ˤĤ<EFBFBD><EFBFBD>Ƥϡ<EFBFBD><a href="eb-05.html#eb_book-functions"><EFBFBD>ִؿ<EFBFBD><EFBFBD>ξܺ١<EFBFBD></a> <20>ȤΤ<C8A4><CEA4>ȡ<EFBFBD>
|
|||
|
</p>
|
|||
|
|
|||
|
<blockquote>
|
|||
|
<pre>
|
|||
|
/* -*- C -*-
|
|||
|
* Copyright (c) 1999-2006 Motoyuki Kasahara
|
|||
|
*
|
|||
|
* Redistribution and use in source and binary forms, with or without
|
|||
|
* modification, are permitted provided that the following conditions
|
|||
|
* are met:
|
|||
|
* 1. Redistributions of source code must retain the above copyright
|
|||
|
* notice, this list of conditions and the following disclaimer.
|
|||
|
* 2. Redistributions in binary form must reproduce the above copyright
|
|||
|
* notice, this list of conditions and the following disclaimer in the
|
|||
|
* documentation and/or other materials provided with the distribution.
|
|||
|
* 3. Neither the name of the project nor the names of its contributors
|
|||
|
* may be used to endorse or promote products derived from this software
|
|||
|
* without specific prior written permission.
|
|||
|
*
|
|||
|
* THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND
|
|||
|
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|||
|
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|||
|
* ARE DISCLAIMED. IN NO EVENT SHALL THE PROJECT OR CONTRIBUTORS BE LIABLE
|
|||
|
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|||
|
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
|||
|
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|||
|
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|||
|
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
|||
|
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|||
|
* SUCH DAMAGE.
|
|||
|
*/
|
|||
|
|
|||
|
/*
|
|||
|
* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ˡ:
|
|||
|
* disctype <book-path>
|
|||
|
* <20><>:
|
|||
|
* disctype /cdrom
|
|||
|
* <20><><EFBFBD><EFBFBD>:
|
|||
|
* <book-path> <20>ǻ<EFBFBD><C7BB>ꤵ<EFBFBD>줿 CD-ROM <20><><EFBFBD>Ҥμ<D2A4><CEBC>ब<EFBFBD><E0A4AC>EB <20><> EPWING <20><>
|
|||
|
* <20><>Ĵ<EFBFBD>٤<EFBFBD>ɽ<EFBFBD><C9BD><EFBFBD><EFBFBD><EFBFBD>ޤ<EFBFBD><DEA4><EFBFBD>
|
|||
|
*/
|
|||
|
#include <stdio.h>
|
|||
|
#include <stdlib.h>
|
|||
|
|
|||
|
#include <eb/eb.h>
|
|||
|
#include <eb/error.h>
|
|||
|
|
|||
|
int
|
|||
|
main(int argc, char *argv[])
|
|||
|
{
|
|||
|
EB_Error_Code error_code;
|
|||
|
EB_Book book;
|
|||
|
EB_Disc_Code disc_code;
|
|||
|
|
|||
|
/* <20><><EFBFBD>ޥ<EFBFBD><DEA5>ɹ<C9B9><D4B0><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>å<EFBFBD><C3A5><EFBFBD>*/
|
|||
|
if (argc != 2) {
|
|||
|
fprintf(stderr, "Usage: %s book-path\n", argv[0]);
|
|||
|
exit(1);
|
|||
|
}
|
|||
|
|
|||
|
/* EB <20>饤<EFBFBD>֥<EFBFBD><D6A5><EFBFBD><EFBFBD><EFBFBD> `book' <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>*/
|
|||
|
error_code = eb_initialize_library();
|
|||
|
if (error_code != EB_SUCCESS) {
|
|||
|
fprintf(stderr, "%s: failed to initialize EB Library, %s: %s\n",
|
|||
|
argv[0], eb_error_message(error_code), argv[1]);
|
|||
|
goto die;
|
|||
|
}
|
|||
|
eb_initialize_book(&book);
|
|||
|
|
|||
|
/* `book' <20><><EFBFBD><EFBFBD><EFBFBD>Ҥ˷<D2A4><CBB7><EFBFBD><EFBFBD>դ<EFBFBD><D5A4>롣<EFBFBD><EBA1A3><EFBFBD>Ԥ<EFBFBD><D4A4><EFBFBD><EFBFBD>齪λ<E9BDAA><CEBB>*/
|
|||
|
error_code = eb_bind(&book, argv[1]);
|
|||
|
if (error_code != EB_SUCCESS) {
|
|||
|
fprintf(stderr, "%s: failed to bind the book, %s: %s\n",
|
|||
|
argv[0], eb_error_message(error_code), argv[1]);
|
|||
|
goto die;
|
|||
|
}
|
|||
|
|
|||
|
/* <20><><EFBFBD>Ҥμ<D2A4><CEBC><EFBFBD><EFBFBD><EFBFBD>Ĵ<EFBFBD>٤<EFBFBD>ɽ<EFBFBD><C9BD><EFBFBD><EFBFBD>*/
|
|||
|
error_code = eb_disc_type(&book, &disc_code);
|
|||
|
if (error_code != EB_SUCCESS) {
|
|||
|
fprintf(stderr, "%s: failed to get disc type, %s: %s\n",
|
|||
|
argv[0], eb_error_message(error_code), argv[1]);
|
|||
|
goto die;
|
|||
|
}
|
|||
|
|
|||
|
if (disc_code == EB_DISC_EB) {
|
|||
|
fputs("EB\n", stdout);
|
|||
|
} else if (disc_code == EB_DISC_EPWING) {
|
|||
|
fputs("EPWING\n", stdout);
|
|||
|
} else {
|
|||
|
fputs("unknown\n", stdout);
|
|||
|
}
|
|||
|
|
|||
|
/* <20><><EFBFBD>Ҥ<EFBFBD> EB <20>饤<EFBFBD>֥<EFBFBD><D6A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ѥ<EFBFBD><D1A4><EFBFBD>λ<EFBFBD><CEBB>*/
|
|||
|
eb_finalize_book(&book);
|
|||
|
eb_finalize_library();
|
|||
|
exit(0);
|
|||
|
|
|||
|
/* <20><><EFBFBD>顼ȯ<E9A1BC><C8AF><EFBFBD>ǽ<EFBFBD>λ<EFBFBD><CEBB><EFBFBD><EFBFBD><EFBFBD>Ȥ<EFBFBD><C8A4>ν<EFBFBD><CEBD><EFBFBD><EFBFBD><EFBFBD>*/
|
|||
|
die:
|
|||
|
eb_finalize_book(&book);
|
|||
|
eb_finalize_library();
|
|||
|
exit(1);
|
|||
|
}
|
|||
|
</pre>
|
|||
|
</blockquote>
|
|||
|
|
|||
|
<!-- = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = -->
|
|||
|
<h3><a name="eb_book-data-types"><EFBFBD>ǡ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ξܺ<EFBFBD></a></h3>
|
|||
|
|
|||
|
<p>
|
|||
|
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ǡ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ȥ<EFBFBD><EFBFBD>ˤϡ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Τ褦<EFBFBD>˥إå<EFBFBD><EFBFBD>ե<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
<EFBFBD>ɤ߹<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Dz<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
</p>
|
|||
|
|
|||
|
<blockquote class="program">
|
|||
|
<pre>
|
|||
|
#include <eb/eb.h>
|
|||
|
</pre>
|
|||
|
</blockquote>
|
|||
|
|
|||
|
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
|
|||
|
<h4><a name="type:Book"><code>EB_Book</code> <20><></a></h4>
|
|||
|
|
|||
|
<p>
|
|||
|
<code>EB_Book</code> <20><><EFBFBD>ϡ<EFBFBD><CFA1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> CD-ROM <20><><EFBFBD>Ҥ<EFBFBD>ɽ<EFBFBD><C9BD><EFBFBD>ޤ<EFBFBD><DEA4><EFBFBD>
|
|||
|
CD-ROM <20><><EFBFBD>ҤؤΥ<D8A4><C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D><EFBFBD>ޤ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
</p>
|
|||
|
|
|||
|
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
|
|||
|
<h4><a name="type:Disc_Code"><code>EB_Disc_Code</code> <20><></a></h4>
|
|||
|
|
|||
|
<p>
|
|||
|
<EFBFBD>ǡ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <code>EB_Disc_Code</code> <20>ϡ<EFBFBD>CD-ROM <20><><EFBFBD>Ҥη<D2A4><CEB7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɤ<EFBFBD>ɽ<EFBFBD><C9BD><EFBFBD>ޤ<EFBFBD><DEA4><EFBFBD>
|
|||
|
<EFBFBD><EFBFBD><EFBFBD>ߤΤȤ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ͤ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƥ<EFBFBD><EFBFBD>ޤ<EFBFBD><EFBFBD><EFBFBD>
|
|||
|
</p>
|
|||
|
|
|||
|
<dl>
|
|||
|
<dt><code>EB_DISC_EB</code></dt>
|
|||
|
<dd>
|
|||
|
<EFBFBD>Żҥ֥å<EFBFBD> (EB, EBG, EBXA, EBXA-C, S-EBXA) <20>Ǥ<EFBFBD><C7A4>뤳<EFBFBD>Ȥ<EFBFBD>ɽ<EFBFBD><C9BD><EFBFBD>ޤ<EFBFBD><DEA4><EFBFBD>
|
|||
|
|
|||
|
<dt><code>EB_DISC_EPWING</code></dt>
|
|||
|
<dd>
|
|||
|
EPWING <20>Ǥ<EFBFBD><C7A4>뤳<EFBFBD>Ȥ<EFBFBD>ɽ<EFBFBD><C9BD><EFBFBD>ޤ<EFBFBD><DEA4><EFBFBD>
|
|||
|
|
|||
|
<dt><code>EB_DISC_INVALID</code></dt>
|
|||
|
<dd>
|
|||
|
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʷ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ͤ<EFBFBD>ɽ<EFBFBD><EFBFBD><EFBFBD>ޤ<EFBFBD><EFBFBD><EFBFBD>
|
|||
|
</dl>
|
|||
|
|
|||
|
<p>
|
|||
|
<EFBFBD><EFBFBD><EFBFBD>η<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>դ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>̾<EFBFBD>Ȥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƥ<EFBFBD><EFBFBD>ޤ<EFBFBD><EFBFBD>Τǡ<EFBFBD>2 <20>ĤΥ<C4A4><CEA5><EFBFBD><EFBFBD>ɤ<EFBFBD>
|
|||
|
2 <20><><EFBFBD>黻<EFBFBD><E9BBBB> <code>==</code> <20><> <code>!=</code> <20>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ӥ<EFBFBD><D3A4>뤳<EFBFBD>Ȥ<EFBFBD><C8A4>Ǥ<EFBFBD><C7A4>ޤ<EFBFBD><DEA4><EFBFBD>
|
|||
|
</p>
|
|||
|
|
|||
|
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
|
|||
|
<h4><a name="type:EB_Character_Code"><code>EB_Character_Code</code> <20><></a></h4>
|
|||
|
|
|||
|
<p>
|
|||
|
<EFBFBD>ǡ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <code>EB_Character_Code</code> <20>ϡ<EFBFBD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
<EFBFBD><EFBFBD><EFBFBD>η<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>դ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>̾<EFBFBD>Ȥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƥ<EFBFBD><EFBFBD>ޤ<EFBFBD><EFBFBD>Τǡ<EFBFBD>2 <20>ĤΥ<C4A4><CEA5><EFBFBD><EFBFBD>ɤ<EFBFBD>
|
|||
|
2 <20><><EFBFBD>黻<EFBFBD><E9BBBB> <code>==</code> <20><> <code>!=</code> <20>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ӥ<EFBFBD><D3A4>뤳<EFBFBD>Ȥ<EFBFBD><C8A4>Ǥ<EFBFBD><C7A4>ޤ<EFBFBD><DEA4><EFBFBD>
|
|||
|
</p>
|
|||
|
|
|||
|
<!-- = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = -->
|
|||
|
<h3><a name="eb_book-functions"><EFBFBD>ؿ<EFBFBD><EFBFBD>ξܺ<EFBFBD></a></h3>
|
|||
|
|
|||
|
<p>
|
|||
|
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ؿ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ȥ<EFBFBD><EFBFBD>ˤϡ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Τ褦<EFBFBD>˥إå<EFBFBD><EFBFBD>ե<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɤ߹<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
</p>
|
|||
|
|
|||
|
<blockquote class="program">
|
|||
|
<pre>
|
|||
|
#include <eb/eb.h>
|
|||
|
</pre>
|
|||
|
</blockquote>
|
|||
|
|
|||
|
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
|
|||
|
<h4><a name="func:initialize_book"><code>void eb_initialize_book (EB_Book *<var>book</var>)</code></a></h4>
|
|||
|
|
|||
|
<p>
|
|||
|
<EFBFBD>ؿ<EFBFBD> <code>eb_initialize_book()</code> <20>ϡ<EFBFBD><var>book</var> <20>λؤ<CEBB>
|
|||
|
<code>EB_Book</code> <20><><EFBFBD>֥<EFBFBD><D6A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ȥ<EFBFBD><C8A4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ޤ<EFBFBD><DEA4><EFBFBD>
|
|||
|
<code>EB_Book</code> <20><><EFBFBD>֥<EFBFBD><D6A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ȥ<EFBFBD><C8A4>Ф<EFBFBD><D0A4><EFBFBD> EB <20>饤<EFBFBD>֥<EFBFBD><D6A5><EFBFBD><EFBFBD><EFBFBD>¾<EFBFBD>δؿ<CEB4><D8BF><EFBFBD><EFBFBD>Ƥ<EFBFBD><C6A4><EFBFBD><EFBFBD>ˡ<EFBFBD>
|
|||
|
ɬ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Υ<EFBFBD><EFBFBD>֥<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ȥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʤ<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BD><EFBFBD><EFBFBD>ư<EFBFBD><EFBFBD><EFBFBD><EFBFBD>̤<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ǥ<EFBFBD><EFBFBD><EFBFBD>
|
|||
|
</p>
|
|||
|
|
|||
|
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
|
|||
|
<h4><a name="func:bind"><code>EB_Error_Code eb_bind (EB_Book *<var>book</var>, const char *<var>path</var>)</code></a></h4>
|
|||
|
|
|||
|
<p>
|
|||
|
<EFBFBD>ؿ<EFBFBD> <code>eb_bind()</code> <20>ϡ<EFBFBD><var>book</var> <20>λؤ<CEBB> <code>EB_Book</code>
|
|||
|
<EFBFBD><EFBFBD><EFBFBD>֥<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ȥѥ<EFBFBD> <var>path</var> <20>ˤ<EFBFBD><CBA4><EFBFBD> CD-ROM <20><><EFBFBD>Ҥ˷<D2A4><CBB7><EFBFBD><EFBFBD>դ<EFBFBD><D5A4>ޤ<EFBFBD><DEA4><EFBFBD>
|
|||
|
<EFBFBD>ѥ<EFBFBD><EFBFBD>ˤϡ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ҤΥȥåץǥ<EFBFBD><EFBFBD>쥯<EFBFBD>ȥ꤫<EFBFBD><EFBFBD><EFBFBD>֥<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>̻Ҥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ꤷ<EFBFBD>ޤ<EFBFBD><EFBFBD><EFBFBD>
|
|||
|
<EFBFBD><EFBFBD><EFBFBD>ҤΥȥåץǥ<EFBFBD><EFBFBD>쥯<EFBFBD>ȥ<EFBFBD><EFBFBD>Ȥϡ<EFBFBD><code>catalog</code> <20><><EFBFBD>뤤<EFBFBD><EBA4A4>
|
|||
|
<code>catalogs</code> <20>ե<EFBFBD><D5A5><EF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EFBFBD>̤<EFBFBD><CCA4><EFBFBD><EFBFBD><EFBFBD>Ĺ<EFBFBD><C4B9>
|
|||
|
<EFBFBD>˼<EFBFBD><EFBFBD>ޤäƤ<EFBFBD><EFBFBD>ʤ<EFBFBD><EFBFBD>ƤϤʤ<EFBFBD><EFBFBD>ޤ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ķ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ȡ<EFBFBD><code>EB_ERR_TOO_LONG_FILE_NAME</code> <20><><EFBFBD>֤<EFBFBD><D6A4>ޤ<EFBFBD><DEA4><EFBFBD>
|
|||
|
</p>
|
|||
|
|
|||
|
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
|
|||
|
<h4><a name="func:finalize_book"><code>void eb_finalize_book (EB_Book *<var>book</var>)</code></a></h4>
|
|||
|
|
|||
|
<p>
|
|||
|
<EFBFBD>ؿ<EFBFBD> <code>eb_finalize_book()</code> <20>ϡ<EFBFBD><var>book</var> <20><><EFBFBD>ؤ<EFBFBD>
|
|||
|
<code>EB_Book</code> <20><><EFBFBD>֥<EFBFBD><D6A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ȥθ<C8A4><CEB8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ԥ<EFBFBD><D4A4>ޤ<EFBFBD><DEA4><EFBFBD>
|
|||
|
</p>
|
|||
|
|
|||
|
<p>
|
|||
|
<EFBFBD><EFBFBD><EFBFBD>֥<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ȥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƥƴ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƥ<EFBFBD><EFBFBD><EFBFBD><EF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FBFBD><EFBFBD>Ȥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ѥ<EFBFBD><EFBFBD>뤳<EFBFBD>Ȥ<EFBFBD><EFBFBD>Ǥ<EFBFBD><EFBFBD>ޤ<EFBFBD><EFBFBD><EFBFBD>
|
|||
|
</p>
|
|||
|
|
|||
|
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
|
|||
|
<h4><a name="func:is_bound"><code>int eb_is_bound (EB_Book *<var>book</var>)</code></a></h4>
|
|||
|
|
|||
|
<p>
|
|||
|
<EFBFBD>ؿ<EFBFBD> <code>eb_is_bound()</code> <20>ϡ<EFBFBD><var>book</var> <20><><EFBFBD><EFBFBD><EFBFBD>Ҥ˷<D2A4><CBB7><EFBFBD><EFBFBD>դ<EFBFBD><D5A4>Ƥ<EFBFBD><C6A4>뤫
|
|||
|
<EFBFBD>ɤ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ĵ<EFBFBD>٤ޤ<EFBFBD><EFBFBD><EFBFBD>
|
|||
|
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>դ<EFBFBD><EFBFBD>Ƥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 1 <20><><EFBFBD>֤<EFBFBD><D6A4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ǥʤ<C7A4><CAA4><EFBFBD><EFBFBD><EFBFBD> 0 <20><><EFBFBD>֤<EFBFBD><D6A4>ޤ<EFBFBD><DEA4><EFBFBD>
|
|||
|
</p>
|
|||
|
|
|||
|
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
|
|||
|
<h4><a name="func:path"><code>EB_Error_Code eb_path (EB_Book *<var>book</var> const char *<var>path</var>)</code></a></h4>
|
|||
|
|
|||
|
<p>
|
|||
|
<EFBFBD>ؿ<EFBFBD> <code>eb_path()</code> <20>ϡ<EFBFBD><var>book</var> <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BD><EFBFBD>ˤʤäƤ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Τǡ<EFBFBD><code>eb_bind()</code> <20><>
|
|||
|
<EFBFBD>Ϥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ȥ<EFBFBD><EFBFBD>Τ<EFBFBD><EFBFBD>Τ<EFBFBD>Ʊ<EFBFBD><EFBFBD><EFBFBD>Ȥϸ¤<EFBFBD><EFBFBD>ޤ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
<EFBFBD><EFBFBD><EFBFBD>Ȥ<EFBFBD><EFBFBD>С<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Хѥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ä<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ϡ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Хѥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ѵ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ޤ<EFBFBD><EFBFBD><EFBFBD>
|
|||
|
</p>
|
|||
|
|
|||
|
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
|
|||
|
<h4><a name="func:disc_type"><code>EB_Error_Code eb_disc_type (EB_Book *<var>book</var>, EB_Disc_Code *<var>disc_code</var>)</code></a></h4>
|
|||
|
|
|||
|
<p>
|
|||
|
<EFBFBD>ؿ<EFBFBD> <code>eb_disc_type()</code> <20>ϡ<EFBFBD><var>book</var> <20>Υǥ<CEA5><C7A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>η<EFBFBD><CEB7><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
<var>disc_code</var> <20>λؤ<CEBB><D8A4>ΰ<EFBFBD><CEB0>˽<CBBD><F1A4ADB9>ߤޤ<DFA4><DEA4><EFBFBD>
|
|||
|
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ǥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>η<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ͤϡ<EFBFBD><code>EB_Disc_Code</code> <20><>
|
|||
|
(<a href="eb-05.html#eb_book-data-types"><EFBFBD><EFBFBD>[CD-ROM <20><><EFBFBD>Ҥ<EFBFBD> <code>EB_Book</code> <20><><EFBFBD>֥<EFBFBD><D6A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>] <20>ǡ<EFBFBD><C7A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ξܺ١<DCBA></a> <20>ȤΤ<C8A4><CEA4><EFBFBD>)
|
|||
|
<EFBFBD>Τ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>줫<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ͤǤ<EFBFBD><EFBFBD><EFBFBD>
|
|||
|
</p>
|
|||
|
|
|||
|
<p>
|
|||
|
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ȡ<EFBFBD><EFBFBD>ؿ<EFBFBD><EFBFBD><EFBFBD> <code>EB_SUCCESS</code> <20><><EFBFBD>֤<EFBFBD><D6A4>ޤ<EFBFBD><DEA4><EFBFBD>
|
|||
|
<EFBFBD><EFBFBD><EFBFBD>Ԥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ȡ<EFBFBD><var>disc_code</var> <20>λؤ<CEBB><D8A4>ΰ<EFBFBD><CEB0><EFBFBD> <code>EB_DISC_INVALID</code>
|
|||
|
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ߡ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>顼<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɤ<EFBFBD><EFBFBD>֤<EFBFBD><EFBFBD>ޤ<EFBFBD><EFBFBD><EFBFBD>
|
|||
|
</p>
|
|||
|
|
|||
|
<p>
|
|||
|
<var>book</var> <20>ϡ<EFBFBD><CFA1><EFBFBD><EFBFBD>餫<EFBFBD><E9A4AB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ҥ˷<D2A4><CBB7><EFBFBD><EFBFBD>դ<EFBFBD><D5A4>Ƥ<EFBFBD><C6A4>ʤ<EFBFBD><CAA4><EFBFBD><EFBFBD>Фʤ<D0A4><CAA4>ޤ<EFBFBD><DEA4><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
<EFBFBD><EFBFBD><EFBFBD>ӤĤ<EFBFBD><EFBFBD>Ƥ<EFBFBD><EFBFBD>ʤ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ϡ<EFBFBD><code>EB_ERR_UNBOUND_BOOK</code> <20><><EFBFBD>֤<EFBFBD><D6A4>ޤ<EFBFBD><DEA4><EFBFBD>
|
|||
|
</p>
|
|||
|
|
|||
|
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
|
|||
|
<h4><a name="func:character_code"><code>EB_Error_Code eb_character_code (EB_Book *<var>book</var>, EB_Character_Code *<var>character_code</var>)</code></a></h4>
|
|||
|
|
|||
|
<p>
|
|||
|
<EFBFBD>ؿ<EFBFBD> <code>eb_character_code()</code> <20>ϡ<EFBFBD><var>book</var> <20><><EFBFBD><EFBFBD><F1A4ABA4>Ƥ<EFBFBD><C6A4><EFBFBD>
|
|||
|
ʸ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɤ<EFBFBD> <var>character_code</var> <20>λؤ<CEBB><D8A4>ΰ<EFBFBD><CEB0>˽<CBBD><F1A4ADB9>ߤޤ<DFA4><DEA4><EFBFBD>
|
|||
|
<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʸ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɤ<EFBFBD><EFBFBD>ͤϡ<EFBFBD><code>EB_Character_Code</code> <20><>
|
|||
|
(<a href="eb-05.html#eb_book-data-types"><EFBFBD><EFBFBD>[CD-ROM <20><><EFBFBD>Ҥ<EFBFBD> <code>EB_Book</code> <20><><EFBFBD>֥<EFBFBD><D6A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>] <20>ǡ<EFBFBD><C7A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ξܺ١<DCBA></a> <20>ȤΤ<C8A4><CEA4><EFBFBD>)
|
|||
|
<EFBFBD>Τ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>줫<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ͤǤ<EFBFBD><EFBFBD><EFBFBD>
|
|||
|
</p>
|
|||
|
|
|||
|
<p>
|
|||
|
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ȡ<EFBFBD><EFBFBD>ؿ<EFBFBD><EFBFBD><EFBFBD> <code>EB_SUCCESS</code> <20><><EFBFBD>֤<EFBFBD><D6A4>ޤ<EFBFBD><DEA4><EFBFBD>
|
|||
|
<EFBFBD><EFBFBD><EFBFBD>Ԥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ȡ<EFBFBD><var>character_code</var> <20>λؤ<CEBB><D8A4>ΰ<EFBFBD><CEB0><EFBFBD>
|
|||
|
<code>EB_CHARCODE_INVALID</code> <20><><EFBFBD><EFBFBD><F1A4ADB9>ߡ<EFBFBD><DFA1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><F2BCA8A4><EFBFBD><EFBFBD>顼<EFBFBD><E9A1BC><EFBFBD><EFBFBD><EFBFBD>ɤ<EFBFBD>
|
|||
|
<EFBFBD>֤<EFBFBD><EFBFBD>ޤ<EFBFBD><EFBFBD><EFBFBD>
|
|||
|
</p>
|
|||
|
|
|||
|
<p>
|
|||
|
<var>book</var> <20>ϡ<EFBFBD><CFA1><EFBFBD><EFBFBD>餫<EFBFBD><E9A4AB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ҥ˷<D2A4><CBB7><EFBFBD><EFBFBD>դ<EFBFBD><D5A4>Ƥ<EFBFBD><C6A4>ʤ<EFBFBD><CAA4><EFBFBD><EFBFBD>Фʤ<D0A4><CAA4>ޤ<EFBFBD><DEA4><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
<EFBFBD><EFBFBD><EFBFBD>ӤĤ<EFBFBD><EFBFBD>Ƥ<EFBFBD><EFBFBD>ʤ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ϡ<EFBFBD><code>EB_ERR_UNBOUND_BOOK</code> <20><><EFBFBD>֤<EFBFBD><D6A4>ޤ<EFBFBD><DEA4><EFBFBD>
|
|||
|
</p>
|
|||
|
|
|||
|
<!-- ================================================================ -->
|
|||
|
<hr>
|
|||
|
<p>
|
|||
|
[<a href="eb-04.html"><EFBFBD><EFBFBD><EFBFBD><EFBFBD></a>] [<a href="eb-06.html"><EFBFBD><EFBFBD><EFBFBD><EFBFBD></a>] [<a href="eb.html#toc"><EFBFBD>ܼ<EFBFBD></a>]
|
|||
|
</p>
|
|||
|
</body>
|
|||
|
</html>
|