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