00001 /* 00002 * This file is part of settings. 00003 * 00004 * settings 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 * settings 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 00031 #ifndef _ILIAD_PC_CONNECT_DATA_H_ 00032 #define _ILIAD_PC_CONNECT_DATA_H_ 00033 00034 #include <liberregxml/erregapi.h> 00035 00036 typedef enum 00037 { 00038 e_pcfield_profile_name = 0, 00039 e_pcfield_pcname, 00040 e_pcfield_sharename, 00041 e_pcfield_workgroup, 00042 e_pcfield_username, 00043 e_pcfield_password 00044 } pc_fieldtype_t; 00045 00046 void iLiad_pc_connect_data_init(void); 00047 00048 void iLiad_pc_connect_data_destroy(void); 00049 00050 void iLiad_pc_connect_data_store(void); 00051 00052 const regPCProfile_t *iLiad_pc_connect_get_profiledata(const gint profile_index); 00053 00054 gboolean iLiad_pc_connect_set_profile_field(gint profile_index, pc_fieldtype_t field, const char* value); 00055 00056 00057 #endif // _ILIAD_PC_CONNECT_DATA_H_
1.5.6