diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2021-01-17 13:33:10 -0800 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2021-01-17 13:33:10 -0800 |
| commit | 3cc645f2d0393e6e2d1d03a099a0c3320acb2a20 (patch) | |
| tree | db9a9574928075404af4fb64640be8fa096dd3d1 /pattern.h | |
| parent | a4f0b93836fa84c80d68ffdab4e36dd026a498f0 (diff) | |
Improved argument parsing and added support for prompting user for a
pattern if none is provided
Diffstat (limited to 'pattern.h')
| -rw-r--r-- | pattern.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -15,10 +15,12 @@ __attribute__((nonnull(1,2))) pat_t *bp_stringpattern(file_t *f, const char *str); __attribute__((nonnull(1,2))) pat_t *bp_replacement(file_t *f, pat_t *replacepat, const char *replacement); +__attribute__((nonnull(1))) +pat_t *chain_together(file_t *f, pat_t *first, pat_t *second); __attribute__((nonnull)) pat_t *bp_pattern(file_t *f, const char *str); __attribute__((nonnull)) -def_t *bp_definition(file_t *f, const char *str); +def_t *bp_definition(def_t *defs, file_t *f, const char *str); __attribute__((nonnull)) void destroy_pat(pat_t *pat); |
