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 /include/osmocom/core | |
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 'include/osmocom/core')
-rw-r--r-- | include/osmocom/core/msgfile.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/osmocom/core/msgfile.h b/include/osmocom/core/msgfile.h index 92caa9fc..c5e67a45 100644 --- a/include/osmocom/core/msgfile.h +++ b/include/osmocom/core/msgfile.h @@ -22,12 +22,12 @@ #ifndef MSG_FILE_H #define MSG_FILE_H -#include "linuxlist.h" +#include <osmocom/core/linuxlist.h> /** * One message in the list. */ -struct msg_entry { +struct osmo_config_entry { struct llist_head list; /* number for everyone to use */ @@ -40,10 +40,10 @@ struct msg_entry { char *text; }; -struct msg_entries { +struct osmo_config_list { struct llist_head entry; }; -struct msg_entries *msg_entry_parse(void *ctx, const char *filename); +struct osmo_config_list* osmo_config_list_parse(void *ctx, const char *filename); #endif |