This file is indexed.

/usr/share/gtk-doc/html/eds/eds-EPhoneNumber.html is in evolution-data-server-doc 3.18.5-1ubuntu1.

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
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
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>EPhoneNumber: Evolution-Data-Server Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="index.html" title="Evolution-Data-Server Reference Manual">
<link rel="up" href="ch12.html" title="Addressbook related utilities">
<link rel="prev" href="eds-ENameWestern.html" title="ENameWestern">
<link rel="next" href="ch13.html" title="Calendar related utilities">
<meta name="generator" content="GTK-Doc V1.24 (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="#eds-EPhoneNumber.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="ch12.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="eds-ENameWestern.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="ch13.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="eds-EPhoneNumber"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="eds-EPhoneNumber.top_of_page"></a>EPhoneNumber</span></h2>
<p>EPhoneNumber — Phone number support</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="eds-EPhoneNumber.functions"></a><h2>Functions</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
</colgroup>
<tbody>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="eds-EPhoneNumber.html#E-PHONE-NUMBER-ERROR:CAPS" title="E_PHONE_NUMBER_ERROR">E_PHONE_NUMBER_ERROR</a></td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Quarks.html#GQuark"><span class="returnvalue">GQuark</span></a>
</td>
<td class="function_name">
<a class="link" href="eds-EPhoneNumber.html#e-phone-number-error-quark" title="e_phone_number_error_quark ()">e_phone_number_error_quark</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="eds-EPhoneNumber.html#e-phone-number-is-supported" title="e_phone_number_is_supported ()">e_phone_number_is_supported</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
</td>
<td class="function_name">
<a class="link" href="eds-EPhoneNumber.html#e-phone-number-get-country-code-for-region" title="e_phone_number_get_country_code_for_region ()">e_phone_number_get_country_code_for_region</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="eds-EPhoneNumber.html#e-phone-number-get-default-region" title="e_phone_number_get_default_region ()">e_phone_number_get_default_region</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="eds-EPhoneNumber.html#EPhoneNumber" title="EPhoneNumber"><span class="returnvalue">EPhoneNumber</span></a> *
</td>
<td class="function_name">
<a class="link" href="eds-EPhoneNumber.html#e-phone-number-from-string" title="e_phone_number_from_string ()">e_phone_number_from_string</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="eds-EPhoneNumber.html#e-phone-number-to-string" title="e_phone_number_to_string ()">e_phone_number_to_string</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
</td>
<td class="function_name">
<a class="link" href="eds-EPhoneNumber.html#e-phone-number-get-country-code" title="e_phone_number_get_country_code ()">e_phone_number_get_country_code</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="eds-EPhoneNumber.html#e-phone-number-get-national-number" title="e_phone_number_get_national_number ()">e_phone_number_get_national_number</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="eds-EPhoneNumber.html#EPhoneNumberMatch" title="enum EPhoneNumberMatch"><span class="returnvalue">EPhoneNumberMatch</span></a>
</td>
<td class="function_name">
<a class="link" href="eds-EPhoneNumber.html#e-phone-number-compare" title="e_phone_number_compare ()">e_phone_number_compare</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="eds-EPhoneNumber.html#EPhoneNumberMatch" title="enum EPhoneNumberMatch"><span class="returnvalue">EPhoneNumberMatch</span></a>
</td>
<td class="function_name">
<a class="link" href="eds-EPhoneNumber.html#e-phone-number-compare-strings" title="e_phone_number_compare_strings ()">e_phone_number_compare_strings</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="eds-EPhoneNumber.html#EPhoneNumberMatch" title="enum EPhoneNumberMatch"><span class="returnvalue">EPhoneNumberMatch</span></a>
</td>
<td class="function_name">
<a class="link" href="eds-EPhoneNumber.html#e-phone-number-compare-strings-with-region" title="e_phone_number_compare_strings_with_region ()">e_phone_number_compare_strings_with_region</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="eds-EPhoneNumber.html#EPhoneNumber" title="EPhoneNumber"><span class="returnvalue">EPhoneNumber</span></a> *
</td>
<td class="function_name">
<a class="link" href="eds-EPhoneNumber.html#e-phone-number-copy" title="e_phone_number_copy ()">e_phone_number_copy</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="eds-EPhoneNumber.html#e-phone-number-free" title="e_phone_number_free ()">e_phone_number_free</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="eds-EPhoneNumber.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
</colgroup>
<tbody>
<tr>
<td class="datatype_keyword">enum</td>
<td class="function_name"><a class="link" href="eds-EPhoneNumber.html#EPhoneNumberFormat" title="enum EPhoneNumberFormat">EPhoneNumberFormat</a></td>
</tr>
<tr>
<td class="datatype_keyword">enum</td>
<td class="function_name"><a class="link" href="eds-EPhoneNumber.html#EPhoneNumberMatch" title="enum EPhoneNumberMatch">EPhoneNumberMatch</a></td>
</tr>
<tr>
<td class="datatype_keyword">enum</td>
<td class="function_name"><a class="link" href="eds-EPhoneNumber.html#EPhoneNumberError" title="enum EPhoneNumberError">EPhoneNumberError</a></td>
</tr>
<tr>
<td class="datatype_keyword">enum</td>
<td class="function_name"><a class="link" href="eds-EPhoneNumber.html#EPhoneNumberCountrySource" title="enum EPhoneNumberCountrySource">EPhoneNumberCountrySource</a></td>
</tr>
<tr>
<td class="datatype_keyword"> </td>
<td class="function_name"><a class="link" href="eds-EPhoneNumber.html#EPhoneNumber" title="EPhoneNumber">EPhoneNumber</a></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="eds-EPhoneNumber.includes"></a><h2>Includes</h2>
<pre class="synopsis">#include &lt;libedataserver/libedataserver.h&gt;
</pre>
</div>
<div class="refsect1">
<a name="eds-EPhoneNumber.description"></a><h2>Description</h2>
<p>This modules provides utility functions for parsing and formatting
phone numbers. Under the hood it uses Google's libphonenumber.</p>
</div>
<div class="refsect1">
<a name="eds-EPhoneNumber.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="E-PHONE-NUMBER-ERROR:CAPS"></a><h3>E_PHONE_NUMBER_ERROR</h3>
<pre class="programlisting">#define E_PHONE_NUMBER_ERROR (e_phone_number_error_quark ())
</pre>
</div>
<hr>
<div class="refsect2">
<a name="e-phone-number-error-quark"></a><h3>e_phone_number_error_quark ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Quarks.html#GQuark"><span class="returnvalue">GQuark</span></a>
e_phone_number_error_quark (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="e-phone-number-is-supported"></a><h3>e_phone_number_is_supported ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
e_phone_number_is_supported (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>Checks if phone number support is available. It is recommended to call this
function before using any of the phone-utils functions to ensure that the
required functionality is available, and to pick alternative mechanisms if
needed.</p>
<div class="refsect3">
<a name="id-1.5.4.6.7.4.5"></a><h4>Returns</h4>
<p> <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if phone number support is available.</p>
</div>
<p class="since">Since: <a class="link" href="api-index-3.8.html" title="Index of new symbols in 3.8">3.8</a></p>
</div>
<hr>
<div class="refsect2">
<a name="e-phone-number-get-country-code-for-region"></a><h3>e_phone_number_get_country_code_for_region ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
e_phone_number_get_country_code_for_region
                               (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *region_code</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>Retrieves the preferred country calling code for <em class="parameter"><code>region_code</code></em>
,
e.g. 358 for "fi" or 1 for "en_US<em class="parameter"><code>UTF</code></em>
-8".</p>
<p>If <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> is passed for <em class="parameter"><code>region_code</code></em>
 the default region as returned by
<a class="link" href="eds-EPhoneNumber.html#e-phone-number-get-default-region" title="e_phone_number_get_default_region ()"><code class="function">e_phone_number_get_default_region()</code></a> is used.</p>
<div class="refsect3">
<a name="id-1.5.4.6.7.5.6"></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>region_code</p></td>
<td class="parameter_description"><p> a two-letter country code, a locale name, or
<a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p> a <a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> to set an error, if any. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.5.4.6.7.5.7"></a><h4>Returns</h4>
<p> a valid country calling code, or zero if an unknown region
code was passed.</p>
</div>
<p class="since">Since: <a class="link" href="api-index-3.8.html" title="Index of new symbols in 3.8">3.8</a></p>
</div>
<hr>
<div class="refsect2">
<a name="e-phone-number-get-default-region"></a><h3>e_phone_number_get_default_region ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
e_phone_number_get_default_region (<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>Retrieves the current two-letter country code that's used by default for
parsing phone numbers in <a class="link" href="eds-EPhoneNumber.html#e-phone-number-from-string" title="e_phone_number_from_string ()"><code class="function">e_phone_number_from_string()</code></a>. It can be useful
to store this number before parsing a bigger number of phone numbers.</p>
<p>The result of this functions depends on the current setup of the
<code class="literal">LC_ADDRESS</code> category: If that category provides a reasonable value
for <code class="literal">_NL_ADDRESS_COUNTRY_AB2</code> this value is returned. Otherwise the
locale name configured for <code class="literal">LC_ADDRESS</code> is parsed.</p>
<div class="refsect3">
<a name="id-1.5.4.6.7.6.6"></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>error</p></td>
<td class="parameter_description"><p> a <a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> to set an error, if any. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.5.4.6.7.6.7"></a><h4>Returns</h4>
<p> a newly allocated string containing the
current locale's two-letter code for phone number parsing. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
<p class="since">Since: <a class="link" href="api-index-3.8.html" title="Index of new symbols in 3.8">3.8</a></p>
</div>
<hr>
<div class="refsect2">
<a name="e-phone-number-from-string"></a><h3>e_phone_number_from_string ()</h3>
<pre class="programlisting"><a class="link" href="eds-EPhoneNumber.html#EPhoneNumber" title="EPhoneNumber"><span class="returnvalue">EPhoneNumber</span></a> *
e_phone_number_from_string (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *phone_number</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> *region_code</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>Parses the string passed in <em class="parameter"><code>phone_number</code></em>
. Note that no validation is
performed whether the recognized phone number is valid for a particular
region.</p>
<p>The two-letter country code passed in <em class="parameter"><code>region_code</code></em>
 only is used if the
<em class="parameter"><code>phone_number</code></em>
 is not written in international format. The application's
default region as returned by <a class="link" href="eds-EPhoneNumber.html#e-phone-number-get-default-region" title="e_phone_number_get_default_region ()"><code class="function">e_phone_number_get_default_region()</code></a> is used
if <em class="parameter"><code>region_code</code></em>
 is <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p>
<p>If the number is guaranteed to start with a '+' followed by the country
calling code, then "ZZ" can be passed for <em class="parameter"><code>region_code</code></em>
.</p>
<div class="refsect3">
<a name="id-1.5.4.6.7.7.7"></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>phone_number</p></td>
<td class="parameter_description"><p>the phone number to parse</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>region_code</p></td>
<td class="parameter_description"><p> a two-letter country code, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p> a <a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> to set an error, if any. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.5.4.6.7.7.8"></a><h4>Returns</h4>
<p> a new EPhoneNumber instance on success,
or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on error. Call <a class="link" href="eds-EPhoneNumber.html#e-phone-number-free" title="e_phone_number_free ()"><code class="function">e_phone_number_free()</code></a> to release this instance. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
<p class="since">Since: <a class="link" href="api-index-3.8.html" title="Index of new symbols in 3.8">3.8</a></p>
</div>
<hr>
<div class="refsect2">
<a name="e-phone-number-to-string"></a><h3>e_phone_number_to_string ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
e_phone_number_to_string (<em class="parameter"><code>const <a class="link" href="eds-EPhoneNumber.html#EPhoneNumber" title="EPhoneNumber"><span class="type">EPhoneNumber</span></a> *phone_number</code></em>,
                          <em class="parameter"><code><a class="link" href="eds-EPhoneNumber.html#EPhoneNumberFormat" title="enum EPhoneNumberFormat"><span class="type">EPhoneNumberFormat</span></a> format</code></em>);</pre>
<p>Describes the <em class="parameter"><code>phone_number</code></em>
 according to the rules applying to <em class="parameter"><code>format</code></em>
.</p>
<div class="refsect3">
<a name="id-1.5.4.6.7.8.5"></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>phone_number</p></td>
<td class="parameter_description"><p>the phone number to format</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>format</p></td>
<td class="parameter_description"><p>the phone number format to apply</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.5.4.6.7.8.6"></a><h4>Returns</h4>
<p> A formatted string for <em class="parameter"><code>phone_number</code></em>
. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
<p class="since">Since: <a class="link" href="api-index-3.8.html" title="Index of new symbols in 3.8">3.8</a></p>
</div>
<hr>
<div class="refsect2">
<a name="e-phone-number-get-country-code"></a><h3>e_phone_number_get_country_code ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
e_phone_number_get_country_code (<em class="parameter"><code>const <a class="link" href="eds-EPhoneNumber.html#EPhoneNumber" title="EPhoneNumber"><span class="type">EPhoneNumber</span></a> *phone_number</code></em>,
                                 <em class="parameter"><code><a class="link" href="eds-EPhoneNumber.html#EPhoneNumberCountrySource" title="enum EPhoneNumberCountrySource"><span class="type">EPhoneNumberCountrySource</span></a> *source</code></em>);</pre>
<p>Queries the <em class="parameter"><code>phone_number</code></em>
's country calling code and optionally stores the country
calling code's origin in <em class="parameter"><code>source</code></em>
. For instance when parsing "+1-617-5423789" this
function would return one and assing E_PHONE_NUMBER_COUNTRY_FROM_FQTN to <em class="parameter"><code>source</code></em>
.</p>
<div class="refsect3">
<a name="id-1.5.4.6.7.9.5"></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>phone_number</p></td>
<td class="parameter_description"><p>the phone number to query</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>source</p></td>
<td class="parameter_description"><p>an optional location for storing the phone number's origin, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.5.4.6.7.9.6"></a><h4>Returns</h4>
<p> A valid country calling code, or zero if no code is known.</p>
</div>
<p class="since">Since: <a class="link" href="api-index-3.8.html" title="Index of new symbols in 3.8">3.8</a></p>
</div>
<hr>
<div class="refsect2">
<a name="e-phone-number-get-national-number"></a><h3>e_phone_number_get_national_number ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
e_phone_number_get_national_number (<em class="parameter"><code>const <a class="link" href="eds-EPhoneNumber.html#EPhoneNumber" title="EPhoneNumber"><span class="type">EPhoneNumber</span></a> *phone_number</code></em>);</pre>
<p>Queries the national portion of <em class="parameter"><code>phone_number</code></em>
 without any call-out
prefixes. For instance when parsing "+1-617-5423789" this function would
return the string "6175423789".</p>
<div class="refsect3">
<a name="id-1.5.4.6.7.10.5"></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>phone_number</p></td>
<td class="parameter_description"><p>the phone number to query</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.5.4.6.7.10.6"></a><h4>Returns</h4>
<p> The national portion of <em class="parameter"><code>phone_number</code></em>
. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
<p class="since">Since: <a class="link" href="api-index-3.8.html" title="Index of new symbols in 3.8">3.8</a></p>
</div>
<hr>
<div class="refsect2">
<a name="e-phone-number-compare"></a><h3>e_phone_number_compare ()</h3>
<pre class="programlisting"><a class="link" href="eds-EPhoneNumber.html#EPhoneNumberMatch" title="enum EPhoneNumberMatch"><span class="returnvalue">EPhoneNumberMatch</span></a>
e_phone_number_compare (<em class="parameter"><code>const <a class="link" href="eds-EPhoneNumber.html#EPhoneNumber" title="EPhoneNumber"><span class="type">EPhoneNumber</span></a> *first_number</code></em>,
                        <em class="parameter"><code>const <a class="link" href="eds-EPhoneNumber.html#EPhoneNumber" title="EPhoneNumber"><span class="type">EPhoneNumber</span></a> *second_number</code></em>);</pre>
<p>Compares two phone numbers.</p>
<div class="refsect3">
<a name="id-1.5.4.6.7.11.5"></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>first_number</p></td>
<td class="parameter_description"><p>the first EPhoneNumber to compare</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>second_number</p></td>
<td class="parameter_description"><p>the second EPhoneNumber to compare</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.5.4.6.7.11.6"></a><h4>Returns</h4>
<p> The quality of matching for the two phone numbers.</p>
</div>
<p class="since">Since: <a class="link" href="api-index-3.8.html" title="Index of new symbols in 3.8">3.8</a></p>
</div>
<hr>
<div class="refsect2">
<a name="e-phone-number-compare-strings"></a><h3>e_phone_number_compare_strings ()</h3>
<pre class="programlisting"><a class="link" href="eds-EPhoneNumber.html#EPhoneNumberMatch" title="enum EPhoneNumberMatch"><span class="returnvalue">EPhoneNumberMatch</span></a>
e_phone_number_compare_strings (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *first_number</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> *second_number</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>Compares two phone numbers.</p>
<div class="refsect3">
<a name="id-1.5.4.6.7.12.5"></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>first_number</p></td>
<td class="parameter_description"><p>the first EPhoneNumber to compare</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>second_number</p></td>
<td class="parameter_description"><p>the second EPhoneNumber to compare</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p> a <a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> to set an error, if any. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.5.4.6.7.12.6"></a><h4>Returns</h4>
<p> The quality of matching for the two phone numbers.</p>
</div>
<p class="since">Since: <a class="link" href="api-index-3.8.html" title="Index of new symbols in 3.8">3.8</a></p>
</div>
<hr>
<div class="refsect2">
<a name="e-phone-number-compare-strings-with-region"></a><h3>e_phone_number_compare_strings_with_region ()</h3>
<pre class="programlisting"><a class="link" href="eds-EPhoneNumber.html#EPhoneNumberMatch" title="enum EPhoneNumberMatch"><span class="returnvalue">EPhoneNumberMatch</span></a>
e_phone_number_compare_strings_with_region
                               (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *first_number</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> *second_number</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> *region_code</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>Compares two phone numbers within the context of <em class="parameter"><code>region_code</code></em>
.</p>
<div class="refsect3">
<a name="id-1.5.4.6.7.13.5"></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>first_number</p></td>
<td class="parameter_description"><p>the first EPhoneNumber to compare</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>second_number</p></td>
<td class="parameter_description"><p>the second EPhoneNumber to compare</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>region_code</p></td>
<td class="parameter_description"><p> a two-letter country code, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p> a <a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> to set an error, if any. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.5.4.6.7.13.6"></a><h4>Returns</h4>
<p> The quality of matching for the two phone numbers.</p>
</div>
<p class="since">Since: <a class="link" href="api-index-3.8.html" title="Index of new symbols in 3.8">3.8</a></p>
</div>
<hr>
<div class="refsect2">
<a name="e-phone-number-copy"></a><h3>e_phone_number_copy ()</h3>
<pre class="programlisting"><a class="link" href="eds-EPhoneNumber.html#EPhoneNumber" title="EPhoneNumber"><span class="returnvalue">EPhoneNumber</span></a> *
e_phone_number_copy (<em class="parameter"><code>const <a class="link" href="eds-EPhoneNumber.html#EPhoneNumber" title="EPhoneNumber"><span class="type">EPhoneNumber</span></a> *phone_number</code></em>);</pre>
<p>Makes a copy of <em class="parameter"><code>phone_number</code></em>
.</p>
<div class="refsect3">
<a name="id-1.5.4.6.7.14.5"></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>phone_number</p></td>
<td class="parameter_description"><p>the EPhoneNumber to copy</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.5.4.6.7.14.6"></a><h4>Returns</h4>
<p> A newly allocated EPhoneNumber instance.
Call <a class="link" href="eds-EPhoneNumber.html#e-phone-number-free" title="e_phone_number_free ()"><code class="function">e_phone_number_free()</code></a> to release this instance. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
<p class="since">Since: <a class="link" href="api-index-3.8.html" title="Index of new symbols in 3.8">3.8</a></p>
</div>
<hr>
<div class="refsect2">
<a name="e-phone-number-free"></a><h3>e_phone_number_free ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
e_phone_number_free (<em class="parameter"><code><a class="link" href="eds-EPhoneNumber.html#EPhoneNumber" title="EPhoneNumber"><span class="type">EPhoneNumber</span></a> *phone_number</code></em>);</pre>
<p>Released the memory occupied by <em class="parameter"><code>phone_number</code></em>
.</p>
<div class="refsect3">
<a name="id-1.5.4.6.7.15.5"></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>phone_number</p></td>
<td class="parameter_description"><p>the EPhoneNumber to free</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-3.8.html" title="Index of new symbols in 3.8">3.8</a></p>
</div>
</div>
<div class="refsect1">
<a name="eds-EPhoneNumber.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="EPhoneNumberFormat"></a><h3>enum EPhoneNumberFormat</h3>
<p>The supported formatting rules for phone numbers.</p>
<div class="refsect3">
<a name="id-1.5.4.6.8.2.4"></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="E-PHONE-NUMBER-FORMAT-E164:CAPS"></a>E_PHONE_NUMBER_FORMAT_E164</p></td>
<td class="enum_member_description">
<p>format according E.164: "+493055667788".</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="E-PHONE-NUMBER-FORMAT-INTERNATIONAL:CAPS"></a>E_PHONE_NUMBER_FORMAT_INTERNATIONAL</p></td>
<td class="enum_member_description">
<p>a formatted phone number always
starting with the country calling code: "+49 30 55667788".</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="E-PHONE-NUMBER-FORMAT-NATIONAL:CAPS"></a>E_PHONE_NUMBER_FORMAT_NATIONAL</p></td>
<td class="enum_member_description">
<p>a formatted phone number in national
scope, that is without country calling code: "(030) 55667788".</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="E-PHONE-NUMBER-FORMAT-RFC3966:CAPS"></a>E_PHONE_NUMBER_FORMAT_RFC3966</p></td>
<td class="enum_member_description">
<p>a tel: URL according to RFC 3966:
"tel:+49-30-55667788".</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-3.8.html" title="Index of new symbols in 3.8">3.8</a></p>
</div>
<hr>
<div class="refsect2">
<a name="EPhoneNumberMatch"></a><h3>enum EPhoneNumberMatch</h3>
<p>The strength of a phone number match.</p>
<div class="example">
<a name="id-1.5.4.6.8.3.4"></a><p class="title"><b>Example 3. Some examples of phone number matches</b></p>
<div class="example-contents">
<p>
Let's consider the phone number "+1-221-5423789", then comparing with
"+1.221.542.3789" we have get E_PHONE_NUMBER_MATCH_EXACT because country
code, region code and local number are matching. Comparing with "2215423789"
will result in E_PHONE_NUMBER_MATCH_NATIONAL because the country calling code
is missing, but the national portion is matching. Finally comparing with
"5423789" gives E_PHONE_NUMBER_MATCH_SHORT. For more detail have a look at
the following table:

</p>
<div class="informaltable"><table border="1" align="center">
<colgroup>
  <col width="20%">
  <col width="20%">
  <col width="20%">
  <col width="20%">
  <col width="20%">
 </colgroup>
<tbody>
<tr>
   <th></th>
   <th align="center">+1-617-5423789</th>
   <th align="center">+1-221-5423789</th>
   <th align="center">221-5423789</th>
   <th align="center">5423789</th>
  </tr>
<tr>
   <th align="right">+1-617-5423789</th>
   <td align="center">exact</td>
   <td align="center">none</td>
   <td align="center">none</td>
   <td align="center">short</td>
  </tr>
<tr>
   <th align="right">+1-221-5423789</th>
   <td align="center">none</td>
   <td align="center">exact</td>
   <td align="center">national</td>
   <td align="center">short</td>
  </tr>
<tr>
   <th align="right">221-5423789</th>
   <td align="center">none</td>
   <td align="center">national</td>
   <td align="center">national</td>
   <td align="center">short</td>
  </tr>
<tr>
   <th align="right">5423789</th>
   <td align="center">short</td>
   <td align="center">short</td>
   <td align="center">short</td>
   <td align="center">short</td>
  </tr>
</tbody>
</table></div>
<p>
</p>
</div>
</div>
<br class="example-break"><div class="refsect3">
<a name="id-1.5.4.6.8.3.5"></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="E-PHONE-NUMBER-MATCH-NONE:CAPS"></a>E_PHONE_NUMBER_MATCH_NONE</p></td>
<td class="enum_member_description">
<p>The phone numbers did not match.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="E-PHONE-NUMBER-MATCH-EXACT:CAPS"></a>E_PHONE_NUMBER_MATCH_EXACT</p></td>
<td class="enum_member_description">
<p>The phone numbers matched exactly. Two phone number strings are an exact match
if the country code, national phone number, presence of a leading zero for Italian numbers and any
extension present are the same.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="E-PHONE-NUMBER-MATCH-NATIONAL:CAPS"></a>E_PHONE_NUMBER_MATCH_NATIONAL</p></td>
<td class="enum_member_description">
<p>The national phone number matched. Two phone number strings match at
this strength if either or both has no region specified, and the national phone number 
and extensions are the same.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="E-PHONE-NUMBER-MATCH-SHORT:CAPS"></a>E_PHONE_NUMBER_MATCH_SHORT</p></td>
<td class="enum_member_description">
<p>The weakest sort of match. Two phone numbers match at
this strength if either or both has no region specified, or the region specified is the same, and one national
phone number could be a shorter version of the other number. This includes the case where one has an extension specified,
and the other does not.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-3.8.html" title="Index of new symbols in 3.8">3.8</a></p>
</div>
<hr>
<div class="refsect2">
<a name="EPhoneNumberError"></a><h3>enum EPhoneNumberError</h3>
<p>Numeric description of a phone number related error.</p>
<div class="refsect3">
<a name="id-1.5.4.6.8.4.4"></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="E-PHONE-NUMBER-ERROR-NOT-IMPLEMENTED:CAPS"></a>E_PHONE_NUMBER_ERROR_NOT_IMPLEMENTED</p></td>
<td class="enum_member_description">
<p>the library was built without phone
number support</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="E-PHONE-NUMBER-ERROR-UNKNOWN:CAPS"></a>E_PHONE_NUMBER_ERROR_UNKNOWN</p></td>
<td class="enum_member_description">
<p>the phone number parser reported a yet
unknown error code.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="E-PHONE-NUMBER-ERROR-NOT-A-NUMBER:CAPS"></a>E_PHONE_NUMBER_ERROR_NOT_A_NUMBER</p></td>
<td class="enum_member_description">
<p>the supplied text is not a phone number.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="E-PHONE-NUMBER-ERROR-INVALID-COUNTRY-CODE:CAPS"></a>E_PHONE_NUMBER_ERROR_INVALID_COUNTRY_CODE</p></td>
<td class="enum_member_description">
<p>the supplied phone number has an
invalid country calling code.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="E-PHONE-NUMBER-ERROR-TOO-SHORT-AFTER-IDD:CAPS"></a>E_PHONE_NUMBER_ERROR_TOO_SHORT_AFTER_IDD</p></td>
<td class="enum_member_description">
<p>the remaining text after the
country calling code is to short for a phone number.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="E-PHONE-NUMBER-ERROR-TOO-SHORT:CAPS"></a>E_PHONE_NUMBER_ERROR_TOO_SHORT</p></td>
<td class="enum_member_description">
<p>the text is too short for a phone number.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="E-PHONE-NUMBER-ERROR-TOO-LONG:CAPS"></a>E_PHONE_NUMBER_ERROR_TOO_LONG</p></td>
<td class="enum_member_description">
<p>the text is too long for a phone number.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-3.8.html" title="Index of new symbols in 3.8">3.8</a></p>
</div>
<hr>
<div class="refsect2">
<a name="EPhoneNumberCountrySource"></a><h3>enum EPhoneNumberCountrySource</h3>
<p>The origin of a parsed EPhoneNumber's country calling code.</p>
<div class="refsect3">
<a name="id-1.5.4.6.8.5.4"></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="E-PHONE-NUMBER-COUNTRY-FROM-FQTN:CAPS"></a>E_PHONE_NUMBER_COUNTRY_FROM_FQTN</p></td>
<td class="enum_member_description">
<p>  the EPhoneNumber was build from a fully qualified telephone number
  that contained a valid country calling code</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="E-PHONE-NUMBER-COUNTRY-FROM-IDD:CAPS"></a>E_PHONE_NUMBER_COUNTRY_FROM_IDD</p></td>
<td class="enum_member_description">
<p>  the parsed phone number started with the current locale's international
  call prefix, followed by a valid country calling code</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="E-PHONE-NUMBER-COUNTRY-FROM-DEFAULT:CAPS"></a>E_PHONE_NUMBER_COUNTRY_FROM_DEFAULT</p></td>
<td class="enum_member_description">
<p>  the parsed phone didn't start with a (recognizable) country calling code,
  the code was chosen by checking the current locale settings</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-3.8.html" title="Index of new symbols in 3.8">3.8</a></p>
</div>
<hr>
<div class="refsect2">
<a name="EPhoneNumber"></a><h3>EPhoneNumber</h3>
<pre class="programlisting">typedef struct _EPhoneNumber EPhoneNumber;</pre>
<p>This opaque type describes a parsed phone number. It can be copied using
<a class="link" href="eds-EPhoneNumber.html#e-phone-number-copy" title="e_phone_number_copy ()"><code class="function">e_phone_number_copy()</code></a>. To release it call <a class="link" href="eds-EPhoneNumber.html#e-phone-number-free" title="e_phone_number_free ()"><code class="function">e_phone_number_free()</code></a>.</p>
<p class="since">Since: <a class="link" href="api-index-3.8.html" title="Index of new symbols in 3.8">3.8</a></p>
</div>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.24</div>
</body>
</html>