CARDS 2.4.87
Package manager for the NuTyX GNU/Linux distribution
system_utils.h
1 //
2 // system_utils.h
3 //
4 // Copyright (c) 2002 by Johannes Winkelmann
5 // Copyright (c) 2013-2017 by NuTyX team (http://nutyx.org)
6 //
7 // This program is free software; you can redistribute it and/or modify
8 // it under the terms of the GNU General Public License as published by
9 // the Free Software Foundation; either version 2 of the License, or
10 // (at your option) any later version.
11 //
12 // This program is distributed in the hope that it will be useful,
13 // but WITHOUT ANY WARRANTY; without even the implied warranty of
14 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 // GNU General Public License for more details.
16 //
17 // You should have received a copy of the GNU General Public License
18 // along with this program; if not, write to the Free Software
19 // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
20 // USA.
21 //
22 
23 #ifndef SYSTEM_UTILS_H
24 #define SYSTEM_UTILS_H
25 
26 #include <string>
27 #include <iterator>
28 #include <iostream>
29 
30 #include <syslog.h>
31 #include <stdio.h>
32 #include <sys/utsname.h>
33 #include <locale.h>
34 #include <libintl.h>
35 
36 #define _ gettext
37 
41 std::string getMachineType ();
42 
43 #endif /* SYSTEM_UTILS_H */
44 // vim:set ts=2 :