summaryrefslogtreecommitdiff
path: root/quotes.h
blob: 489189a167172a1352c1affcfd9375dd32e932b3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef QUOTES_H
#define QUOTES_H

struct quote {
	char *symbol;
	char *currency;
	double price, multiplier, change_percent;
};

void quote_free(struct quote *q);

struct quote *quote_find(struct quote **quotes, int n_quotes,
	const char *symbol, const char *currency);

#endif