You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
suricata/src/util-spm-bs2bm.h

16 lines
489 B
C

#ifndef __UTIL_SPM_BS2BM__
#define __UTIL_SPM_BS2BM__
#include "suricata-common.h"
#include "suricata.h"
#define ALPHABET_SIZE 256
inline void Bs2BmBadchars(const uint8_t *, uint32_t, uint8_t *);
inline void Bs2BmBadcharsNocase(const uint8_t *, uint32_t, uint8_t *);
inline uint8_t * Bs2Bm(const uint8_t *, uint32_t, const uint8_t *, uint32_t, uint8_t []);
inline uint8_t *Bs2BmNocase(const uint8_t *, uint32_t, const uint8_t *, uint32_t, uint8_t []);
#endif /* __UTIL_SPM_BS2BM__ */