cctools
catalog_query.h
Go to the documentation of this file.
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 #ifndef CATALOG_QUERY_H
8 #define CATALOG_QUERY_H
9 
10 #include <time.h>
11 #include "nvpair.h"
12 
27 struct catalog_query *catalog_query_create(const char *host, int port, time_t stoptime);
28 
37 struct nvpair *catalog_query_read(struct catalog_query *q, time_t stoptime);
38 
42 void catalog_query_delete(struct catalog_query *q);
43 
44 #endif
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...
void catalog_query_delete(struct catalog_query *q)
Delete a completed query object.