Logo Search packages:      
Sourcecode: wireshark version File versions  Download package

sttype-test.h
/*
 * $Id: sttype-test.h 24034 2008-01-08 22:54:51Z stig $
 *
 * Wireshark - Network traffic analyzer
 * By Gerald Combs <gerald@wireshark.org>
 * Copyright 2001 Gerald Combs
 *
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version 2
 * of the License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 */

#ifndef STTYPE_TEST_H
#define STTYPE_TEST_H

typedef enum {
      TEST_OP_UNINITIALIZED,
      TEST_OP_EXISTS,
      TEST_OP_NOT,
      TEST_OP_AND,
      TEST_OP_OR,
      TEST_OP_EQ,
      TEST_OP_NE,
      TEST_OP_GT,
      TEST_OP_GE,
      TEST_OP_LT,
      TEST_OP_LE,
      TEST_OP_BITWISE_AND,
      TEST_OP_CONTAINS,
      TEST_OP_MATCHES
} test_op_t;

void
sttype_test_set1(stnode_t *node, test_op_t op, stnode_t *val1);

void
sttype_test_set2(stnode_t *node, test_op_t op, stnode_t *val1, stnode_t *val2);

void
sttype_test_set2_args(stnode_t *node, stnode_t *val1, stnode_t *val2);

void
sttype_test_get(stnode_t *node, test_op_t *p_op, stnode_t **p_val1, stnode_t **p_val2);

#endif

Generated by  Doxygen 1.6.0   Back to index