Dmitry V. Levin
d6c71dd061
Indent the C preprocessor directives to reflect their nesting using the following script: $ cppi -l $(git grep -El '^[[:space:]]*#[[:space:]]*(if|ifdef|ifndef|elif|else|endif|define|pragma)[[:space:]]' |grep -v '\.sh$') |while read f; do cppi < "$f" > "$f".cppi; mv "$f".cppi "$f" done
28 lines
556 B
C
28 lines
556 B
C
/*
|
|
* Copyright (c) 2016-2018 Dmitry V. Levin <ldv@altlinux.org>
|
|
* All rights reserved.
|
|
*
|
|
* SPDX-License-Identifier: LGPL-2.1-or-later
|
|
*/
|
|
|
|
#ifndef STRACE_MSGHDR_H
|
|
# define STRACE_MSGHDR_H
|
|
|
|
/* For definitions of struct msghdr and struct mmsghdr. */
|
|
# include <sys/socket.h>
|
|
|
|
# ifndef HAVE_STRUCT_MMSGHDR
|
|
struct mmsghdr {
|
|
struct msghdr msg_hdr;
|
|
unsigned msg_len;
|
|
};
|
|
# endif
|
|
|
|
struct tcb;
|
|
|
|
extern void
|
|
print_struct_msghdr(struct tcb *, const struct msghdr *,
|
|
const int *p_user_msg_namelen, kernel_ulong_t data_size);
|
|
|
|
#endif /* !STRACE_MSGHDR_H */
|