00001 /* 00002 * This file is part of liberregxml. 00003 * 00004 * liberregxml is free software: you can redistribute it and/or modify 00005 * it under the terms of the GNU General Public License as published by 00006 * the Free Software Foundation, either version 2 of the License, or 00007 * (at your option) any later version. 00008 * 00009 * liberregxml is distributed in the hope that it will be useful, 00010 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00011 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00012 * GNU General Public License for more details. 00013 * 00014 * You should have received a copy of the GNU General Public License 00015 * along with this program. If not, see <http://www.gnu.org/licenses/>. 00016 */ 00017 00029 #ifndef _SYSTEM_H_ 00030 #define _SYSTEM_H_ 00031 00032 #ifdef __cplusplus 00033 extern "C" 00034 { 00035 #endif /* __cplusplus */ 00036 00037 /* Read MAC address from sysset area */ 00038 const char *get_sysset_macAddress (void); 00039 00040 /* Read MAC address from wired interface area */ 00041 const char *get_wired_macAddress (void); 00042 00043 /* Read MAC address from wireless interface area */ 00044 const char *get_wireless_macAddress (void); 00045 00046 /* Read MAC address from wlan_mac.txt */ 00047 const char *get_wlanmactxt_macAddress(void); 00048 00049 const char *get_software_version_commercial(void); 00050 00051 const char *get_software_version(void); 00052 00053 // notes: need to free the memory retured by this function 00054 // char* get_public_key(void); 00055 int get_public_key(char **pubkey); 00056 00057 #ifdef __cplusplus 00058 } 00059 #endif /* __cplusplus */ 00060 00061 #endif // _SYSTEM_H_