1 /* SPDX-License-Identifier: GPL-2.0-only */ 2 #ifndef PREPROCESS_H 3 #define PREPROCESS_H 4 5 enum variable_flavor { 6 VAR_SIMPLE, 7 VAR_RECURSIVE, 8 VAR_APPEND, 9 }; 10 11 struct gstr; 12 void env_write_dep(struct gstr *gs); 13 void variable_add(const char *name, const char *value, 14 enum variable_flavor flavor); 15 void variable_all_del(void); 16 char *expand_dollar(const char **str); 17 char *expand_one_token(const char **str); 18 19 #endif /* PREPROCESS_H */ 20