xref: /haiku/headers/private/storage/sniffer/Parser.h (revision 674e18fb1856e722485053f4b5354d68277ffb50)
1*674e18fbSTyler Dauwalder //----------------------------------------------------------------------
2*674e18fbSTyler Dauwalder //  This software is part of the OpenBeOS distribution and is covered
3*674e18fbSTyler Dauwalder //  by the OpenBeOS license.
4*674e18fbSTyler Dauwalder //---------------------------------------------------------------------
5*674e18fbSTyler Dauwalder /*!
6*674e18fbSTyler Dauwalder 	\file sniffer/Parser.h
7*674e18fbSTyler Dauwalder 	MIME sniffer rule parser declarations
8*674e18fbSTyler Dauwalder */
9*674e18fbSTyler Dauwalder #ifndef _sk_sniffer_parser_h_
10*674e18fbSTyler Dauwalder #define _sk_sniffer_parser_h_
11*674e18fbSTyler Dauwalder 
12*674e18fbSTyler Dauwalder #include <SupportDefs.h>
13*674e18fbSTyler Dauwalder 
14*674e18fbSTyler Dauwalder class BString;
15*674e18fbSTyler Dauwalder 
16*674e18fbSTyler Dauwalder namespace Sniffer {
17*674e18fbSTyler Dauwalder class Rule;
18*674e18fbSTyler Dauwalder status_t parse(const char *rule, Rule *result, BString *parseError = NULL);
19*674e18fbSTyler Dauwalder }
20*674e18fbSTyler Dauwalder 
21*674e18fbSTyler Dauwalder #endif	// _sk_sniffer_parser_h_
22*674e18fbSTyler Dauwalder 
23