libropkg: implement package version API
This commit is contained in:
17
libropkg/version.h
Normal file
17
libropkg/version.h
Normal file
@@ -0,0 +1,17 @@
|
||||
#ifndef _VERSION_H_
|
||||
#define _VERSION_H_
|
||||
|
||||
#include <ropkg/version.h>
|
||||
|
||||
struct ropkg_version {
|
||||
enum ropkg_version_release_phase v_release_phase;
|
||||
|
||||
unsigned int v_upstream_version[ROPKG_VERSION_UPSTREAM_DIGIT_MAX];
|
||||
|
||||
enum ropkg_version_release_phase v_version_release_phase;
|
||||
unsigned int v_version_release_phase_revision;
|
||||
|
||||
unsigned int v_package_revision;
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user