1 /* SPDX-License-Identifier: GPL-2.0-only */ 1 /* SPDX-License-Identifier: GPL-2.0-only */ 2 #ifndef PREPROCESS_H 2 #ifndef PREPROCESS_H 3 #define PREPROCESS_H 3 #define PREPROCESS_H 4 4 5 enum variable_flavor { 5 enum variable_flavor { 6 VAR_SIMPLE, 6 VAR_SIMPLE, 7 VAR_RECURSIVE, 7 VAR_RECURSIVE, 8 VAR_APPEND, 8 VAR_APPEND, 9 }; 9 }; 10 10 11 struct gstr; 11 struct gstr; 12 void env_write_dep(struct gstr *gs); 12 void env_write_dep(struct gstr *gs); 13 void variable_add(const char *name, const char 13 void variable_add(const char *name, const char *value, 14 enum variable_flavor flavor) 14 enum variable_flavor flavor); 15 void variable_all_del(void); 15 void variable_all_del(void); 16 char *expand_dollar(const char **str); 16 char *expand_dollar(const char **str); 17 char *expand_one_token(const char **str); 17 char *expand_one_token(const char **str); 18 18 19 #endif /* PREPROCESS_H */ 19 #endif /* PREPROCESS_H */ 20 20
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.