Adjust copyright for 2010
[bcusdk.git] / eibd / client / def / groupcachereadsync.inc
blobe29621f747ed2f89332d2235908a68938cfed3ec
1 EIBC_LICENSE(
2 /*
3     EIBD client library
4     Copyright (C) 2005-2010 Martin Koegler <mkoegler@auto.tuwien.ac.at>
6     This program is free software; you can redistribute it and/or modify
7     it under the terms of the GNU General Public License as published by
8     the Free Software Foundation; either version 2 of the License, or
9     (at your option) any later version.
11     In addition to the permissions in the GNU General Public License, 
12     you may link the compiled version of this file into combinations
13     with other programs, and distribute those combinations without any 
14     restriction coming from the use of this file. (The General Public 
15     License restrictions do apply in other respects; for example, they 
16     cover modification of the file, and distribution when not linked into 
17     a combine executable.)
19     This program is distributed in the hope that it will be useful,
20     but WITHOUT ANY WARRANTY; without even the implied warranty of
21     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
22     GNU General Public License for more details.
24     You should have received a copy of the GNU General Public License
25     along with this program; if not, write to the Free Software
26     Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
30 EIBC_COMPLETE (EIB_Cache_Read_Sync,
31   EIBC_GETREQUEST
32   EIBC_CHECKRESULT (EIB_CACHE_READ, 2)
33   EIBC_RETURNERROR_UINT16 (4, ENODEV)
34   EIBC_RETURNERROR_SIZE (6, ENOENT)
35   EIBC_RETURN_PTR5 (2)
36   EIBC_RETURN_BUF (6)
39 EIBC_ASYNC (EIB_Cache_Read_Sync, ARG_ADDR (dst, ARG_OUTADDR (src, ARG_OUTBUF (buf, ARG_UINT16 (age, ARG_NONE)))),
40   EIBC_INIT_SEND (6)
41   EIBC_READ_BUF (buf)
42   EIBC_PTR5 (src)
43   EIBC_SETADDR (dst, 2)
44   EIBC_SETUINT16 (age, 4)
45   EIBC_SEND (EIB_CACHE_READ)
46   EIBC_INIT_COMPLETE (EIB_Cache_Read_Sync)