Mercurial > pt1.oyama
view src/pt1_common.h @ 165:3ffef0e5b80a
Add pt1_common.h
author | Naoya OYAMA <naoya.oyama@gmail.com> |
---|---|
date | Mon, 01 Oct 2012 21:53:24 +0900 |
parents | |
children | 061ef2cd98f0 |
line wrap: on
line source
/* pt1_common.h -- This file is part of recpt1. Copyright 2012 Naoya OYAMA <naoya.oyama@gmail.com> This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. */ /* ipc message size */ #define MSGSZ 255 typedef struct pt1_msgbuf { long mtype; char mtext[MSGSZ]; } pt1_message_buf;