为提高性能,改用c替换原本的flask

This commit is contained in:
2025-09-28 12:02:26 +08:00
parent a0e9bf1b44
commit 3c574e489d
24 changed files with 7240 additions and 0 deletions

View File

@ -0,0 +1,21 @@
#ifndef PKGINSTALL
#define PKGINSTALL
typedef struct pkger
{
//data
int requirement;//存储requirement.txt的文件fd
char dir[256];
//method
int (*check_python)(struct pkger*);
int (*install_dependence)(struct pkger*);
int (*check_dir)(struct pkger*);
int (*packup)(struct pkger*);
}pkger;
pkger *init_pkginstaller();
#endif