summaryrefslogtreecommitdiff
path: root/src/mmap_notify.h
blob: 449b66f24b39bcac3d4463891678c18468f47659 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/*
 * Copyright (c) 2018-2021 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 */