Initial import of the CDE 2.1.30 sources from the Open Group.
[oweals/cde.git] / cde / programs / dtcm / libDtCmP / cmfns.h
1 /* $XConsortium: cmfns.h /main/3 1995/11/03 10:37:28 rswiston $ */
2 /*      @(#)cmfns.h 1.3 94/11/07 SMI    */
3
4 /*                                                                      *
5  * (c) Copyright 1993, 1994 Hewlett-Packard Company                     *
6  * (c) Copyright 1993, 1994 International Business Machines Corp.       *
7  * (c) Copyright 1993, 1994 Sun Microsystems, Inc.                      *
8  * (c) Copyright 1993, 1994 Novell, Inc.                                *
9  */
10
11
12 #ifndef _CMFNS_H
13 #define _CMFNS_H
14
15 #ifdef FNS
16
17 #include "dtfns.h"
18
19 #define CMFNS_CALENDAR_SERVICE  "calendar"
20 #define CMFNS_CALENDAR_TYPE     "SUNW_fns_calendar"
21 #define CMFNS_CALENDAR_ADDR_TYPE "SUNW_cal_str"
22
23 #ifdef FNS_DEMO
24
25 #define FNS_FILE ".FNSName"
26 int cmfns_name_from_file(const char *path, char *name, int len);
27
28 #endif /* FNS_DEMO */
29
30 extern int cmfns_use_fns(Props *);
31 extern int cmfns_lookup_calendar(const char *name, char *addr_buf,
32                                  int addr_size);
33 extern int cmfns_description(const char *, char *, int);
34 extern int cmfns_register_calendar(const char *name, const char *calendar);
35
36 #endif /* FNS */
37
38 #endif /* _CMFNS_H */
39