expstate
expand_got_lparen(struct expstate *es, struct place *p,
expand_got_rparen(struct expstate *es, struct place *p,
expand_got_comma(struct expstate *es, struct place *p,
expand_got_other(struct expstate *es, struct place *p,
expand_got_eof(struct expstate *es, struct place *p)
doexpand(struct expstate *es, struct place *p, const char *buf, size_t len)
struct expstate es;
static struct expstate mainstate;
static void doexpand(struct expstate *es, struct place *p,
expstate_init(struct expstate *es, bool tobuf, bool honordefined)
expstate_cleanup(struct expstate *es)
expstate_destroyargs(struct expstate *es)
expand_send(struct expstate *es, struct place *p, const char *buf, size_t len)
expand_send_eof(struct expstate *es, struct place *p)
expand_newarg(struct expstate *es, const char *buf, size_t len)
expand_appendarg(struct expstate *es, const char *buf, size_t len)
expand_substitute(struct place *p, struct expstate *es)
expand_domacro(struct expstate *es, struct place *p)
expand_missingargs(struct expstate *es, struct place *p, bool needspace)
expand_got_ws(struct expstate *es, struct place *p,
expand_got_word(struct expstate *es, struct place *p,