summaryrefslogtreecommitdiff
path: root/include/internal/parse_config.h
diff options
context:
space:
mode:
authorCarmelo Amoroso <carmelo.amoroso@st.com>2010-11-28 21:09:47 +0100
committerCarmelo Amoroso <carmelo.amoroso@st.com>2010-11-28 21:09:47 +0100
commit57f6cce72c889f2e7b342e87a565a064320a6ee2 (patch)
tree5466406472918d3adb63398f5fb9ea1511a5e73f /include/internal/parse_config.h
parent4ec89b87bc0eea8d9ca6b50564d12eeb3b1b0119 (diff)
parent5dea871ac73ef4608022c058b50adc946917f9b9 (diff)
Merge commit 'origin/master' into prelink
Conflicts: ldso/include/dl-hash.h Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Diffstat (limited to 'include/internal/parse_config.h')
-rw-r--r--include/internal/parse_config.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/internal/parse_config.h b/include/internal/parse_config.h
index 47a74fa75..ebfb87e5f 100644
--- a/include/internal/parse_config.h
+++ b/include/internal/parse_config.h
@@ -44,10 +44,14 @@ typedef struct parser_t {
size_t line_len; /* length of line */
smalluint allocated;
} parser_t;
+
parser_t* config_open(const char *filename) FAST_FUNC attribute_hidden;
+libc_hidden_proto(config_open)
int config_read(parser_t *parser, char ***tokens, unsigned flags, const char *delims) FAST_FUNC attribute_hidden;
+libc_hidden_proto(config_read)
#define config_read(parser, tokens, max, min, str, flags) \
config_read(parser, tokens, ((flags) | (((min) & 0xFF) << 8) | ((max) & 0xFF)), str)
void config_close(parser_t *parser) FAST_FUNC attribute_hidden;
+libc_hidden_proto(config_close)
#endif /* __INTERNAL_PARSE_CONFIG_H */