Implemented connection type "tcp" (GCT_TCP), use <hostname>:<port> as "port"
[gnokii.git] / include / gsm-networks.h
1 /*
2
3   $Id$
4
5   G N O K I I
6
7   A Linux/Unix toolset and driver for Nokia mobile phones.
8
9   Copyright (C) 1999, 2000 Hugh Blemings & Pavel Janík ml.
10
11   Released under the terms of the GNU GPL, see file COPYING for more details.
12         
13   Header file for GSM networks.
14
15   $Log$
16   Revision 1.1.1.3  2002/04/03 00:08:19  short
17   Found in "gnokii-working" directory, some November-patches version
18
19   Revision 1.5  2001/06/28 00:28:46  pkot
20   Small docs updates (Pawel Kot)
21
22
23 */
24
25 #ifndef __gsm_networks_h
26 #define __gsm_networks_h
27
28 /* This type is used to hold information about various GSM networks. */
29
30 typedef struct {
31   char *Code; /* GSM network code */
32   char *Name; /* GSM network name */
33 } GSM_Network;
34
35 /* This type is used to hold information about various GSM countries. */
36
37 typedef struct {
38   char *Code; /* GSM country code */
39   char *Name; /* GSM country name */
40 } GSM_Country;
41
42 /* These functions are used to search the structure defined above.*/
43 char *GSM_GetNetworkName(char *NetworkCode);
44 char *GSM_GetNetworkCode(char *NetworkName);
45
46 char *GSM_GetCountryName(char *CountryCode);
47 char *GSM_GetCountryCode(char *CountryName);
48
49 #endif  /* __gsm_networks_h */