new upstream release (3.3.0); modify package compatibility for Stretch
[ossec-hids.git] / src / shared / help.c
1 /* Copyright (C) 2009 Trend Micro Inc.
2  * All rights reserved.
3  *
4  * This program is a free software; you can redistribute it
5  * and/or modify it under the terms of the GNU General Public
6  * License (version 2) as published by the FSF - Free Software
7  * Foundation
8  */
9
10 /* Help Function */
11
12 #include "shared.h"
13
14
15 void print_header()
16 {
17     print_out(" ");
18     print_out("%s %s - %s (%s)", __ossec_name, __version, __author, __contact);
19     print_out("%s", __site);
20 }
21
22 void print_version()
23 {
24     print_out(" ");
25     print_out("%s %s - %s", __ossec_name, __version, __author);
26     print_out(" ");
27     print_out("%s", __license);
28     exit(1);
29 }