aboutsummaryrefslogtreecommitdiff
path: root/include/wheel.h
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2023-10-26 19:53:29 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2023-10-26 19:53:29 -0400
commit17178535cc9df5e834dfd43e3b2b919e02e5798d (patch)
tree5e55e8b2c2453ccf6271b190cf45e90d2c25179d /include/wheel.h
downloadstasis-17178535cc9df5e834dfd43e3b2b919e02e5798d.tar.gz
Initial commit
Diffstat (limited to 'include/wheel.h')
-rw-r--r--include/wheel.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/include/wheel.h b/include/wheel.h
new file mode 100644
index 0000000..20ac641
--- /dev/null
+++ b/include/wheel.h
@@ -0,0 +1,21 @@
+#ifndef OHMYCAL_WHEEL_H
+#define OHMYCAL_WHEEL_H
+
+#include <dirent.h>
+#include <string.h>
+#include <stdio.h>
+#include "str.h"
+
+struct Wheel {
+ char *distribution;
+ char *version;
+ char *build_tag;
+ char *python_tag;
+ char *abi_tag;
+ char *platform_tag;
+ char *path_name;
+ char *file_name;
+};
+
+struct Wheel *get_wheel_file(const char *basepath, const char *name, char *to_match[]);
+#endif //OHMYCAL_WHEEL_H