uemacs/search.h

24 lines
710 B
C

#ifndef _SEARCH_H_
#define _SEARCH_H_
#include "estruct.h"
int forwsearch( int f, int n) ;
int forwhunt( int f, int n) ;
int backsearch( int f, int n) ;
int backhunt( int f, int n) ;
int mcscanner( struct magic *mcpatrn, int direct, int beg_or_end) ;
int scanner( const char *patrn, int direct, int beg_or_end) ;
int eq( unsigned char bc, unsigned char pc) ;
void savematch( void) ;
void rvstrcpy( char *rvstr, char *str) ;
int sreplace( int f, int n) ;
int qreplace( int f, int n) ;
int delins( int dlength, char *instr, int use_meta) ;
int expandp( char *srcstr, char *deststr, int maxlength) ;
int boundry( struct line *curline, int curoff, int dir) ;
void mcclear( void) ;
void rmcclear( void) ;
#endif