Corrections to SVN properties.
[AROS.git] / workbench / network / smbfs / source_code / quad_math.h
blob9aa8d347094315c00f658cf60f86de561905c384
1 /*
2 * $Id$
4 * :ts=4
6 * SMB file system wrapper for AmigaOS, using the AmiTCP V3 API
8 * Copyright (C) 2000-2009 by Olaf `Olsen' Barthel <obarthel -at- gmx -dot- net>
10 * This program is free software; you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License as published by
12 * the Free Software Foundation; either version 2 of the License, or
13 * (at your option) any later version.
15 * This program is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU General Public License for more details.
20 * You should have received a copy of the GNU General Public License
21 * along with this program; if not, write to the Free Software
22 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
25 #ifndef _QUAD_MATH_H
26 #define _QUAD_MATH_H
28 /****************************************************************************/
30 #ifndef EXEC_TYPES_H
31 #include <exec/types.h>
32 #endif /* EXEC_TYPES_H */
34 /****************************************************************************/
36 typedef struct
38 ULONG High;
39 ULONG Low;
40 } QUAD;
42 /****************************************************************************/
44 ULONG divide_64_by_32(QUAD * dividend,ULONG divisor,QUAD * quotient);
45 ULONG subtract_64_from_64_to_64(const QUAD * const minuend,const QUAD * const subtrahend,QUAD * difference);
47 /****************************************************************************/
49 #endif /* _QUAD_MATH_H */