Diffstat (limited to 'noncore/todayplugins/stockticker/libstocks/csv.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/todayplugins/stockticker/libstocks/csv.h | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/noncore/todayplugins/stockticker/libstocks/csv.h b/noncore/todayplugins/stockticker/libstocks/csv.h new file mode 100644 index 0000000..4205c61 --- a/dev/null +++ b/noncore/todayplugins/stockticker/libstocks/csv.h @@ -0,0 +1,36 @@ +/* libstocks - Library to get current stock quotes from Yahoo Finance + * + * Copyright (C) 2000 Eric Laeuffer + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library; if not, write to the + * Free Software Foundation, Inc., 59 Temple Place - Suite 330, + * Boston, MA 02111-1307, USA. + */ + +#ifndef __CSV_H__ +#define __CSV_H__ + +#ifndef __CSV_C__ +#define PUBEXT_CSV extern +#else +#define PUBEXT_CSV +#endif + +#include "stocks.h" + +PUBEXT_CSV stock *parse_csv_file(char *); +PUBEXT_CSV char *csv_strtok(char *, char *); +PUBEXT_CSV stock *parse_csv_history_file(char *); + +#endif /* __CSV_H__ */ |