clamav/libclamav/bytecode_api.h

35 lines
976 B
C
Raw Normal View History

2009-09-04 12:09:17 +03:00
/*
* ClamAV bytecode API.
*
* Copyright (C) 2009 Sourcefire, Inc.
*
* Authors: Török Edvin
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* 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., 51 Franklin Street, Fifth Floor, Boston,
* MA 02110-1301, USA.
*/
struct lsig_match {
uint32_t evalcnt;
uint64_t evalids;
uint16_t filetype;
};
2009-08-20 16:23:43 +03:00
struct foo {
struct foo *nxt;
};
2009-09-04 12:09:17 +03:00
int32_t test0(struct foo*, uint32_t);
int32_t test1(int32_t, int32_t);