From 1b4a42c3b1e5633f523df08589c3cadc65aca6e3 Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Sat, 7 May 2011 13:01:41 +0200 Subject: 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 --- include/osmocom/core/msgfile.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'include/osmocom') 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 /** * 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 -- cgit v1.2.3