diff options
-rw-r--r-- | gettext-tools/src/read-desktop.h | 35 |
1 files changed, 19 insertions, 16 deletions
diff --git a/gettext-tools/src/read-desktop.h b/gettext-tools/src/read-desktop.h index 778f26d..f3e1b00 100644 --- a/gettext-tools/src/read-desktop.h +++ b/gettext-tools/src/read-desktop.h @@ -85,34 +85,37 @@ struct desktop_reader_ty DESKTOP_READER_TY }; -desktop_reader_ty *desktop_reader_alloc (desktop_reader_class_ty *methods); -void desktop_reader_free (desktop_reader_ty *reader); +extern desktop_reader_ty * + desktop_reader_alloc (desktop_reader_class_ty *methods); +extern void desktop_reader_free (desktop_reader_ty *reader); -void desktop_reader_handle_group (desktop_reader_ty *reader, - const char *group); +extern void desktop_reader_handle_group (desktop_reader_ty *reader, + const char *group); -void desktop_reader_handle_pair (desktop_reader_ty *reader, - lex_pos_ty *key_pos, +extern void desktop_reader_handle_pair (desktop_reader_ty *reader, + lex_pos_ty *key_pos, const char *key, const char *locale, const char *value); -void desktop_reader_handle_comment (desktop_reader_ty *reader, - const char *s); +extern void desktop_reader_handle_comment (desktop_reader_ty *reader, + const char *s); -void desktop_reader_handle_blank (desktop_reader_ty *reader, - const char *s); +extern void desktop_reader_handle_blank (desktop_reader_ty *reader, + const char *s); -void desktop_parse (desktop_reader_ty *reader, FILE *file, - const char *real_filename, const char *logical_filename); +extern void desktop_parse (desktop_reader_ty *reader, FILE *file, + const char *real_filename, + const char *logical_filename); -char *desktop_escape_string (const char *s, bool is_list); -char *desktop_unescape_string (const char *s, bool is_list); +extern char *desktop_escape_string (const char *s, bool is_list); +extern char *desktop_unescape_string (const char *s, bool is_list); -void desktop_add_keyword (hash_table *keywords, const char *name, bool is_list); -void desktop_add_default_keywords (hash_table *keywords); +extern void desktop_add_keyword (hash_table *keywords, const char *name, + bool is_list); +extern void desktop_add_default_keywords (hash_table *keywords); #ifdef __cplusplus } |