/src/libassuan/src/sysutils.c
Line | Count | Source (jump to first uncovered line) |
1 | | /* sysutils.c - System utilities |
2 | | * Copyright (C) 2010 Free Software Foundation, Inc. |
3 | | * |
4 | | * This file is part of Assuan. |
5 | | * |
6 | | * Assuan is free software; you can redistribute it and/or modify it |
7 | | * under the terms of the GNU Lesser General Public License as |
8 | | * published by the Free Software Foundation; either version 2.1 of |
9 | | * the License, or (at your option) any later version. |
10 | | * |
11 | | * Assuan is distributed in the hope that it will be useful, but |
12 | | * WITHOUT ANY WARRANTY; without even the implied warranty of |
13 | | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
14 | | * Lesser General Public License for more details. |
15 | | * |
16 | | * You should have received a copy of the GNU Lesser General Public |
17 | | * License along with this program; if not, see <http://www.gnu.org/licenses/>. |
18 | | * SPDX-License-Identifier: LGPL-2.1+ |
19 | | */ |
20 | | |
21 | | #ifdef HAVE_CONFIG_H |
22 | | #include <config.h> |
23 | | #endif |
24 | | #include <stdio.h> |
25 | | #include <stdlib.h> |
26 | | #include <string.h> |
27 | | #include <stdarg.h> |
28 | | #ifdef HAVE_W32_SYSTEM |
29 | | # ifdef HAVE_WINSOCK2_H |
30 | | # include <winsock2.h> |
31 | | # endif |
32 | | # include <windows.h> |
33 | | #endif /*HAVE_W32_SYSTEM*/ |
34 | | |
35 | | #include "assuan-defs.h" |
36 | | |
37 | | |
38 | | /* This is actually a dummy function to make sure that is module is |
39 | | not empty. Some compilers barf on empty modules. */ |
40 | | const char * |
41 | | _assuan_sysutils_blurb (void) |
42 | 0 | { |
43 | 0 | static const char blurb[] = |
44 | 0 | "\n\n" |
45 | 0 | "This is Libassuan " PACKAGE_VERSION " - The GnuPG IPC Library\n" |
46 | 0 | "Copyright 2001-2013 Free Software Foundation, Inc.\n" |
47 | 0 | "Copyright 2001-2020 g10 Code GmbH\n" |
48 | 0 | "\n" |
49 | 0 | "SPDX-License-Identifier: LGPL-2.1-or-later\n" |
50 | 0 | "(" BUILD_REVISION " " BUILD_TIMESTAMP ")\n" |
51 | 0 | "\n\n"; |
52 | 0 | return blurb; |
53 | 0 | } |