diff options
Diffstat (limited to 'src/mmap_notify.h')
-rw-r--r-- | src/mmap_notify.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/mmap_notify.h b/src/mmap_notify.h new file mode 100644 index 000000000..e0272ce70 --- /dev/null +++ b/src/mmap_notify.h @@ -0,0 +1,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 */ |