tokenize.c, parse.c: rename functions

This commit is contained in:
Johan Malm 2020-08-06 15:09:13 +01:00
parent 6627a47305
commit f199fc4779
5 changed files with 16 additions and 17 deletions

View file

@ -17,11 +17,15 @@ struct pixmap {
};
/**
* xbm_create_pixmap - parse xbm tokens and create pixmap
* parse_xbm_tokens - parse xbm tokens and create pixmap
* @tokens: token vector
*/
struct pixmap xbm_create_pixmap(struct token *tokens);
struct pixmap parse_xbm_tokens(struct token *tokens);
struct pixmap xbm_create_pixmap_builtin(const char *button);
/**
* parse_xbm_builtin - parse builtin xbm button and create pixmap
* @button: button byte array (xbm format)
*/
struct pixmap parse_xbm_builtin(const char *button);
#endif /* __LABWC_PARSE_H */

View file

@ -28,13 +28,6 @@ struct token {
* @buffer: buffer containing xbm file
* return token vector
*/
struct token *xbm_tokenize(char *buffer);
/**
* xbm_read_file - read file into buffer (as it's easier to tokenize that way)
* @filename: file to be read
* return allocated memory
*/
char *xbm_read_file(const char *filename);
struct token *tokenize_xbm(char *buffer);
#endif /* __LABWC_TOKENIZE_H */