File: proto-zeroaccess.h

package info (click to toggle)
masscan 2%3A1.3.2%2Bds1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid, trixie
  • size: 2,704 kB
  • sloc: ansic: 37,158; javascript: 256; makefile: 80
file content (26 lines) | stat: -rw-r--r-- 579 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#ifndef PROTO_ZEROACCESS_H
#define PROTO_ZEROACCESS_H
#include <time.h>
#include <stdint.h>
struct PreprocessedInfo;
struct Output;

unsigned
handle_zeroaccess(  struct Output *out, time_t timestamp,
                    const unsigned char *px, unsigned length,
                    struct PreprocessedInfo *parsed,
                    uint64_t entropy);

extern const unsigned char zeroaccess_getL[];
#define zeroaccess_getL_length 16


/**
 * Regression test this module.
 * @return
 *      0 on success, a positive integer otherwise.
 */
int
zeroaccess_selftest(void);

#endif