blob: 619e0f71bb05d5caa9ddc98e766da77c79a02676 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#ifndef STASIS_WHEEL_H
#define STASIS_WHEEL_H
#include <dirent.h>
#include <string.h>
#include <stdio.h>
#include "str.h"
#define WHEEL_MATCH_EXACT 0
#define WHEEL_MATCH_ANY 1
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[], unsigned match_mode);
#endif //STASIS_WHEEL_H
|