rizin/libr/parse/p/parse_mreplace/mreplace.h
pancake 65da25d4c0 * Implement STATIC PLUGIN support for r_parse
- Use the new 'asm-like' build system for r_parse plugins
  - Added new callback to 'assemble' parseable expressions
    into compilable asm code
  - Refactorize and remove warnings in parse_mreplace
* Added r_str_char_count() in r_util
* Some fixups in the fastcall code in r_asm

--HG--
rename : libr/parse/p/mreplace/mmemory.c => libr/parse/p/parse_mreplace/mmemory.c
rename : libr/parse/p/mreplace/mmemory.h => libr/parse/p/parse_mreplace/mmemory.h
rename : libr/parse/p/mreplace/mreplace.c => libr/parse/p/parse_mreplace/mreplace.c
rename : libr/parse/p/mreplace/mreplace.h => libr/parse/p/parse_mreplace/mreplace.h
2009-08-14 01:44:12 +00:00

17 lines
527 B
C

//
// Library: Experimental PERL alike "search & replace", Copyleft, 2009-02-20
// Author : Mandingo, mandingo [ at ] yoire.com
//
#if !defined INPUTLINE_BUFFER_REPLACE_SIZE
#define INPUTLINE_BUFFER_REPLACE_SIZE 32768
#endif
//search & replace strings - no regexp
extern void sreplace(char *s,char *orig,char *rep,char multi,long dsize);
//search & replace strings - regexp + multiline safe
extern char *treplace(char *string,char *search,char *replace);
extern char *mreplace(char *string, char *search,char *replace);