Cthulhu
0.2.10
Cthulhu compiler collection
version.h
Go to the documentation of this file.
1
// SPDX-License-Identifier: LGPL-3.0-only
2
3
#pragma once
4
5
#include <ctu_format_api.h>
6
7
#include "
format/format.h
"
8
9
#include "
core/version_def.h
"
10
#include "
core/analyze.h
"
11
12
CT_BEGIN_API
13
18
20
typedef
struct
print_version_t
21
{
23
print_options_t
options
;
24
}
print_version_t
;
25
31
CT_FORMAT_API
void
print_version
(
print_version_t
config,
version_info_t
version,
IN_STRING
const
char
*name);
32
34
35
CT_END_API
analyze.h
format.h
IN_STRING
#define IN_STRING
annotate a parameter as being a null terminated string
CT_BEGIN_API
#define CT_BEGIN_API
Definition:
compiler.h:129
CT_END_API
#define CT_END_API
Definition:
compiler.h:130
print_version
CT_FORMAT_API void print_version(print_version_t config, version_info_t version, const char *name)
print the version of the program
Definition:
version.c:9
fmt_options_t
generic print options
Definition:
format.h:35
print_version_t
version formatting config
Definition:
version.h:21
print_version_t::options
print_options_t options
the options to use when printing
Definition:
version.h:23
version_info_t
version information for a driver/interface/plugin
Definition:
version_def.h:48
version_def.h
support
format
include
format
version.h
Generated by
1.9.1