~ubuntu-branches/ubuntu/lucid/mysql-dfsg-5.1/lucid-security

« back to all changes in this revision

Viewing changes to cmd-line-utils/libedit/search.h

  • Committer: Package Import Robot
  • Author(s): Marc Deslauriers
  • Date: 2012-02-22 22:33:55 UTC
  • mto: (1.2.1) (37.1.1 lucid-security)
  • mto: This revision was merged to the branch mainline in revision 36.
  • Revision ID: package-import@ubuntu.com-20120222223355-ku1tb4r70osci6v2
Tags: upstream-5.1.61
ImportĀ upstreamĀ versionĀ 5.1.61

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*      $NetBSD: search.h,v 1.8 2003/10/18 23:27:36 christos Exp $      */
 
1
/*      $NetBSD: search.h,v 1.9 2009/12/30 22:37:40 christos Exp $      */
2
2
 
3
3
/*-
4
4
 * Copyright (c) 1992, 1993
43
43
#include "histedit.h"
44
44
 
45
45
typedef struct el_search_t {
46
 
        char    *patbuf;                /* The pattern buffer           */
 
46
        Char    *patbuf;                /* The pattern buffer           */
47
47
        size_t   patlen;                /* Length of the pattern buffer */
48
48
        int      patdir;                /* Direction of the last search */
49
49
        int      chadir;                /* Character search direction   */
50
 
        char     chacha;                /* Character we are looking for */
 
50
        Char     chacha;                /* Character we are looking for */
51
51
        char     chatflg;               /* 0 if f, 1 if t */
52
52
} el_search_t;
53
53
 
54
54
 
55
 
protected int           el_match(const char *, const char *);
 
55
protected int           el_match(const Char *, const Char *);
56
56
protected int           search_init(EditLine *);
57
57
protected void          search_end(EditLine *);
58
 
protected int           c_hmatch(EditLine *, const char *);
 
58
protected int           c_hmatch(EditLine *, const Char *);
59
59
protected void          c_setpat(EditLine *);
60
60
protected el_action_t   ce_inc_search(EditLine *, int);
61
61
protected el_action_t   cv_search(EditLine *, int);
62
62
protected el_action_t   ce_search_line(EditLine *, int);
63
 
protected el_action_t   cv_repeat_srch(EditLine *, int);
64
 
protected el_action_t   cv_csearch(EditLine *, int, int, int, int);
 
63
protected el_action_t   cv_repeat_srch(EditLine *, Int);
 
64
protected el_action_t   cv_csearch(EditLine *, int, Int, int, int);
65
65
 
66
66
#endif /* _h_el_search */