# HG changeset patch # User Naoya OYAMA # Date 1349096004 -32400 # Node ID 3ffef0e5b80af77427776797360a75128e963745 # Parent 7d8a5bb874ad3688294adbd2ab10298a4a4ba5de Add pt1_common.h diff -r 7d8a5bb874ad -r 3ffef0e5b80a src/pt1_common.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/pt1_common.h Mon Oct 01 21:53:24 2012 +0900 @@ -0,0 +1,25 @@ +/* pt1_common.h -- This file is part of recpt1. + + Copyright 2012 Naoya OYAMA + + 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 . */ + +/* ipc message size */ +#define MSGSZ 255 + +typedef struct pt1_msgbuf { + long mtype; + char mtext[MSGSZ]; +} pt1_message_buf; +