Mercurial > pt1.oyama
comparison 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 |
comparison
equal
deleted
inserted
replaced
164:7d8a5bb874ad | 165:3ffef0e5b80a |
---|---|
1 /* pt1_common.h -- This file is part of recpt1. | |
2 | |
3 Copyright 2012 Naoya OYAMA <naoya.oyama@gmail.com> | |
4 | |
5 This program is free software: you can redistribute it and/or modify | |
6 it under the terms of the GNU General Public License as published by | |
7 the Free Software Foundation, either version 3 of the License, or | |
8 (at your option) any later version. | |
9 | |
10 This program is distributed in the hope that it will be useful, | |
11 but WITHOUT ANY WARRANTY; without even the implied warranty of | |
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
13 GNU General Public License for more details. | |
14 | |
15 You should have received a copy of the GNU General Public License | |
16 along with this program. If not, see <http://www.gnu.org/licenses/>. */ | |
17 | |
18 /* ipc message size */ | |
19 #define MSGSZ 255 | |
20 | |
21 typedef struct pt1_msgbuf { | |
22 long mtype; | |
23 char mtext[MSGSZ]; | |
24 } pt1_message_buf; | |
25 |