2009-09-07 15:57:41 +03:00
|
|
|
/*
|
|
|
|
* ClamAV bytecode internal API
|
2009-09-30 13:41:02 +03:00
|
|
|
* This is an automatically generated file!
|
2009-09-07 15:57:41 +03:00
|
|
|
*
|
|
|
|
* Copyright (C) 2009 Sourcefire, Inc.
|
|
|
|
*
|
|
|
|
* 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.
|
|
|
|
*/
|
2009-09-22 11:03:17 +03:00
|
|
|
|
2009-09-30 13:41:02 +03:00
|
|
|
#ifndef BYTECODE_API_IMPL_H
|
|
|
|
#define BYTECODE_API_IMPL_H
|
2009-09-22 11:03:17 +03:00
|
|
|
|
2009-09-30 13:41:02 +03:00
|
|
|
struct cli_bc_bctx;
|
|
|
|
uint32_t cli_bcapi_test0(struct cli_bc_ctx *ctx, struct foo*, uint32_t);
|
|
|
|
uint32_t cli_bcapi_test1(struct cli_bc_ctx *ctx, uint32_t, uint32_t);
|
|
|
|
int32_t cli_bcapi_read(struct cli_bc_ctx *ctx, uint8_t*, int32_t);
|
2009-11-06 16:34:46 +02:00
|
|
|
int32_t cli_bcapi_write(struct cli_bc_ctx *ctx, uint8_t*, int32_t);
|
2009-09-30 13:41:02 +03:00
|
|
|
int32_t cli_bcapi_seek(struct cli_bc_ctx *ctx, int32_t, uint32_t);
|
|
|
|
uint32_t cli_bcapi_setvirusname(struct cli_bc_ctx *ctx, const const uint8_t*, uint32_t);
|
|
|
|
uint32_t cli_bcapi_debug_print_str(struct cli_bc_ctx *ctx, const const uint8_t*, uint32_t);
|
2009-09-11 15:12:17 +03:00
|
|
|
uint32_t cli_bcapi_debug_print_uint(struct cli_bc_ctx *ctx, uint32_t, uint32_t);
|
2009-11-06 16:34:46 +02:00
|
|
|
uint32_t cli_bcapi_disasm_x86(struct cli_bc_ctx *ctx, struct DISASM_RESULT*, uint32_t);
|
2009-09-30 13:41:02 +03:00
|
|
|
|
|
|
|
#endif
|