Mercurial > pt1.oyama
changeset 165:3ffef0e5b80a
Add pt1_common.h
author | Naoya OYAMA <naoya.oyama@gmail.com> |
---|---|
date | Mon, 01 Oct 2012 21:53:24 +0900 |
parents | 7d8a5bb874ad |
children | 726fe10d9e4a |
files | src/pt1_common.h |
diffstat | 1 files changed, 25 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /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 <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; +