/*
 * Copyright (c) 2004-2005 Endace Technology Ltd, Hamilton, New Zealand.
 * All rights reserved.
 *
 * This source code is proprietary to Endace Technology Limited and no part
 * of it may be redistributed, published or disclosed except as outlined in
 * the written contract supplied with this product.
 *
 * $Id: parser_lib.h 1091 2005-02-09 03:19:21Z koryn $
 */

#ifndef PARSER_LIB_H
#define PARSER_LIB_H

#include "parse_tree_node.h"

#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */


/* Main parser parsing routine. */
void tcpdump_rule_parse(const char* line, PtNodePtr* root_node, PtNodePtr* protocol_node);


#ifdef __cplusplus
}
#endif /* __cplusplus */

#endif /* PARSER_LIB_H */
