diff options
| author | Pablo Neira Ayuso <pablo@gnumonks.org> | 2011-05-07 13:01:41 +0200 | 
|---|---|---|
| committer | Pablo Neira Ayuso <pablo@gnumonks.org> | 2011-05-07 13:14:41 +0200 | 
| commit | 1b4a42c3b1e5633f523df08589c3cadc65aca6e3 (patch) | |
| tree | 78a5e4135a7bb8fa50ee789a2b61b53944bd10af /tests | |
| parent | 2c34867fc3250186474c1f1c3a20c2a01285e974 (diff) | |
msgfile: use namespace prefix osmo_* and use more descriptive names
Summary of changes:
s/msg_entry/osmo_config_entry/g
s/msg_entries/osmo_config_list/g
s/msg_entry_parse/osmo_config_list_parse/g
minor glitch included in this patch while I was at it:
-#include "linuxlist.h"
+#include <osmocom/core/linuxlist.h>
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/msgfile/msgfile_test.c | 8 | 
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/msgfile/msgfile_test.c b/tests/msgfile/msgfile_test.c index 4637ceab..ed7aa978 100644 --- a/tests/msgfile/msgfile_test.c +++ b/tests/msgfile/msgfile_test.c @@ -23,9 +23,9 @@  #include <stdio.h> -static void dump_entries(struct msg_entries *entries) +static void dump_entries(struct osmo_config_list *entries)  { -	struct msg_entry *entry; +	struct osmo_config_entry *entry;  	if (!entries) {  		fprintf(stderr, "Failed to parse the file\n"); @@ -40,10 +40,10 @@ static void dump_entries(struct msg_entries *entries)  int main(int argc, char **argv)  { -	struct msg_entries *entries; +	struct osmo_config_list *entries;  	/* todo use msgfile_test.c.in and replace the path */ -	entries = msg_entry_parse(NULL, "msgconfig.cfg"); +	entries = osmo_config_list_parse(NULL, "msgconfig.cfg");  	dump_entries(entries);  	return 0;  | 
