chore: Also renamed structs to follow naming conventions.
This commit is contained in:
parent
de1227b97b
commit
4cacb1534f
8 changed files with 107 additions and 107 deletions
|
|
@ -9,22 +9,22 @@
|
|||
#include <archive.h>
|
||||
#include <archive_entry.h>
|
||||
|
||||
typedef struct pkg Pkg;
|
||||
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.
|
||||
*/
|
||||
Pkg *vieter_package_read_archive(const char *pkg_path);
|
||||
vieter_package *vieter_package_read_archive(const char *pkg_path);
|
||||
|
||||
/*
|
||||
* Deallocate a package.
|
||||
*/
|
||||
void vieter_package_free(Pkg ** ptp);
|
||||
void vieter_package_free(vieter_package ** ptp);
|
||||
|
||||
/*
|
||||
* Create string that will become the package's desc file.
|
||||
*/
|
||||
char *vieter_package_to_description(Pkg *pkg);
|
||||
char *vieter_package_to_description(vieter_package *pkg);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Reference in a new issue