7 #ifndef CATALOG_QUERY_H
8 #define CATALOG_QUERY_H
17 #define CATALOG_HOST_DEFAULT "catalog.cse.nd.edu"
18 #define CATALOG_PORT_DEFAULT 9097
20 #define CATALOG_HOST (getenv("CATALOG_HOST") ? getenv("CATALOG_HOST") : CATALOG_HOST_DEFAULT )
21 #define CATALOG_PORT (getenv("CATALOG_PORT") ? atoi(getenv("CATALOG_PORT")) : CATALOG_PORT_DEFAULT )
struct catalog_query * catalog_query_create(const char *host, int port, time_t stoptime)
Create a catalog query.
struct nvpair * catalog_query_read(struct catalog_query *q, time_t stoptime)
Read the next object from a query.
An nvpair object is a collection of name-value pairs that might describe a complex object such as a h...
Definition: nvpair_private.h:15
void catalog_query_delete(struct catalog_query *q)
Delete a completed query object.