1 /* 2 * Copyright (C) 2014 Cisco and/or its affiliates. All rights reserved. 3 * 4 * Author: Shawn Webb 5 * 6 * This program is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License version 2 as 8 * published by the Free Software Foundation. 9 * 10 * This program is distributed in the hope that it will be useful, 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 * GNU General Public License for more details. 14 * 15 * You should have received a copy of the GNU General Public License 16 * along with this program; if not, write to the Free Software 17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 18 * MA 02110-1301, USA. 19 */ 20 21 #if !defined(_LIBCLAMAV_HOSTID_H) 22 #define _LIBCLAMAV_HOSTID_H 23 24 struct device { 25 char *name; 26 char mac[19]; 27 }; 28 29 struct device *get_devices(void); 30 31 #if !HAVE_SYSCTLBYNAME 32 char *internal_get_host_id(void); 33 #endif 34 35 #endif 36