- Don't set DHCP in interface file if interface is PPP. Otherwise dhclient
[AROS.git] / tools / MetaMake / io_.h
blob9b524acea7ae7fd7e459b216f288a080a479b1e6
1 #ifndef __MMAKE_IO_H
2 #define __MMAKE_IO_H
4 /* MetaMake - A Make extension
5 Copyright © 1995-2004, The AROS Development Team. All rights reserved.
7 This file is part of MetaMake.
9 MetaMake is free software; you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published by
11 the Free Software Foundation; either version 2, or (at your option)
12 any later version.
14 MetaMake is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 GNU General Public License for more details.
19 You should have received a copy of the GNU General Public License
20 along with GNU CC; see the file COPYING. If not, write to
21 the Free Software Foundation, 59 Temple Place - Suite 330,
22 Boston, MA 02111-1307, USA. */
24 #include <stdio.h>
25 #include <stdint.h>
27 /* These functions write out the specified data in a machine independent way, e.g.
28 * file written with these function can be read in on all other platforms.
29 * All io functions return 0 when they fail, 1 for succes */
31 int writestring (FILE * fh, const char *s);
32 int readstring (FILE * fh, char **strptr); /* if *strptr != NULL it has to be xfreed after use */
33 int writeint32 (FILE * fh, int32_t i);
34 int readint32 (FILE * fh, int32_t * iptr);
35 int writeuint32 (FILE * fh, uint32_t i);
36 int readuint32 (FILE * fh, uint32_t * iptr);
38 #endif /* __MMAKE_IO_H */