Ignore:
Timestamp:
Mar 30, 2008, 6:13:55 AM (17 years ago)
Author:
bird
Message:

Added comp-cmds-ex, commands, commands-sc and commands-usr. Added a '%' command prefix that make the commands functions skip the line. Added a -c flag to append that'll make it call commands on each argument (similar to -v). Fixed a little bug in comp-cmds/vars.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kmk/variable.h

    r1437 r1440  
    132132char *variable_expand (const char *line);
    133133char *variable_expand_for_file (const char *line, struct file *file);
     134#ifdef CONFIG_WITH_COMMANDS_FUNC
     135char *variable_expand_for_file_2 (char *o, const char *line, struct file *file);
     136#endif
    134137char *allocated_variable_expand_for_file (const char *line, struct file *file);
    135138#define allocated_variable_expand(line) \
     
    153156                           const char *replace_percent);
    154157char *patsubst_expand (char *o, const char *text, char *pattern, char *replace);
     158#ifdef CONFIG_WITH_COMMANDS_FUNC
     159char *func_commands (char *o, char **argv, const char *funcname);
     160#endif
    155161
    156162/* expand.c */
Note: See TracChangeset for help on using the changeset viewer.