libdvbv5 1.26.1
Library to work with Digital TV devices on Linux
countries.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2006, 2007, 2008, 2009 Winfried Koehler
3 * Copyright (C) 2014 Akihiro Tsukada
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU Lesser General Public License as published by
7 * the Free Software Foundation version 2.1 of the License.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU Lesser General Public License for more details.
13 *
14 * You should have received a copy of the GNU Lesser General Public License
15 * along with this program. if not, see <http://www.gnu.org/licenses/>.
16 *
17 */
18
31#ifndef _COUNTRIES_H_
32#define _COUNTRIES_H_
33
34#ifdef __cplusplus
35extern "C" {
36#endif
37
546
796};
797
807enum dvb_country_t dvb_country_a2_to_id(const char *name);
808
819enum dvb_country_t dvb_country_a3_to_id(const char *name);
820
830const char *dvb_country_to_2letters(int id);
831
842const char *dvb_country_to_3letters(int id);
843
854const char *dvb_country_to_name(int id);
855
864
865#ifdef __cplusplus
866}
867#endif
868
869#endif
dvb_country_t
Definition countries.h:544
@ SM
San Marino.
Definition countries.h:750
@ GB
United Kingdom.
Definition countries.h:623
@ GA
Gabon.
Definition countries.h:622
@ TO
Tonga.
Definition countries.h:770
@ SE
Sweden.
Definition countries.h:743
@ IL
Israel.
Definition countries.h:649
@ AO
Angola.
Definition countries.h:554
@ VU
Vanuatu.
Definition countries.h:788
@ ID
Indonesia.
Definition countries.h:647
@ ZA
South Africa.
Definition countries.h:793
@ MK
The Former Yugoslav Republic of Macedonia.
Definition countries.h:690
@ ZW
Zimbabwe.
Definition countries.h:795
@ SL
Sierra Leone.
Definition countries.h:749
@ BT
Bhutan.
Definition countries.h:579
@ IO
British Indian Ocean Territory.
Definition countries.h:652
@ WF
Wallis and Futuna.
Definition countries.h:789
@ LU
Luxembourg.
Definition countries.h:680
@ TR
Turkey.
Definition countries.h:771
@ EG
Egypt.
Definition countries.h:611
@ SB
Solomon Islands.
Definition countries.h:740
@ TH
Thailand.
Definition countries.h:764
@ CH
Switzerland.
Definition countries.h:589
@ DE
Germany.
Definition countries.h:603
@ IE
Ireland.
Definition countries.h:648
@ SH
Saint Helena, Ascension and Tristan da Cunha.
Definition countries.h:745
@ PA
Panama.
Definition countries.h:719
@ TF
French Southern Territories.
Definition countries.h:762
@ PY
Paraguay.
Definition countries.h:732
@ NG
Nigeria.
Definition countries.h:710
@ BV
Bouvet Island.
Definition countries.h:580
@ CL
Chile.
Definition countries.h:592
@ UY
Uruguay.
Definition countries.h:780
@ TG
Togo.
Definition countries.h:763
@ LR
Liberia.
Definition countries.h:677
@ CK
Cook Islands.
Definition countries.h:591
@ BE
Belgium.
Definition countries.h:566
@ FR
France.
Definition countries.h:621
@ CR
Costa Rica.
Definition countries.h:596
@ EH
Western Sahara.
Definition countries.h:612
@ RO
Romania.
Definition countries.h:735
@ LK
Sri Lanka.
Definition countries.h:676
@ TT
Trinidad and Tobago.
Definition countries.h:772
@ KI
Kiribati.
Definition countries.h:664
@ GY
Guyana.
Definition countries.h:640
@ ZM
Zambia.
Definition countries.h:794
@ SK
Slovakia.
Definition countries.h:748
@ KY
Cayman Islands.
Definition countries.h:670
@ GS
South Georgia and the South Sandwich Islands.
Definition countries.h:636
@ TD
Chad.
Definition countries.h:761
@ DK
Denmark.
Definition countries.h:605
@ PN
Pitcairn.
Definition countries.h:727
@ AT
Austria.
Definition countries.h:558
@ CX
Christmas Island.
Definition countries.h:600
@ MD
Republic of Moldova.
Definition countries.h:685
@ MR
Mauritania.
Definition countries.h:697
@ VI
U.S.
Definition countries.h:786
@ PG
Papua New Guinea.
Definition countries.h:722
@ NC
New Caledonia.
Definition countries.h:707
@ AL
Albania.
Definition countries.h:552
@ ER
Eritrea.
Definition countries.h:613
@ PE
Peru.
Definition countries.h:720
@ CY
Cyprus.
Definition countries.h:601
@ CM
Cameroon.
Definition countries.h:593
@ TN
Tunisia.
Definition countries.h:769
@ SS
South Sudan.
Definition countries.h:754
@ KH
Cambodia.
Definition countries.h:663
@ UM
United States Minor Outlying Islands.
Definition countries.h:778
@ GM
Gambia.
Definition countries.h:631
@ LS
Lesotho.
Definition countries.h:678
@ SY
Syrian Arab Republic.
Definition countries.h:758
@ MW
Malawi.
Definition countries.h:702
@ BD
Bangladesh.
Definition countries.h:565
@ PM
Saint Pierre and Miquelon.
Definition countries.h:726
@ WS
Samoa.
Definition countries.h:790
@ GG
Guernsey.
Definition countries.h:627
@ DO
Dominican Republic.
Definition countries.h:607
@ COUNTRY_UNKNOWN
(Unknown Country)
Definition countries.h:545
@ GQ
Equatorial Guinea.
Definition countries.h:634
@ CN
China.
Definition countries.h:594
@ MV
Maldives.
Definition countries.h:701
@ AX
Aland Islands.
Definition countries.h:561
@ VC
Saint Vincent and The Grenadines.
Definition countries.h:783
@ GE
Georgia.
Definition countries.h:625
@ GU
Guam.
Definition countries.h:638
@ GT
Guatemala.
Definition countries.h:637
@ SD
Sudan.
Definition countries.h:742
@ MX
Mexico.
Definition countries.h:703
@ YT
Mayotte.
Definition countries.h:792
@ NA
Namibia.
Definition countries.h:706
@ FK
Falkland Islands (Malvinas)
Definition countries.h:618
@ GR
Greece.
Definition countries.h:635
@ KZ
Kazakhstan.
Definition countries.h:671
@ SX
Sint Maarten (Dutch part)
Definition countries.h:757
@ CO
Colombia.
Definition countries.h:595
@ RS
Serbia.
Definition countries.h:736
@ AR
Argentina.
Definition countries.h:556
@ BZ
Belize.
Definition countries.h:583
@ GF
French Guiana.
Definition countries.h:626
@ KE
Kenya.
Definition countries.h:661
@ AD
Andorra.
Definition countries.h:547
@ KN
Saint Kitts and Nevis.
Definition countries.h:666
@ DM
Dominica.
Definition countries.h:606
@ CF
Central African Republic.
Definition countries.h:587
@ NR
Nauru.
Definition countries.h:715
@ EC
Ecuador.
Definition countries.h:609
@ PS
Occupied Palestinian Territory.
Definition countries.h:729
@ DZ
Algeria.
Definition countries.h:608
@ NP
Nepal.
Definition countries.h:714
@ GH
Ghana.
Definition countries.h:628
@ CV
Cape Verde.
Definition countries.h:598
@ LB
Lebanon.
Definition countries.h:673
@ MO
Macao.
Definition countries.h:694
@ SN
Senegal.
Definition countries.h:751
@ AG
Antigua and Barbuda.
Definition countries.h:550
@ MT
Malta.
Definition countries.h:699
@ KP
Democratic People's Republic of Korea.
Definition countries.h:667
@ EE
Estonia.
Definition countries.h:610
@ TV
Tuvalu.
Definition countries.h:773
@ VG
British Virgin Islands.
Definition countries.h:785
@ BH
Bahrain.
Definition countries.h:569
@ LC
Saint Lucia.
Definition countries.h:674
@ SI
Slovenia.
Definition countries.h:746
@ NO
Norway.
Definition countries.h:713
@ QA
Qatar.
Definition countries.h:733
@ IN
India.
Definition countries.h:651
@ BQ
Bonaire, Saint Eustatius and Saba.
Definition countries.h:576
@ BS
Bahamas.
Definition countries.h:578
@ SG
Singapore.
Definition countries.h:744
@ TZ
United Republic of Tanzania.
Definition countries.h:775
@ HK
Hong Kong.
Definition countries.h:641
@ CI
Cote d'Ivoire.
Definition countries.h:590
@ RU
Russian Federation.
Definition countries.h:737
@ GW
Guinea-Bissau.
Definition countries.h:639
@ PH
Philippines.
Definition countries.h:723
@ VE
Bolivarian Republic of Venezuela.
Definition countries.h:784
@ IR
Islamic Republic of Iran.
Definition countries.h:654
@ YE
Yemen.
Definition countries.h:791
@ LA
Lao People's Democratic Republic.
Definition countries.h:672
@ OM
Oman.
Definition countries.h:718
@ MS
Montserrat.
Definition countries.h:698
@ BO
Plurinational State of Bolivia.
Definition countries.h:575
@ SZ
Swaziland.
Definition countries.h:759
@ PF
French Polynesia.
Definition countries.h:721
@ JE
Jersey.
Definition countries.h:657
@ UZ
Uzbekistan.
Definition countries.h:781
@ SR
Suriname.
Definition countries.h:753
@ IT
Italy.
Definition countries.h:656
@ MH
Marshall Islands.
Definition countries.h:689
@ BA
Bosnia and Herzegovina.
Definition countries.h:563
@ ET
Ethiopia.
Definition countries.h:615
@ SV
El Salvador.
Definition countries.h:756
@ BR
Brazil.
Definition countries.h:577
@ AW
Aruba.
Definition countries.h:560
@ HR
Croatia.
Definition countries.h:644
@ GI
Gibraltar.
Definition countries.h:629
@ PR
Puerto Rico.
Definition countries.h:728
@ FM
Federated States of Micronesia.
Definition countries.h:619
@ UA
Ukraine.
Definition countries.h:776
@ BJ
Benin.
Definition countries.h:571
@ DJ
Djibouti.
Definition countries.h:604
@ MP
Northern Mariana Islands.
Definition countries.h:695
@ CD
The Democratic Republic of the Congo.
Definition countries.h:586
@ HN
Honduras.
Definition countries.h:643
@ MM
Myanmar.
Definition countries.h:692
@ NZ
New Zealand.
Definition countries.h:717
@ AF
Afghanistan.
Definition countries.h:549
@ GP
Guadeloupe.
Definition countries.h:633
@ MU
Mauritius.
Definition countries.h:700
@ NL
Netherlands.
Definition countries.h:712
@ AI
Anguilla.
Definition countries.h:551
@ TC
Turks and Caicos Islands.
Definition countries.h:760
@ MG
Madagascar.
Definition countries.h:688
@ AE
United Arab Emirates.
Definition countries.h:548
@ PT
Portugal.
Definition countries.h:730
@ LT
Lithuania.
Definition countries.h:679
@ IM
Isle of Man.
Definition countries.h:650
@ CC
Cocos (Keeling) Islands.
Definition countries.h:585
@ TW
Taiwan, Province of China.
Definition countries.h:774
@ BY
Belarus.
Definition countries.h:582
@ NU
Niue.
Definition countries.h:716
@ BW
Botswana.
Definition countries.h:581
@ GD
Grenada.
Definition countries.h:624
@ TK
Tokelau.
Definition countries.h:766
@ MZ
Mozambique.
Definition countries.h:705
@ BG
Bulgaria.
Definition countries.h:568
@ BF
Burkina Faso.
Definition countries.h:567
@ FJ
Fiji.
Definition countries.h:617
@ TL
Timor-Leste.
Definition countries.h:767
@ SJ
Svalbard and Jan Mayen.
Definition countries.h:747
@ CW
Curacao.
Definition countries.h:599
@ SA
Saudi Arabia.
Definition countries.h:739
@ LV
Latvia.
Definition countries.h:681
@ JM
Jamaica.
Definition countries.h:658
@ AQ
Antarctica.
Definition countries.h:555
@ HM
Heard Island and McDonald Islands.
Definition countries.h:642
@ IS
Iceland.
Definition countries.h:655
@ ML
Mali.
Definition countries.h:691
@ US
United States.
Definition countries.h:779
@ BI
Burundi.
Definition countries.h:570
@ PK
Pakistan.
Definition countries.h:724
@ FI
Finland.
Definition countries.h:616
@ AU
Australia.
Definition countries.h:559
@ VN
Viet Nam.
Definition countries.h:787
@ GL
Greenland.
Definition countries.h:630
@ LY
Libyan Arab Jamahiriya.
Definition countries.h:682
@ CU
Cuba.
Definition countries.h:597
@ TJ
Tajikistan.
Definition countries.h:765
@ MF
Saint Martin (French part)
Definition countries.h:687
@ SC
Seychelles.
Definition countries.h:741
@ GN
Guinea.
Definition countries.h:632
@ HU
Hungary.
Definition countries.h:646
@ IQ
Iraq.
Definition countries.h:653
@ BL
Saint Barthelemy.
Definition countries.h:572
@ KG
Kyrgyzstan.
Definition countries.h:662
@ VA
Holy See (Vatican City State)
Definition countries.h:782
@ BN
Brunei Darussalam.
Definition countries.h:574
@ RW
Rwanda.
Definition countries.h:738
@ MY
Malaysia.
Definition countries.h:704
@ CG
Congo.
Definition countries.h:588
@ CZ
Czech Republic.
Definition countries.h:602
@ MC
Monaco.
Definition countries.h:684
@ NE
Niger.
Definition countries.h:708
@ UG
Uganda.
Definition countries.h:777
@ PW
Palau.
Definition countries.h:731
@ HT
Haiti.
Definition countries.h:645
@ MN
Mongolia.
Definition countries.h:693
@ LI
Liechtenstein.
Definition countries.h:675
@ NI
Nicaragua.
Definition countries.h:711
@ ST
Sao Tome and Principe.
Definition countries.h:755
@ MQ
Martinique.
Definition countries.h:696
@ JP
Japan.
Definition countries.h:660
@ KW
Kuwait.
Definition countries.h:669
@ FO
Faroe Islands.
Definition countries.h:620
@ ME
Montenegro.
Definition countries.h:686
@ BM
Bermuda.
Definition countries.h:573
@ KR
Republic of Korea.
Definition countries.h:668
@ AS
American Samoa.
Definition countries.h:557
@ BB
Barbados.
Definition countries.h:564
@ AZ
Azerbaijan.
Definition countries.h:562
@ AM
Armenia.
Definition countries.h:553
@ RE
Reunion.
Definition countries.h:734
@ NF
Norfolk Island.
Definition countries.h:709
@ KM
Comoros.
Definition countries.h:665
@ PL
Poland.
Definition countries.h:725
@ CA
Canada.
Definition countries.h:584
@ MA
Morocco.
Definition countries.h:683
@ TM
Turkmenistan.
Definition countries.h:768
@ ES
Spain.
Definition countries.h:614
@ JO
Jordan.
Definition countries.h:659
@ SO
Somalia.
Definition countries.h:752
const char * dvb_country_to_3letters(int id)
Converts an enum dvb_country_t into a 3-letter Country code as used by MPEG-TS tables.
enum dvb_country_t dvb_country_a3_to_id(const char *name)
Converts a 3-letter Country code as used by MPEG-TS tables into enum dvb_country_t.
const char * dvb_country_to_name(int id)
Converts an enum dvb_country_t into a Country name as used by MPEG-TS tables.
enum dvb_country_t dvb_guess_user_country(void)
Guess the country code from the Unix environment variables.
enum dvb_country_t dvb_country_a2_to_id(const char *name)
Converts an Unix-like 2-letter Country code into enum dvb_country_t.
const char * dvb_country_to_2letters(int id)
Converts an enum dvb_country_t into Unix-like 2-letter Country code.