File: version.c

package info (click to toggle)
libjodycode 3.1-3~bpo12%2B1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm-backports
  • size: 356 kB
  • sloc: ansic: 1,536; makefile: 170; sh: 155; xml: 9
file content (32 lines) | stat: -rw-r--r-- 986 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/* libjodycode version function
 *
 * Copyright (C) 2023 by Jody Bruchon <jody@jodybruchon.com>
 * Released under The MIT License
 */

#include "libjodycode.h"

const char *jc_version = LIBJODYCODE_VER;
const char *jc_verdate = LIBJODYCODE_VERDATE;
const int jc_api_version = LIBJODYCODE_API_VERSION;
const int jc_api_featurelevel = LIBJODYCODE_API_FEATURE_LEVEL;
const int jc_jodyhash_version = JODY_HASH_VERSION;

/* API sub-version info array, terminated with 0
 * Valid versions are 1-254. New API sections MUST be added to the end. The
 * maximum value of 255 is used by programs to terminate their check array. */
const unsigned char jc_api_versiontable[] = {
	LIBJODYCODE_CACHEINFO_VER,
	LIBJODYCODE_JODY_HASH_VER,
	LIBJODYCODE_OOM_VER,
	LIBJODYCODE_PATHS_VER,
	LIBJODYCODE_SIZE_SUFFIX_VER,
	LIBJODYCODE_SORT_VER,
	LIBJODYCODE_STRING_VER,
	LIBJODYCODE_STRTOEPOCH_VER,
	LIBJODYCODE_WIN_STAT_VER,
	LIBJODYCODE_WIN_UNICODE_VER,
	LIBJODYCODE_ERROR_VER,
	LIBJODYCODE_ALARM_VER,
	0
};