Blame view

include/linux/msg.h 395 Bytes
b24413180   Greg Kroah-Hartman   License cleanup: ...
1
  /* SPDX-License-Identifier: GPL-2.0 */
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
2
3
  #ifndef _LINUX_MSG_H
  #define _LINUX_MSG_H
77597ad66   David Woodhouse   Don't include <li...
4
  #include <linux/list.h>
607ca46e9   David Howells   UAPI: (Scripted) ...
5
  #include <uapi/linux/msg.h>
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
6
7
8
  
  /* one msg_msg structure for each message */
  struct msg_msg {
4e9b45a19   Mathias Krause   ipc, msg: fix mes...
9
10
11
  	struct list_head m_list;
  	long m_type;
  	size_t m_ts;		/* message text size */
239521f31   Manfred Spraul   ipc: whitespace c...
12
  	struct msg_msgseg *next;
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
13
14
15
  	void *security;
  	/* the actual message follows immediately */
  };
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
16
  #endif /* _LINUX_MSG_H */