update copyright dates and ADNS_VERSION_STRING
[adns] / regress / hsyscalls.h.m4
CommitLineData
0ebff22d 1m4_dnl hsyscalls.h.m4
2m4_dnl (part of complex test harness, not of the library)
3m4_dnl - prototypes of redefinitions of system calls
4
5m4_dnl This file is
6m4_dnl Copyright (C) 2000 Ian Jackson <ian@davenant.greenend.org.uk>
7m4_dnl
8m4_dnl It is part of adns, which is
9m4_dnl Copyright (C) 1997-2000 Ian Jackson <ian@davenant.greenend.org.uk>
bef232ae 10m4_dnl Copyright (C) 1999-2000 Tony Finch <dot@dotat.at>
0ebff22d 11m4_dnl
12m4_dnl This program is free software; you can redistribute it and/or modify
13m4_dnl it under the terms of the GNU General Public License as published by
14m4_dnl the Free Software Foundation; either version 2, or (at your option)
15m4_dnl any later version.
16m4_dnl
17m4_dnl This program is distributed in the hope that it will be useful,
18m4_dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
19m4_dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20m4_dnl GNU General Public License for more details.
21m4_dnl
22m4_dnl You should have received a copy of the GNU General Public License
23m4_dnl along with this program; if not, write to the Free Software Foundation,
24m4_dnl Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
25
26m4_include(hmacros.i4)
27
28#ifndef HSYSCALLS_H_INCLUDED
29#define HSYSCALLS_H_INCLUDED
30
5aabad0d 31#include <sys/types.h>
0ebff22d 32#include <sys/time.h>
33#include <sys/socket.h>
34#include <sys/uio.h>
35#include <unistd.h>
36
37#ifdef HAVE_POLL
38#include <sys/poll.h>
39#endif
40
41hm_create_proto_h
42m4_define(`hm_syscall', `int H$1(hm_args_massage($3,void));')
43m4_define(`hm_specsyscall', `$1 H$2($3)$4;')
44m4_include(`hsyscalls.i4')
45
46#endif