summaryrefslogtreecommitdiffstats
path: root/docs/html/raptor2-section-option.html
blob: 66284a9605b9d6dcd11cd4e184baaaf5ac2d268e (plain)
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
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>section-option: Raptor RDF Syntax Library Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
<link rel="home" href="index.html" title="Raptor RDF Syntax Library Manual">
<link rel="up" href="reference-manual.html" title="Part II. Raptor Reference Manual">
<link rel="prev" href="raptor2-section-constants.html" title="section-constants">
<link rel="next" href="raptor2-section-iostream.html" title="section-iostream">
<meta name="generator" content="GTK-Doc V1.33.1 (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="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
                  <a href="#raptor2-section-option.description" class="shortcut">Description</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="reference-manual.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="raptor2-section-constants.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="raptor2-section-iostream.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="raptor2-section-option"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="raptor2-section-option.top_of_page"></a>section-option</span></h2>
<p>section-option</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="raptor2-section-option.functions"></a><h2>Functions</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="functions_proto_type">
<col class="functions_proto_name">
</colgroup>
<tbody>
<tr>
<td class="function_type">unsigned <span class="returnvalue">int</span>
</td>
<td class="function_name">
<a class="link" href="raptor2-section-option.html#raptor-option-get-count" title="raptor_option_get_count ()">raptor_option_get_count</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <span class="returnvalue">char</span> *
</td>
<td class="function_name">
<a class="link" href="raptor2-section-option.html#raptor-option-get-value-type-label" title="raptor_option_get_value_type_label ()">raptor_option_get_value_type_label</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="raptor2-section-option.html#raptor-option-description" title="raptor_option_description"><span class="returnvalue">raptor_option_description</span></a> *
</td>
<td class="function_name">
<a class="link" href="raptor2-section-option.html#raptor-world-get-option-description" title="raptor_world_get_option_description ()">raptor_world_get_option_description</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="raptor2-section-option.html#raptor-free-option-description" title="raptor_free_option_description ()">raptor_free_option_description</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="raptor2-section-option.html#raptor-option" title="enum raptor_option"><span class="returnvalue">raptor_option</span></a>
</td>
<td class="function_name">
<a class="link" href="raptor2-section-option.html#raptor-world-get-option-from-uri" title="raptor_world_get_option_from_uri ()">raptor_world_get_option_from_uri</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="raptor2-section-option.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="other_proto_type">
<col class="other_proto_name">
</colgroup>
<tbody>
<tr>
<td class="datatype_keyword">enum</td>
<td class="function_name"><a class="link" href="raptor2-section-option.html#raptor-option" title="enum raptor_option">raptor_option</a></td>
</tr>
<tr>
<td class="datatype_keyword"> </td>
<td class="function_name"><a class="link" href="raptor2-section-option.html#raptor-option-description" title="raptor_option_description">raptor_option_description</a></td>
</tr>
<tr>
<td class="datatype_keyword">enum</td>
<td class="function_name"><a class="link" href="raptor2-section-option.html#raptor-option-value-type" title="enum raptor_option_value_type">raptor_option_value_type</a></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="raptor2-section-option.description"></a><h2>Description</h2>
</div>
<div class="refsect1">
<a name="raptor2-section-option.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="raptor-option-get-count"></a><h3>raptor_option_get_count ()</h3>
<pre class="programlisting">unsigned <span class="returnvalue">int</span>
raptor_option_get_count (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>Get the count of options defined.</p>
<p>This is prefered to the compile time-only symbol <a class="link" href="raptor2-section-option.html#RAPTOR-OPTION-LAST:CAPS"><span class="type">RAPTOR_OPTION_LAST</span></a>
and returns a count of the number of options which is
<a class="link" href="raptor2-section-option.html#RAPTOR-OPTION-LAST:CAPS"><span class="type">RAPTOR_OPTION_LAST</span></a> + 1.</p>
<div class="refsect3">
<a name="raptor-option-get-count.returns"></a><h4>Returns</h4>
<p> count of options in the <a class="link" href="raptor2-section-option.html#raptor-option" title="enum raptor_option"><span class="type">raptor_option</span></a> enumeration</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="raptor-option-get-value-type-label"></a><h3>raptor_option_get_value_type_label ()</h3>
<pre class="programlisting">const <span class="returnvalue">char</span> *
raptor_option_get_value_type_label (<em class="parameter"><code>const <a class="link" href="raptor2-section-option.html#raptor-option-value-type" title="enum raptor_option_value_type"><span class="type">raptor_option_value_type</span></a> type</code></em>);</pre>
<p>Get a label for a value type</p>
<div class="refsect3">
<a name="raptor-option-get-value-type-label.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>type</p></td>
<td class="parameter_description"><p>value type</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="raptor-option-get-value-type-label.returns"></a><h4>Returns</h4>
<p> label for type or NULL for invalid type</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="raptor-world-get-option-description"></a><h3>raptor_world_get_option_description ()</h3>
<pre class="programlisting"><a class="link" href="raptor2-section-option.html#raptor-option-description" title="raptor_option_description"><span class="returnvalue">raptor_option_description</span></a> *
raptor_world_get_option_description (<em class="parameter"><code><a class="link" href="raptor2-section-world.html#raptor-world" title="raptor_world"><span class="type">raptor_world</span></a> *world</code></em>,
                                     <em class="parameter"><code>const <a class="link" href="raptor2-section-general.html#raptor-domain" title="enum raptor_domain"><span class="type">raptor_domain</span></a> domain</code></em>,
                                     <em class="parameter"><code>const <a class="link" href="raptor2-section-option.html#raptor-option" title="enum raptor_option"><span class="type">raptor_option</span></a> option</code></em>);</pre>
<p>Get a description of an option for a domain.</p>
<p>The returned description must be freed with
<a class="link" href="raptor2-section-option.html#raptor-free-option-description" title="raptor_free_option_description ()"><code class="function">raptor_free_option_description()</code></a>.</p>
<div class="refsect3">
<a name="raptor-world-get-option-description.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>world</p></td>
<td class="parameter_description"><p>raptor world object</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>domain</p></td>
<td class="parameter_description"><p>domain</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>option</p></td>
<td class="parameter_description"><p>option enumeration (0+)</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="raptor-world-get-option-description.returns"></a><h4>Returns</h4>
<p> option description or NULL on failure or if option is unknown</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="raptor-free-option-description"></a><h3>raptor_free_option_description ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
raptor_free_option_description (<em class="parameter"><code><a class="link" href="raptor2-section-option.html#raptor-option-description" title="raptor_option_description"><span class="type">raptor_option_description</span></a> *option_description</code></em>);</pre>
<p>Destructor - free an option description object.</p>
<div class="refsect3">
<a name="raptor-free-option-description.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>option_description</p></td>
<td class="parameter_description"><p>option description</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="raptor-world-get-option-from-uri"></a><h3>raptor_world_get_option_from_uri ()</h3>
<pre class="programlisting"><a class="link" href="raptor2-section-option.html#raptor-option" title="enum raptor_option"><span class="returnvalue">raptor_option</span></a>
raptor_world_get_option_from_uri (<em class="parameter"><code><a class="link" href="raptor2-section-world.html#raptor-world" title="raptor_world"><span class="type">raptor_world</span></a> *world</code></em>,
                                  <em class="parameter"><code><a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="type">raptor_uri</span></a> *uri</code></em>);</pre>
<p>Get an option ID from a URI</p>
<p>Option URIs are the concatenation of the string
"http://feature.librdf.org/raptor-" plus the short name.</p>
<p>They are automatically returned for any option described with
<a class="link" href="raptor2-section-option.html#raptor-world-get-option-description" title="raptor_world_get_option_description ()"><code class="function">raptor_world_get_option_description()</code></a>.</p>
<div class="refsect3">
<a name="raptor-world-get-option-from-uri.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>world</p></td>
<td class="parameter_description"><p>raptor_world instance</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>uri</p></td>
<td class="parameter_description"><p>option URI</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="raptor-world-get-option-from-uri.returns"></a><h4>Returns</h4>
<p> &lt; 0 if the option is unknown or on error</p>
</div>
</div>
</div>
<div class="refsect1">
<a name="raptor2-section-option.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="raptor-option"></a><h3>enum raptor_option</h3>
<p>Raptor parser, serializer or XML writer options.</p>
<div class="refsect3">
<a name="raptor-option.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="enum_members_name">
<col class="enum_members_description">
<col width="200px" class="enum_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="enum_member_name"><p><a name="RAPTOR-OPTION-SCANNING:CAPS"></a>RAPTOR_OPTION_SCANNING</p></td>
<td class="enum_member_description">
<p>If true (default false), the RDF/XML
parser will look for embedded rdf:RDF elements inside the XML
content, and not require that the XML start with an rdf:RDF root
element.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RAPTOR-OPTION-ALLOW-NON-NS-ATTRIBUTES:CAPS"></a>RAPTOR_OPTION_ALLOW_NON_NS_ATTRIBUTES</p></td>
<td class="enum_member_description">
<p>If true (default true)
then the RDF/XML parser will allow non-XML namespaced attributes
to be accepted as well as rdf: namespaced ones.  For example,
'about' and 'ID' will be interpreted as if they were rdf:about
and rdf:ID respectively.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RAPTOR-OPTION-ALLOW-OTHER-PARSETYPES:CAPS"></a>RAPTOR_OPTION_ALLOW_OTHER_PARSETYPES</p></td>
<td class="enum_member_description">
<p>If true (default true)
then the RDF/XML parser will allow unknown parsetypes to be
present and will pass them on to the user.  Unimplemented at
present.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RAPTOR-OPTION-ALLOW-BAGID:CAPS"></a>RAPTOR_OPTION_ALLOW_BAGID</p></td>
<td class="enum_member_description">
<p>If true (default true) then the
RDF/XML parser will support the rdf:bagID attribute that was
removed from the RDF/XML language when it was revised.  This
support may be removed in future.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RAPTOR-OPTION-ALLOW-RDF-TYPE-RDF-LIST:CAPS"></a>RAPTOR_OPTION_ALLOW_RDF_TYPE_RDF_LIST</p></td>
<td class="enum_member_description">
<p>If true (default false)
then the RDF/XML parser will generate the idList rdf:type
rdf:List triple in the handling of rdf:parseType="Collection".
This triple was removed during the revising of RDF/XML after
collections were initially added.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RAPTOR-OPTION-NORMALIZE-LANGUAGE:CAPS"></a>RAPTOR_OPTION_NORMALIZE_LANGUAGE</p></td>
<td class="enum_member_description">
<p>If true (default true) then
XML language values such as from xml:lang will be normalized to
lowercase.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RAPTOR-OPTION-NON-NFC-FATAL:CAPS"></a>RAPTOR_OPTION_NON_NFC_FATAL</p></td>
<td class="enum_member_description">
<p>If true (default false) then
illegal Unicode Normal Form C in literals will give a fatal
error, otherwise just a warning.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RAPTOR-OPTION-WARN-OTHER-PARSETYPES:CAPS"></a>RAPTOR_OPTION_WARN_OTHER_PARSETYPES</p></td>
<td class="enum_member_description">
<p>If true (default true) then

the RDF/XML parser will warn about unknown rdf:parseType values.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RAPTOR-OPTION-CHECK-RDF-ID:CAPS"></a>RAPTOR_OPTION_CHECK_RDF_ID</p></td>
<td class="enum_member_description">
<p>If true (default true) then the
RDF/XML will check rdf:ID attribute values for duplicates and
cause an error if any are found.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RAPTOR-OPTION-RELATIVE-URIS:CAPS"></a>RAPTOR_OPTION_RELATIVE_URIS</p></td>
<td class="enum_member_description">
<p>If true (default true) then
relative URIs will be used wherever possible when serializing.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RAPTOR-OPTION-WRITER-AUTO-INDENT:CAPS"></a>RAPTOR_OPTION_WRITER_AUTO_INDENT</p></td>
<td class="enum_member_description">
<p>Automatically indent elements when
seriailizing.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RAPTOR-OPTION-WRITER-AUTO-EMPTY:CAPS"></a>RAPTOR_OPTION_WRITER_AUTO_EMPTY</p></td>
<td class="enum_member_description">
<p>Automatically detect and
abbreviate empty elements when serializing.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RAPTOR-OPTION-WRITER-INDENT-WIDTH:CAPS"></a>RAPTOR_OPTION_WRITER_INDENT_WIDTH</p></td>
<td class="enum_member_description">
<p>Integer number of spaces to use
for each indent level when serializing with auto indent.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RAPTOR-OPTION-WRITER-XML-VERSION:CAPS"></a>RAPTOR_OPTION_WRITER_XML_VERSION</p></td>
<td class="enum_member_description">
<p>Integer XML version XML 1.0 (10) or XML 1.1 (11)</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RAPTOR-OPTION-WRITER-XML-DECLARATION:CAPS"></a>RAPTOR_OPTION_WRITER_XML_DECLARATION</p></td>
<td class="enum_member_description">
<p>Write XML 1.0 or 1.1 declaration.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RAPTOR-OPTION-NO-NET:CAPS"></a>RAPTOR_OPTION_NO_NET</p></td>
<td class="enum_member_description">
<p>Deny network requests inside other requests.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RAPTOR-OPTION-RESOURCE-BORDER:CAPS"></a>RAPTOR_OPTION_RESOURCE_BORDER</p></td>
<td class="enum_member_description">
<p>Border color of resource
nodes for GraphViz DOT serializer.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RAPTOR-OPTION-LITERAL-BORDER:CAPS"></a>RAPTOR_OPTION_LITERAL_BORDER</p></td>
<td class="enum_member_description">
<p>Border color of literal nodes
for GraphViz DOT serializer.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RAPTOR-OPTION-BNODE-BORDER:CAPS"></a>RAPTOR_OPTION_BNODE_BORDER</p></td>
<td class="enum_member_description">
<p>Border color of blank nodes for
GraphViz DOT serializer.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RAPTOR-OPTION-RESOURCE-FILL:CAPS"></a>RAPTOR_OPTION_RESOURCE_FILL</p></td>
<td class="enum_member_description">
<p>Fill color of resource nodes
for GraphViz DOT serializer.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RAPTOR-OPTION-LITERAL-FILL:CAPS"></a>RAPTOR_OPTION_LITERAL_FILL</p></td>
<td class="enum_member_description">
<p>Fill color of literal nodes for
GraphViz DOT serializer.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RAPTOR-OPTION-BNODE-FILL:CAPS"></a>RAPTOR_OPTION_BNODE_FILL</p></td>
<td class="enum_member_description">
<p>Fill color of blank nodes for
GraphViz DOT serializer.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RAPTOR-OPTION-HTML-TAG-SOUP:CAPS"></a>RAPTOR_OPTION_HTML_TAG_SOUP</p></td>
<td class="enum_member_description">
<p>Use a lax HTML parser if an XML parser
fails when read HTML for GRDDL parser.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RAPTOR-OPTION-MICROFORMATS:CAPS"></a>RAPTOR_OPTION_MICROFORMATS</p></td>
<td class="enum_member_description">
<p>Look for microformats for GRDDL parser.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RAPTOR-OPTION-HTML-LINK:CAPS"></a>RAPTOR_OPTION_HTML_LINK</p></td>
<td class="enum_member_description">
<p>Look for head &lt;link&gt; to type rdf/xml
for GRDDL parser.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RAPTOR-OPTION-WWW-TIMEOUT:CAPS"></a>RAPTOR_OPTION_WWW_TIMEOUT</p></td>
<td class="enum_member_description">
<p>Set timeout for internal WWW URI requests
for GRDDL parser.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RAPTOR-OPTION-WRITE-BASE-URI:CAPS"></a>RAPTOR_OPTION_WRITE_BASE_URI</p></td>
<td class="enum_member_description">
<p>Write <em class="parameter"><code>base</code></em>
 directive for Turtle/N3.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RAPTOR-OPTION-WWW-HTTP-CACHE-CONTROL:CAPS"></a>RAPTOR_OPTION_WWW_HTTP_CACHE_CONTROL</p></td>
<td class="enum_member_description">
<p>HTTP Cache-Control: header</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RAPTOR-OPTION-WWW-HTTP-USER-AGENT:CAPS"></a>RAPTOR_OPTION_WWW_HTTP_USER_AGENT</p></td>
<td class="enum_member_description">
<p>HTTP User-Agent: header</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RAPTOR-OPTION-JSON-CALLBACK:CAPS"></a>RAPTOR_OPTION_JSON_CALLBACK</p></td>
<td class="enum_member_description">
<p>JSON serializer callback function.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RAPTOR-OPTION-JSON-EXTRA-DATA:CAPS"></a>RAPTOR_OPTION_JSON_EXTRA_DATA</p></td>
<td class="enum_member_description">
<p>JSON serializer extra top-level data</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RAPTOR-OPTION-RSS-TRIPLES:CAPS"></a>RAPTOR_OPTION_RSS_TRIPLES</p></td>
<td class="enum_member_description">
<p>Atom/RSS serializer writes extra RDF triples it finds (none, rdf-xml, atom-triples)</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RAPTOR-OPTION-ATOM-ENTRY-URI:CAPS"></a>RAPTOR_OPTION_ATOM_ENTRY_URI</p></td>
<td class="enum_member_description">
<p>Atom entry URI.  If given, generate an Atom Entry Document with the item having the given URI, otherwise generate an Atom Feed Document with any items found.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RAPTOR-OPTION-PREFIX-ELEMENTS:CAPS"></a>RAPTOR_OPTION_PREFIX_ELEMENTS</p></td>
<td class="enum_member_description">
<p>Integer. If set, generate Atom/RSS1.0 documents with prefixed elements, otherwise unprefixed.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RAPTOR-OPTION-STRICT:CAPS"></a>RAPTOR_OPTION_STRICT</p></td>
<td class="enum_member_description">
<p>Boolean. If set, operate in strict conformance mode.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RAPTOR-OPTION-WWW-CERT-FILENAME:CAPS"></a>RAPTOR_OPTION_WWW_CERT_FILENAME</p></td>
<td class="enum_member_description">
<p>String. SSL client certificate filename</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RAPTOR-OPTION-WWW-CERT-TYPE:CAPS"></a>RAPTOR_OPTION_WWW_CERT_TYPE</p></td>
<td class="enum_member_description">
<p>String. SSL client certificate type</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RAPTOR-OPTION-WWW-CERT-PASSPHRASE:CAPS"></a>RAPTOR_OPTION_WWW_CERT_PASSPHRASE</p></td>
<td class="enum_member_description">
<p>String. SSL client certificate passphrase</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RAPTOR-OPTION-NO-FILE:CAPS"></a>RAPTOR_OPTION_NO_FILE</p></td>
<td class="enum_member_description">
<p>Deny file reading requests inside other requests.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RAPTOR-OPTION-WWW-SSL-VERIFY-PEER:CAPS"></a>RAPTOR_OPTION_WWW_SSL_VERIFY_PEER</p></td>
<td class="enum_member_description">
<p>Integer. SSL verify peer - non-0 to verify peer SSL certificate (default)</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RAPTOR-OPTION-WWW-SSL-VERIFY-HOST:CAPS"></a>RAPTOR_OPTION_WWW_SSL_VERIFY_HOST</p></td>
<td class="enum_member_description">
<p>Integer. SSL verify host - 0 none, 1 CN match, 2 host match (default). Other values are ignored.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RAPTOR-OPTION-LOAD-EXTERNAL-ENTITIES:CAPS"></a>RAPTOR_OPTION_LOAD_EXTERNAL_ENTITIES</p></td>
<td class="enum_member_description">
<p>When reading XML, load external entities.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RAPTOR-OPTION-LAST:CAPS"></a>RAPTOR_OPTION_LAST</p></td>
<td class="enum_member_description">
<p>Internal</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="raptor-option-description"></a><h3>raptor_option_description</h3>
<pre class="programlisting">typedef struct {
  raptor_domain domain;
  raptor_option option;
  raptor_option_value_type value_type;
  const char* name;
  size_t name_len;
  const char* label;
  raptor_uri* uri;
} raptor_option_description;
</pre>
<p>Description of an option for a domain.</p>
<div class="refsect3">
<a name="raptor-option-description.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="struct_members_name">
<col class="struct_members_description">
<col width="200px" class="struct_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="struct_member_name"><p><a class="link" href="raptor2-section-general.html#raptor-domain" title="enum raptor_domain"><span class="type">raptor_domain</span></a> <em class="structfield"><code><a name="raptor-option-description.domain"></a>domain</code></em>;</p></td>
<td class="struct_member_description"><p>domain ID</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><a class="link" href="raptor2-section-option.html#raptor-option" title="enum raptor_option"><span class="type">raptor_option</span></a> <em class="structfield"><code><a name="raptor-option-description.option"></a>option</code></em>;</p></td>
<td class="struct_member_description"><p>option ID</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><a class="link" href="raptor2-section-option.html#raptor-option-value-type" title="enum raptor_option_value_type"><span class="type">raptor_option_value_type</span></a> <em class="structfield"><code><a name="raptor-option-description.value-type"></a>value_type</code></em>;</p></td>
<td class="struct_member_description"><p>data type of option value</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p>const <span class="type">char</span> *<em class="structfield"><code><a name="raptor-option-description.name"></a>name</code></em>;</p></td>
<td class="struct_member_description"><p>short name for option</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><span class="type">size_t</span> <em class="structfield"><code><a name="raptor-option-description.name-len"></a>name_len</code></em>;</p></td>
<td class="struct_member_description"><p>length of <em class="parameter"><code>name</code></em>
</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p>const <span class="type">char</span> *<em class="structfield"><code><a name="raptor-option-description.label"></a>label</code></em>;</p></td>
<td class="struct_member_description"><p>description of option</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="type">raptor_uri</span></a> *<em class="structfield"><code><a name="raptor-option-description.uri"></a>uri</code></em>;</p></td>
<td class="struct_member_description"><p>URI identifying option</p></td>
<td class="struct_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="raptor-option-value-type"></a><h3>enum raptor_option_value_type</h3>
<p>Option value types.</p>
<div class="refsect3">
<a name="raptor-option-value-type.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="enum_members_name">
<col class="enum_members_description">
<col width="200px" class="enum_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="enum_member_name"><p><a name="RAPTOR-OPTION-VALUE-TYPE-BOOL:CAPS"></a>RAPTOR_OPTION_VALUE_TYPE_BOOL</p></td>
<td class="enum_member_description">
<p>Boolean integer value. Non-0 is true</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RAPTOR-OPTION-VALUE-TYPE-INT:CAPS"></a>RAPTOR_OPTION_VALUE_TYPE_INT</p></td>
<td class="enum_member_description">
<p>Decimal integer value</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RAPTOR-OPTION-VALUE-TYPE-STRING:CAPS"></a>RAPTOR_OPTION_VALUE_TYPE_STRING</p></td>
<td class="enum_member_description">
<p>String value</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RAPTOR-OPTION-VALUE-TYPE-URI:CAPS"></a>RAPTOR_OPTION_VALUE_TYPE_URI</p></td>
<td class="enum_member_description">
<p>URI String value.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RAPTOR-OPTION-VALUE-TYPE-LAST:CAPS"></a>RAPTOR_OPTION_VALUE_TYPE_LAST</p></td>
<td class="enum_member_description">
<p>internal</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.33.1</div>
</body>
</html>