summaryrefslogtreecommitdiff
path: root/mmap_notify.h
blob: 586c26e6252182e67f5114358b4a9690190b96b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/*
 * Copyright (c) 2018 The strace developers.
 *
 * SPDX-License-Identifier: LGPL-2.1-or-later
 */

#ifndef STRACE_MMAP_NOTIFY_H
#define STRACE_MMAP_NOTIFY_H

#include "defs.h"

typedef void (*mmap_notify_fn)(struct tcb *, void *);

extern void
mmap_notify_register_client(mmap_notify_fn, void *);

extern void
mmap_notify_report (struct tcb *);

#endif /* !STRACE_MMAP_NOTIFY_H */