Snort mailing list archives
Re: Match(mlist->id, index, data) in acsmx2.c?
From: Rayne <hjazz6 () ymail com>
Date: Fri, 31 Oct 2008 01:28:31 -0700 (PDT)
Another related question: In the main function, the search function is called by acsmSearch2(acsm, text, strlen(text), MatchFound, (void *)0); However, MatchFound is a function that simply outputs the id to screen and returns. So what is the significance of having MatchFound as one of the function arguments? Thank you. Regards, Rayne --- On Fri, 10/31/08, Rayne <hjazz6 () ymail com> wrote: From: Rayne <hjazz6 () ymail com> Subject: [Snort-users] Match(mlist->id, index, data) in acsmx2.c? To: snort-users () lists sourceforge net Date: Friday, October 31, 2008, 8:02 AM Hi, I was going through acsmx2.c and trying to compile it, when I found that there were several instances of "Match(mlist->id, index, data)" in the search functions. However, I can't find the function anywhere and the compiler gives me the error that it's undeclared. The closest I could find was the function "int MatchFound(void *id, int index, void *data)". Where is the Match function? Thank you. Regards, Rayne
------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________ Snort-users mailing list Snort-users () lists sourceforge net Go to this URL to change user options or unsubscribe: https://lists.sourceforge.net/lists/listinfo/snort-users Snort-users list archive: http://www.geocrawler.com/redir-sf.php3?list=snort-users
Current thread:
- Match(mlist->id, index, data) in acsmx2.c? Rayne (Oct 31)
- Re: Match(mlist->id, index, data) in acsmx2.c? Rayne (Oct 31)