1 /*%% (c) Copyright 1993, 1994 Hewlett-Packard Company */
2 /*%% (c) Copyright 1993, 1994 International Business Machines Corp. */
3 /*%% (c) Copyright 1993, 1994 Sun Microsystems, Inc. */
4 /*%% (c) Copyright 1993, 1994 Novell, Inc. */
5 /*%% $XConsortium: tt_const.h /main/3 1995/10/23 09:50:21 rswiston $ */
10 * Copyright (c) 1990 by Sun Microsystems, Inc.
12 * This file contains global constants and definitions used throughout
13 * tooltalk, plus #defines for compilation-time options.
15 * HACK: many of these are only used in the DM...
21 /* Compilation options */
24 * To *not* use the dbserver (i.e. to link NetISAM into every TT client)
25 * use: "make DEFINES=-DTT_NO_DBSERVER"
28 const char NULL_CHAR = '\0';
29 const int OID_KEY_LENGTH = 16;
30 const int MAX_PROP_LENGTH = 64;
31 const int PATH_LENGTH = 1024;
32 const int HOST_LENGTH = 1024;
33 const int MAX_OID_LENGTH = HOST_LENGTH + PATH_LENGTH + OID_KEY_LENGTH;
34 const int MSG_ID_LENGTH = 4;
35 const int MSG_PART_LENGTH = 4;
36 const int MAX_OTID_LENGTH = 64;
39 // How often to run garbage collection - Number of seconds in 24 hours.
41 const int _TT_GARBAGE_COLLECTION_FREQUENCY = 86400;
43 #define _TT_FILEJOIN_PROPNAME "_TT_SESSIONS"
44 #define _MP_NODE_MOD_PROP "_MODIFICATION_DATE"
46 #endif /* _TT_CONST_H */