public inbox for cygwin-cvs@sourceware.org
help / color / mirror / Atom feed
From: Corinna Vinschen <corinna@sourceware.org>
To: cygwin-cvs@sourceware.org
Subject: [newlib-cygwin] Cygwin: POSIX msg queues: move definition of struct msg_hdr
Date: Tue, 25 May 2021 14:56:10 +0000 (GMT)	[thread overview]
Message-ID: <20210525145610.5D0AD385781D@sourceware.org> (raw)

https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=4ea7c12a20b405e543f947623081696299844e38

commit 4ea7c12a20b405e543f947623081696299844e38
Author: Corinna Vinschen <corinna@vinschen.de>
Date:   Tue May 25 16:17:58 2021 +0200

    Cygwin: POSIX msg queues: move definition of struct msg_hdr
    
    ...to mqueue_types.h header.
    
    Signed-off-by: Corinna Vinschen <corinna@vinschen.de>

Diff:
---
 winsup/cygwin/mqueue_types.h | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/winsup/cygwin/mqueue_types.h b/winsup/cygwin/mqueue_types.h
index 7c4a10e07..3a4b127ca 100644
--- a/winsup/cygwin/mqueue_types.h
+++ b/winsup/cygwin/mqueue_types.h
@@ -39,6 +39,13 @@ struct mq_hdr
   uint32_t          mqh_magic;	 /* Expect MQI_MAGIC here, otherwise it's
 				    an old-style message queue. */
 };
+
+struct msg_hdr
+{
+  int32_t         msg_next;	 /* index of next on linked list */
+  int32_t         msg_len;	 /* actual length */
+  unsigned int    msg_prio;	 /* priority */
+};
 #pragma pack (pop)
 
 struct mq_info


                 reply	other threads:[~2021-05-25 14:56 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210525145610.5D0AD385781D@sourceware.org \
    --to=corinna@sourceware.org \
    --cc=cygwin-cvs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).