aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2024-10-04 15:55:14 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2024-10-04 15:55:14 -0400
commitda3bdc379f632a5c7e8cf10a84e363de04b40279 (patch)
tree560d8c351d1574d9e8f6da157975ccea746d4bef
parentcb9799a2bcab459b16c83ea51bc9c03d47bd06e2 (diff)
downloadstasis-da3bdc379f632a5c7e8cf10a84e363de04b40279.tar.gz
Add return values
-rw-r--r--include/wheel.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/wheel.h b/include/wheel.h
index 32e4238..b394b55 100644
--- a/include/wheel.h
+++ b/include/wheel.h
@@ -27,6 +27,8 @@ struct Wheel {
* @param to_match a NULL terminated array of patterns (i.e. platform, arch, version, etc)
* @param match_mode WHEEL_MATCH_EXACT
* @param match_mode WHEEL_MATCH ANY
+ * @return pointer to populated Wheel on success
+ * @return NULL on error
*/
struct Wheel *get_wheel_info(const char *basepath, const char *name, char *to_match[], unsigned match_mode);
void wheel_free(struct Wheel **wheel);