[BACK]Return to bm.h CVS log [TXT][DIR] Up to [local] / src / include

Diff for /src/include/Attic/bm.h between version 1.7 and 1.8

version 1.7, 2003/08/01 17:38:33 version 1.8, 2004/01/22 21:48:02
Line 39 
Line 39 
 #define _BM_H_  #define _BM_H_
   
 typedef struct {  typedef struct {
         u_char  *pat;                   /* pattern */          unsigned char   *pat;           /* pattern */
         size_t   patlen;                /* pattern length */          size_t           patlen;        /* pattern length */
         size_t  *delta;                 /* skip delta */          size_t          *delta;         /* skip delta */
         int      rarec;                 /* rare character */          int             rarec;          /* rare character */
         size_t   rareoff;               /* rare offset */          size_t          rareoff;        /* rare offset */
         size_t   md2;                   /* mini delta */          size_t          md2;            /* mini delta */
 } bm_pat;  } bm_pat;
   
 #include <sys/cdefs.h>  #include <sys/cdefs.h>
   
 __BEGIN_DECLS  __BEGIN_DECLS
 bm_pat  *bm_comp(u_char const *, size_t, u_char const *);  bm_pat          *bm_comp(unsigned char const *, size_t, unsigned char const *);
 u_char  *bm_exec(bm_pat *, u_char *, size_t)  unsigned char   *bm_exec(bm_pat *, unsigned char *, size_t)
                 __attribute__ ((__bounded__(__string__,2,3)));                      __attribute__ ((__bounded__(__string__,2,3)));
 void     bm_free(bm_pat *);  void             bm_free(bm_pat *);
 __END_DECLS  __END_DECLS
   
 #endif /* !_BM_H_ */  #endif /* !_BM_H_ */

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8