cctools
catalog_server.h
1 /*
2 Copyright (C) 2003-2004 Douglas Thain and the University of Wisconsin
3 Copyright (C) 2005- The University of Notre Dame
4 This software is distributed under the GNU General Public License.
5 See the file COPYING for details.
6 */
7 
8 #ifndef CATALOG_H
9 #define CATALOG_H
10 
11 #include <stdlib.h>
12 
13 #define CATALOG_HOST_DEFAULT "chirp.cse.nd.edu"
14 #define CATALOG_PORT_DEFAULT 9097
15 
16 #define CATALOG_HOST (getenv("CATALOG_HOST") ? getenv("CATALOG_HOST") : CATALOG_HOST_DEFAULT )
17 #define CATALOG_PORT (getenv("CATALOG_PORT") ? atoi(getenv("CATALOG_PORT")) : CATALOG_PORT_DEFAULT )
18 
19 #define CATALOG_TYPE_WORK_QUEUE_MASTER "wq_master"
20 
21 #endif