libosmocore  0.6.3
Osmocom core library
msgfile.h
1 /*
2  * (C) 2010 by Holger Hans Peter Freyther
3  * (C) 2010 by On-Waves
4  * All Rights Reserved
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; either version 2 of the License, or
9  * (at your option) any later version.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License along
17  * with this program; if not, write to the Free Software Foundation, Inc.,
18  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
19  *
20  */
21 
22 #ifndef MSG_FILE_H
23 #define MSG_FILE_H
24 
25 #include <osmocom/core/linuxlist.h>
26 
31  struct llist_head list;
32 
33  /* number for everyone to use */
34  int nr;
35 
36  /* data from the file */
37  char *mcc;
38  char *mnc;
39  char *option;
40  char *text;
41 };
42 
44  struct llist_head entry;
45 };
46 
47 struct osmo_config_list* osmo_config_list_parse(void *ctx, const char *filename);
48 
49 #endif