Squash
0.7.0
Main Page
Related Pages
Modules
Data Structures
Files
Examples
File List
squash
version.c
1
/* Copyright (c) 2015 The Squash Authors
2
*
3
* Permission is hereby granted, free of charge, to any person
4
* obtaining a copy of this software and associated documentation
5
* files (the "Software"), to deal in the Software without
6
* restriction, including without limitation the rights to use, copy,
7
* modify, merge, publish, distribute, sublicense, and/or sell copies
8
* of the Software, and to permit persons to whom the Software is
9
* furnished to do so, subject to the following conditions:
10
*
11
* The above copyright notice and this permission notice shall be
12
* included in all copies or substantial portions of the Software.
13
*
14
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
18
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
19
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
20
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
* SOFTWARE.
22
*
23
* Authors:
24
* Evan Nemerson <evan@nemerson.com>
25
*/
26
27
#include "internal.h"
28
112
unsigned
int
113
squash_version
(
void
) {
114
return
SQUASH_VERSION_CURRENT
;
115
}
116
128
const
char
*
129
squash_version_api
(
void
) {
130
return
SQUASH_VERSION_API
;
131
}
132
squash_version
unsigned int squash_version(void)
Get the library version.
Definition:
version.c:113
SQUASH_VERSION_API
#define SQUASH_VERSION_API
Definition:
version.h:37
squash_version_api
const char * squash_version_api(void)
Get the API version.
Definition:
version.c:129
SQUASH_VERSION_CURRENT
#define SQUASH_VERSION_CURRENT
Definition:
version.h:40
Generated by
1.8.9.1