#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include "asmrp.h"
/*
#define LOG
#ifdef LOG
printf ("rule #%d is true\n", rule_num);
#endif
matches[num_matches] = rule_num;
if(num_matches < MAX_RULEMATCHES - 1)
num_matches++;
matches[num_matches++] = rule_num;
else
printf("Ignoring matched asm rule %d, too many matched rules.\n", rule_num);
}
rule_num++;
int j=0;
int n;
char b[64];
int rulematches[16];
int rulematches[MAX_RULEMATCHES];
printf("calling asmrp_match with:\n%s\n%u\n", desc->stream[i]->asm_rule_book, bandwidth);
#ifndef HAVE_ASMRP_H
#define HAVE_ASMRP_H
#define MAX_RULEMATCHES 16
int asmrp_match (const char *rules, int bandwidth, int *matches) ;