]> icculus.org git repositories - taylor/freespace2.git/blob - include/fxos.h
Initial revision
[taylor/freespace2.git] / include / fxos.h
1 /*
2 ** Copyright (c) 1995, 3Dfx Interactive, Inc.
3 ** All Rights Reserved.
4 **
5 ** This is UNPUBLISHED PROPRIETARY SOURCE CODE of 3Dfx Interactive, Inc.;
6 ** the contents of this file may not be disclosed to third parties, copied or
7 ** duplicated in any form, in whole or in part, without the prior written
8 ** permission of 3Dfx Interactive, Inc.
9 **
10 ** RESTRICTED RIGHTS LEGEND:
11 ** Use, duplication or disclosure by the Government is subject to restrictions
12 ** as set forth in subdivision (c)(1)(ii) of the Rights in Technical Data
13 ** and Computer Software clause at DFARS 252.227-7013, and/or in similar or
14 ** successor clauses in the FAR, DOD or NASA FAR Supplement. Unpublished  -
15 ** rights reserved under the Copyright Laws of the United States.
16 **
17 ** $ Revision: $
18 ** $ Date: $
19 **
20 */
21
22
23 #ifndef _FXOS_H_
24 #define _FXOS_H_
25
26 #include <stdio.h>
27
28 #   ifdef __cplusplus
29 extern "C" {
30 #   endif
31
32 #   ifdef WIN32
33 void sleep(int secs);
34 #define gethostname fxGethostname
35
36 int gethostname(char *name, int namelen);
37
38 #   endif
39
40 float fxTime(void);
41 float timer(int flag);
42
43 FILE *fxFopenPath(const char *filename, const char *mode,
44                                         const char *path, const char **pprefix);
45
46 #   ifdef __cplusplus
47 }
48 #   endif
49
50 #endif
51