forked from vieter-v/libvieter
25 lines
521 B
C
25 lines
521 B
C
#ifndef VIETER_PACKAGE
|
|
#define VIETER_PACKAGE
|
|
|
|
typedef struct vieter_package vieter_package;
|
|
|
|
|
|
|
|
/*
|
|
* Parse package file into something usable by libvieter.
|
|
* The pointer returned by this function will need to freed at a later point.
|
|
*/
|
|
vieter_package *vieter_package_read_archive(const char *pkg_path);
|
|
|
|
/*
|
|
* Deallocate a package.
|
|
*/
|
|
void vieter_package_free(vieter_package ** ptp);
|
|
|
|
/*
|
|
* Create string that will become the package's desc file.
|
|
*/
|
|
char *vieter_package_to_description(vieter_package *pkg);
|
|
|
|
#endif
|