libsemver
1.0.0
|
Header of the libsemver
library.
More...
#include <stdbool.h>
Go to the source code of this file.
Classes | |
struct | semver_t |
Typedefs | |
typedef struct semver_t | semver_t |
Functions | |
int | semver_last_error () |
semver_t * | semver_from_string (const char *str) |
semver_t * | semver_create (const unsigned int *c_vers, const unsigned long c_vers_num, const char *prerelease, const char *metadata) |
void | semver_free (semver_t *ver) |
const char * | semver_str (semver_t *ver) |
unsigned int * | semver_get_versions (semver_t *ver) |
unsigned int | semver_get_version (semver_t *ver, unsigned int index) |
const char * | semver_get_prerelease (semver_t *ver) |
const char * | semver_get_metadata (semver_t *ver) |
semver_t * | semver_bump_major (semver_t *ver) |
semver_t * | semver_bump_minor (semver_t *ver) |
semver_t * | semver_bump_patch (semver_t *ver) |
semver_t * | semver_bump (semver_t *ver, unsigned int index) |
semver_t * | semver_strip_prerelease (semver_t *ver) |
semver_t * | semver_strip_metadata (semver_t *ver) |
bool | semver_is_release (semver_t *ver) |
bool | semver_equals (semver_t *lh, semver_t *rh) |
bool | semver_is_less (semver_t *lh, semver_t *rh) |
bool | semver_is_greater (semver_t *lh, semver_t *rh) |
Header of the libsemver
library.
This header file defines the API of the libsemver
library.