OSDN Git Service

I am understanding why the memory management system is not working now!!
[proj16/16.git] / src / lib / nyan / kitten.h
1 /* $Id: kitten.h,v 1.1 2004/09/19 10:01:26 bartoldeman Exp $ */\r
2 \r
3 /* Functions that emulate UNIX catgets */\r
4 \r
5 /* Copyright (C) 1999,2000 Jim Hall <jhall@freedos.org> */\r
6 \r
7 /*\r
8   This library is free software; you can redistribute it and/or\r
9   modify it under the terms of the GNU Lesser General Public\r
10   License as published by the Free Software Foundation; either\r
11   version 2.1 of the License, or (at your option) any later version.\r
12 \r
13   This library is distributed in the hope that it will be useful,\r
14   but WITHOUT ANY WARRANTY; without even the implied warranty of\r
15   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\r
16   Lesser General Public License for more details.\r
17 \r
18   You should have received a copy of the GNU Lesser General Public\r
19   License along with this library; if not, write to the Free Software\r
20   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA\r
21 */\r
22 \r
23 \r
24 #ifndef _CATGETS_H\r
25 #define _CATGETS_H\r
26 \r
27 #ifdef NOCATS\r
28 \r
29 /* #define NOCATS to disable that stuff completely */\r
30 #define nl_catd int\r
31 #define catopen(x,y) 1\r
32 #define catclose(x)\r
33 #define catgets(c,x,y,s) s\r
34 \r
35 #else\r
36 \r
37 \r
38 \r
39 \r
40 #ifdef __cplusplus\r
41 extern "C" {\r
42 #endif\r
43 \r
44   /* Data types */\r
45 \r
46   typedef int nl_catd;\r
47 \r
48   /* Symbolic constants */\r
49 \r
50 #define MCLoadBySet 0                   /* not implemented */\r
51 #define MCLoadAll   0                   /* not implemented */\r
52 \r
53 \r
54   /* Functions */\r
55 \r
56 #define catgets(catalog, set,message_number,message) kittengets(set,message_number,message)\r
57 #define catopen(name,flag) kittenopen(name)\r
58 #define catclose(catalog)  kittenclose()\r
59 \r
60 \r
61   char *  pascal kittengets( int set_number, int message_number,char *message);\r
62   nl_catd kittenopen(char *name);\r
63   void    kittenclose (void);\r
64 \r
65 \r
66 \r
67 #ifdef __cplusplus\r
68 }\r
69 #endif\r
70 \r
71 #endif /* NOCATS */\r
72 \r
73 #endif /* _CATGETS_H */\r