* Add ipkg for future development
[oweals/opkg-lede.git] / pkg_parse.h
1 /* pkg_parse.h - the itsy package management system
2
3    Steven M. Ayer
4    
5    Copyright (C) 2002 Compaq Computer Corporation
6
7    This program is free software; you can redistribute it and/or
8    modify it under the terms of the GNU General Public License as
9    published by the Free Software Foundation; either version 2, or (at
10    your option) any later version.
11
12    This program is distributed in the hope that it will be useful, but
13    WITHOUT ANY WARRANTY; without even the implied warranty of
14    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
15    General Public License for more details.
16 */
17
18 #ifndef PKG_PARSE_H
19 #define PKG_PARSE_H
20
21 int isGenericFieldType(char * type, char * line);
22 char * parseGenericFieldType(char * type, char * raw);
23 void parseStatus(pkg_t *pkg, char * raw);
24 int parseVersion(pkg_t *pkg, char *raw);
25 char ** parseDependsString(char * raw, int * depends_count);
26 int parseVersion(pkg_t *pkg, char *raw);
27 void parseConffiles(pkg_t * pkg, char * raw);
28 int pkg_parse_raw(pkg_t *pkg, char ***raw, pkg_src_t *src, pkg_dest_t *dest);
29 int pkg_valorize_other_field(pkg_t *pkg, char ***raw);
30
31 #endif