blob: 1970a2b75c50d9165735d628a4adfff19632961b (
plain) (
blame)
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
|
/******************************************************************************
* Copyright (C) 2018 Alejandro Colomar Andrés *
* SPDX-License-Identifier: GPL-2.0-only *
******************************************************************************/
/******************************************************************************
******* include guard ********************************************************
******************************************************************************/
#ifndef VA_ABOUT_ABOUT_HPP
#define VA_ABOUT_ABOUT_HPP
/******************************************************************************
******* headers **************************************************************
******************************************************************************/
#include <cstddef>
#include <cstdio>
#include "libalx/base/stddef/restrict.hpp"
/******************************************************************************
******* macros ***************************************************************
******************************************************************************/
#define PROG_NAME "vision-artificial"
#define PROG_YEAR "2018"
/******************************************************************************
******* enums ****************************************************************
******************************************************************************/
enum Share_File {
SHARE_COPYRIGHT,
SHARE_DISCLAIMER,
SHARE_HELP,
SHARE_LICENSE,
SHARE_USAGE
};
/******************************************************************************
******* structs / unions *****************************************************
******************************************************************************/
/******************************************************************************
******* variables ************************************************************
******************************************************************************/
extern char share_path [FILENAME_MAX];
/******************************************************************************
******* extern functions *****************************************************
******************************************************************************/
extern "C"
{
void about_init (void);
void snprint_share_file (ptrdiff_t size, char *restrict buff,
int file);
void print_share_file (int share_file);
void print_version (void);
}
/******************************************************************************
******* static inline functions (prototypes) *********************************
******************************************************************************/
/******************************************************************************
******* static inline functions (definitions) ********************************
******************************************************************************/
/******************************************************************************
******* include guard ********************************************************
******************************************************************************/
#endif /* vision-artificial/about/about.hpp */
/******************************************************************************
******* end of file **********************************************************
******************************************************************************/
|