X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=lexer.h;h=a34d591276d254c82f5e9058514aab1ffe3d1935;hb=f89f7c0c39bf048e468f5202ebb6b8bd09c2805b;hp=35b2fb39af2b16f1cf20f9a1fda13ea1a2d3081e;hpb=691ed5ee7aeaaf365814f3b569f68c387e743a55;p=cparser diff --git a/lexer.h b/lexer.h index 35b2fb3..a34d591 100644 --- a/lexer.h +++ b/lexer.h @@ -1,6 +1,6 @@ /* * This file is part of cparser. - * Copyright (C) 2007-2008 Matthias Braun + * Copyright (C) 2007-2009 Matthias Braun * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License @@ -34,12 +34,12 @@ void lexer_next_preprocessing_token(void); void init_lexer(void); void exit_lexer(void); +void select_input_encoding(char const* encoding); + void lexer_open_stream(FILE *stream, const char *input_name); void lexer_open_buffer(const char *buffer, size_t len, const char *input_name); -string_t concat_strings( const string_t *s1, const string_t *s2); -wide_string_t concat_string_wide_string(const string_t *s1, const wide_string_t *s2); -wide_string_t concat_wide_strings( const wide_string_t *s1, const wide_string_t *s2); -wide_string_t concat_wide_string_string(const wide_string_t *s1, const string_t *s2); +string_t concat_strings(const string_t *s1, const string_t *s2); +string_t make_string(const char *str); #endif