Skip to content

Instantly share code, notes, and snippets.

@flatcap
Created April 15, 2023 01:03
Show Gist options
  • Save flatcap/cb00c38d9cb26a9f92a7932eeadcc727 to your computer and use it in GitHub Desktop.
Save flatcap/cb00c38d9cb26a9f92a7932eeadcc727 to your computer and use it in GitHub Desktop.
struct Buffer function renames
git mv test/buffer/mutt_buffer_addch.c test/buffer/buf_addch.c
git mv test/buffer/mutt_buffer_addstr.c test/buffer/buf_addstr.c
git mv test/buffer/mutt_buffer_addstr_n.c test/buffer/buf_addstr_n.c
git mv test/buffer/mutt_buffer_add_printf.c test/buffer/buf_add_printf.c
git mv test/buffer/mutt_buffer_alloc.c test/buffer/buf_alloc.c
git mv test/buffer/mutt_buffer_concatn_path.c test/buffer/buf_concatn_path.c
git mv test/buffer/mutt_buffer_concat_path.c test/buffer/buf_concat_path.c
git mv test/buffer/mutt_buffer_copy.c test/buffer/buf_copy.c
git mv test/buffer/mutt_buffer_dealloc.c test/buffer/buf_dealloc.c
git mv test/buffer/mutt_buffer_fix_dptr.c test/buffer/buf_fix_dptr.c
git mv test/buffer/mutt_buffer_init.c test/buffer/buf_init.c
git mv test/buffer/mutt_buffer_insert.c test/buffer/buf_insert.c
git mv test/buffer/mutt_buffer_is_empty.c test/buffer/buf_is_empty.c
git mv test/buffer/mutt_buffer_len.c test/buffer/buf_len.c
git mv test/buffer/mutt_buffer_make.c test/buffer/buf_make.c
git mv test/buffer/mutt_buffer_printf.c test/buffer/buf_printf.c
git mv test/buffer/mutt_buffer_reset.c test/buffer/buf_reset.c
git mv test/buffer/mutt_buffer_strcpy.c test/buffer/buf_strcpy.c
git mv test/buffer/mutt_buffer_strcpy_n.c test/buffer/buf_strcpy_n.c
git mv test/buffer/mutt_buffer_strdup.c test/buffer/buf_strdup.c
git mv test/buffer/mutt_buffer_substrcpy.c test/buffer/buf_substrcpy.c
git mv test/core/mutt_buffer_mktemp_full.c test/core/buf_mktemp_full.c
git mv test/file/mutt_buffer_file_expand_fmt_quote.c test/file/buf_file_expand_fmt_quote.c
git mv test/file/mutt_buffer_quote_filename.c test/file/buf_quote_filename.c
git mv test/pool/mutt_buffer_pool_free.c test/pool/buf_pool_free.c
git mv test/pool/mutt_buffer_pool_get.c test/pool/buf_pool_get.c
git mv test/pool/mutt_buffer_pool_release.c test/pool/buf_pool_release.c
s/mutt_buffer_addch\>/buf_addch/g
s/mutt_buffer_addstr\>/buf_addstr/g
s/mutt_buffer_addstr_n\>/buf_addstr_n/g
s/mutt_buffer_add_printf\>/buf_add_printf/g
s/mutt_buffer_alloc\>/buf_alloc/g
s/mutt_buffer_at\>/buf_at/g
s/mutt_buffer_coll\>/buf_coll/g
s/mutt_buffer_concatn_path\>/buf_concatn_path/g
s/mutt_buffer_concat_path\>/buf_concat_path/g
s/mutt_buffer_copy\>/buf_copy/g
s/mutt_buffer_dealloc\>/buf_dealloc/g
s/mutt_buffer_delete\>/buf_delete/g
s/mutt_buffer_dequote_comment\>/buf_dequote_comment/g
s/mutt_buffer_dup\>/buf_dup/g
s/mutt_buffer_enter_fname\>/buf_enter_fname/g
s/mutt_buffer_expand_path\>/buf_expand_path/g
s/mutt_buffer_expand_path_regex\>/buf_expand_path_regex/g
s/mutt_buffer_file_expand_fmt_quote\>/buf_file_expand_fmt_quote/g
s/mutt_buffer_find\>/buf_find/g
s/mutt_buffer_find_chr\>/buf_find_chr/g
s/mutt_buffer_fix_dptr\>/buf_fix_dptr/g
s/mutt_buffer_get_field\>/buf_get_field/g
s/mutt_buffer_init\>/buf_init/g
s/mutt_buffer_insert\>/buf_insert/g
s/mutt_buffer_istr_equal\>/buf_istr_equal/g
s/mutt_buffer_is_empty\>/buf_is_empty/g
s/mutt_buffer_len\>/buf_len/g
s/mutt_buffer_lower\>/buf_lower/g
s/mutt_buffer_make\>/buf_make/g
s/mutt_buffer_mktemp\>/buf_mktemp/g
s/mutt_buffer_mktemp_full\>/buf_mktemp_full/g
s/mutt_buffer_mktemp_pfx_sfx\>/buf_mktemp_pfx_sfx/g
s/mutt_buffer_new\>/buf_new/g
s/mutt_buffer_pool_free\>/buf_pool_free/g
s/mutt_buffer_pool_get\>/buf_pool_get/g
s/mutt_buffer_pool_release\>/buf_pool_release/g
s/mutt_buffer_pretty_mailbox\>/buf_pretty_mailbox/g
s/mutt_buffer_printf\>/buf_printf/g
s/mutt_buffer_quote_filename\>/buf_quote_filename/g
s/mutt_buffer_reset\>/buf_reset/g
s/mutt_buffer_sanitize_filename\>/buf_sanitize_filename/g
s/mutt_buffer_save_path\>/buf_save_path/g
s/mutt_buffer_seek\>/buf_seek/g
s/mutt_buffer_select_file\>/buf_select_file/g
s/mutt_buffer_strcpy\>/buf_strcpy/g
s/mutt_buffer_strcpy_n\>/buf_strcpy_n/g
s/mutt_buffer_strdup\>/buf_strdup/g
s/mutt_buffer_string\>/buf_string/g
s/mutt_buffer_strip_formatting\>/buf_strip_formatting/g
s/mutt_buffer_str_equal\>/buf_str_equal/g
s/mutt_buffer_substrcpy\>/buf_substrcpy/g
s/mutt_buffer_upper\>/buf_upper/g
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment