catalog_server.h
00001
00002
00003
00004
00005
00006
00007
00008 #ifndef CATALOG_H
00009 #define CATALOG_H
00010
00011 #include <stdlib.h>
00012
00013 #define CATALOG_HOST_DEFAULT "catalog.cse.nd.edu"
00014 #define CATALOG_PORT_DEFAULT 9097
00015
00016 #define CATALOG_HOST (getenv("CATALOG_HOST") ? getenv("CATALOG_HOST") : CATALOG_HOST_DEFAULT )
00017 #define CATALOG_PORT (getenv("CATALOG_PORT") ? atoi(getenv("CATALOG_PORT")) : CATALOG_PORT_DEFAULT )
00018
00019 #define CATALOG_TYPE_WORK_QUEUE_MASTER "wq_master"
00020 #define CATALOG_TYPE_WORK_QUEUE_POOL "wq_pool"
00021
00022 #endif