summaryrefslogtreecommitdiff
path: root/icclient/catalog.h
blob: 9d15a1a2ffc1990a678c8a19da8afd09cf0cce67 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#ifndef ICCLIENT_CATALOG_H
#define ICCLIENT_CATALOG_H

struct icclient_catalog {
	size_t length;
	struct icclient_product *products[];
};

struct icclient_catalog_callback {
	struct icclient_catalog **catalog;
	void (*callback)(struct icclient_catalog *);
};

#ifdef __cplusplus
extern "C" {
#endif

	void icclient_catalog_init();
	void icclient_catalog_free(struct icclient_catalog *catalog);

#ifdef __cplusplus
}
#endif

#endif