Subversion Repositories SvarDOS

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
2019 mateusz.vi 1
/* $Id: CATGETS.H,v 1.1 2005-07-18 07:30:18 perditionc Exp $ */
2
 
3
/* Functions that emulate UNIX catgets */
4
 
5
/* Copyright (C) 1999,2000 Jim Hall <jhall1@isd.net> */
6
 
7
/*
8
  This library is free software; you can redistribute it and/or
9
  modify it under the terms of the GNU Lesser General Public
10
  License as published by the Free Software Foundation; either
11
  version 2.1 of the License, or (at your option) any later version.
12
 
13
  This library is distributed in the hope that it will be useful,
14
  but WITHOUT ANY WARRANTY; without even the implied warranty of
15
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
16
  Lesser General Public License for more details.
17
 
18
  You should have received a copy of the GNU Lesser General Public
19
  License along with this library; if not, write to the Free Software
20
  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
21
*/
22
 
23
 
24
#ifndef _CATGETS_H
25
#define _CATGETS_H
26
 
27
#ifdef __cplusplus
28
extern "C" {
29
#endif
30
 
31
/* Data types */
32
 
33
typedef int nl_catd;
34
 
35
 
36
/* Symbolic constants */
37
 
38
#define MCLoadBySet 0			/* not implemented */
39
#define MCLoadAll   0			/* not implemented */
40
 
41
 
42
/* Functions */
43
 
44
char *
45
catgets(nl_catd  cat,  int set_number, int message_number,
46
        char *message);
47
 
48
nl_catd
49
catopen(char *name, int flag);
50
 
51
void
52
catclose (nl_catd cat);
53
 
54
#ifdef __cplusplus
55
}
56
#endif
57
 
58
#endif /* _CATGETS_H */