Revision 9053,
1.2 KB
checked in by ghudson, 28 years ago
(diff) |
Remove incorrect prototypes of system functions.
|
Line | |
---|
1 | /* This file is part of the Project Athena Global Message System. |
---|
2 | * Created by: Mark W. Eichin <eichin@athena.mit.edu> |
---|
3 | * $Source: /afs/dev.mit.edu/source/repository/athena/bin/gms/globalmessage.h,v $ |
---|
4 | * $Author: ghudson $ |
---|
5 | * |
---|
6 | * Copyright (c) 1988 by the Massachusetts Institute of Technology. |
---|
7 | * For copying and distribution information, see the file |
---|
8 | * "mit-copyright.h". |
---|
9 | */ |
---|
10 | |
---|
11 | #ifndef __GLOBALMESSAGE_H__ |
---|
12 | #define __GLOBALMESSAGE_H__ |
---|
13 | |
---|
14 | #include <errno.h> |
---|
15 | #include <fcntl.h> |
---|
16 | #include <string.h> |
---|
17 | extern int errno; |
---|
18 | #include "globalmessage_err.h" |
---|
19 | /* Function return code */ |
---|
20 | typedef int Code_t; |
---|
21 | |
---|
22 | #define GMS_NAME_CLASS "globalmessage" |
---|
23 | #define GMS_NAME_TYPE "sloc" |
---|
24 | |
---|
25 | #define GMS_SERV_NAME "globalmessage" |
---|
26 | #define GMS_SERV_PROTO "udp" |
---|
27 | |
---|
28 | #define GMS_MESSAGE_NAME "/usr/tmp/.messages" |
---|
29 | |
---|
30 | #define GMS_USERFILE_NAME "/.message_times" |
---|
31 | #define GMS_USERFILE_NAME_LEN (sizeof(GMS_USERFILE_NAME)-1) |
---|
32 | |
---|
33 | #define GMS_VERSION_STRING "GMS:0" |
---|
34 | #define GMS_VERSION_STRING_LEN (sizeof(GMS_VERSION_STRING)-1) |
---|
35 | |
---|
36 | #define GMS_MAX_MESSAGE_LEN 2048 |
---|
37 | |
---|
38 | #define GMS_TIMEOUT_SEC 5 |
---|
39 | #define GMS_TIMEOUT_USEC 0 |
---|
40 | |
---|
41 | /* log_10(2^32) >= 10, plus a NL, plus a NUL */ |
---|
42 | #define GMS_TIMESTAMP_LEN 12 |
---|
43 | |
---|
44 | #define BFSZ 1024 |
---|
45 | |
---|
46 | #endif /* __GLOBALMESSAGE_H__ */ |
---|
Note: See
TracBrowser
for help on using the repository browser.