source: zzuf/trunk/src/common/fd.h @ 4836

Last change on this file since 4836 was 4836, checked in by Sam Hocevar, 9 years ago

build: fix compilation by including <wchar.h> and checking for regwexec.

  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1/*
2 *  zzuf - general purpose fuzzer
3 *  Copyright (c) 2006-2010 Sam Hocevar <sam@hocevar.net>
4 *                All Rights Reserved
5 *
6 *  This program is free software. It comes without any warranty, to
7 *  the extent permitted by applicable law. You can redistribute it
8 *  and/or modify it under the terms of the Do What The Fuck You Want
9 *  To Public License, Version 2, as published by Sam Hocevar. See
10 *  http://sam.zoy.org/wtfpl/COPYING for more details.
11 */
12
13/*
14 *  fd.h: file descriptor functions
15 */
16
17#include <stdint.h>
18#include <wchar.h>
19
20extern void _zz_include(char const *);
21extern void _zz_exclude(char const *);
22extern void _zz_setseed(int32_t);
23extern void _zz_setratio(double, double);
24extern double _zz_getratio(void);
25extern void _zz_setautoinc(void);
26extern void _zz_fd_init(void);
27extern void _zz_fd_fini(void);
28
29extern int _zz_mustwatch(char const *);
30extern int _zz_mustwatchw(wchar_t const *);
31extern int _zz_iswatched(int);
32extern void _zz_register(int);
33extern void _zz_unregister(int);
34extern void _zz_lock(int);
35extern void _zz_unlock(int);
36extern int _zz_islocked(int);
37extern int _zz_isactive(int);
38extern int64_t _zz_getpos(int);
39extern void _zz_setpos(int, int64_t);
40extern void _zz_addpos(int, int64_t);
41extern void _zz_setfuzzed(int, int);
42extern int _zz_getfuzzed(int);
43
44extern struct fuzz *_zz_getfuzz(int);
45
Note: See TracBrowser for help on using the repository browser.