00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00026 #ifndef _ER_REG_TYPES_F_H_
00027 #define _ER_REG_TYPES_F_H_
00028
00029 #include "erregtypes.h"
00030
00031 #ifdef __cplusplus
00032 extern "C"
00033 {
00034 #endif
00035
00036
00037 void regDumpVersion(const regVersion_t * theVersion);
00038 void regDumpUserProfile(const regUserProfile_t * theUserProfile);
00039 void regDumpUserSetting(const regUserSetting_t * theUserSetting);
00040 void regDumpPCConfig(const regPCConfig_t * thePCConfig);
00041 void regDumpPCProfile(const char *ID, const regPCProfile_t * thePCProfile);
00042 void regDumpAutoConnect(const regAutoConnect_t * theAutoConnect);
00043 void regDumpTimedIds(const regTimedIds_t *theTimedIds);
00044 void regDumpContentCategory(const char *ID, const regContentCategory_t * theContentCategory);
00045 void regDumpExportMemType(const regExportMemType_t *theExportMemType);
00046 void regDumpLastRead(const char *ID, const regLastRead_t * theLastRead);
00047 void regDumpUserAppList(const regUserAppList_t * theUserAppList);
00048 void regDumpUserApp(const char *ID, const regUserApp_t * theUserApp);
00049 void regDumpExtInfo(const regExtInfo_t * theExtInfo);
00050 void regDumpExtInfoList(const regExtInfoList_t * theExtInfoList);
00051 void regDumpStartUp(const regStartUp_t * theStartUp);
00052 void regDumpNetworkConfig(const regNetworkConfig_t * theNetworkConfig);
00053 void regDumpNetworkProfile(const char *ID, const regNetworkProfile_t * theNetworkProfile);
00054 void regDumpLastConnect(const regLastConnect_t * theLastConnect);
00055 void regDumpAutoConnectWlan(const gboolean enable);
00056 void regDumpIconSet(const regIconSet_t * theIconSet);
00057 void regDumpDeviceDetails(const deviceDetails_t* theDeviceDetails);
00058
00059
00060 regStartUp_t *regDupStartUp(const regStartUp_t * theStartUp);
00061 regPCProfile_t *regDupPCProfile(const regPCProfile_t * thePCProfile);
00062 regNetworkProfile_t *regDupNetworkProfile(const regNetworkProfile_t * theNetworkProfile);
00063
00064
00065 void regFreeVersion(regVersion_t * theVersion);
00066 void regFreeUserProfile(regUserProfile_t * theUserProfile);
00067 void regFreeUserSetting(regUserSetting_t * theUserSetting);
00068 void regFreePCConfig(regPCConfig_t * thePCConfig);
00069 void regFreePCProfile(regPCProfile_t * thePCProfile);
00070 void regFreePCProfiles(regPCConfig_t * thePCConfig, regPCProfile_t ** thePCs);
00071
00072 void regFreeAutoConnect(regAutoConnect_t * theAutoConnect);
00073 void regFreeTimedIds(regTimedIds_t * theTimedIds);
00074 void regFreeContentCategory(regContentCategory_t * theContentCategory);
00075 void regFreeExportMemType(regExportMemType_t *theExportMemType);
00076 void regFreeLastRead(regLastRead_t * theLastRead);
00077 void regFreeUserAppList(regUserAppList_t * theUserAppList);
00078 void regFreeUserApp(regUserApp_t * theUserApp);
00079 void regFreeExtInfoList(regExtInfoList_t * theExtInfoList);
00080 void regFreeExtInfo(regExtInfo_t * theExtInfo);
00081
00082 void regFreeStartUp(regStartUp_t * theStartUp);
00083
00084 void regFreeNetworkProfile(regNetworkProfile_t * theNetworkProfile);
00085 void regFreeNetworkConfig(regNetworkConfig_t * theNetworkConfig);
00086 void regFreeNetworkProfiles(regNetworkConfig_t * theNetworkConfig, regNetworkProfile_t ** theNetworks);
00087
00088 void regFreeWirelessSetting(regWirelessSetting_t * theWirelessSetting);
00089 void regFreeDialupSetting(regDialupSetting_t* theDialupSetting);
00090 void regFreeProxySetting(regProxySetting_t * theProxySetting);
00091 void regFreeIpSetting(regIpSetting_t * theIpSetting);
00092
00093 void regFreeLastConnect(regLastConnect_t * theLastConnect);
00094
00095 void regFreeStartUp(regStartUp_t * theStartUp);
00096 void regFreeIconSet(regIconSet_t * theIconSet);
00097
00098 void regFreeDeviceDetails(deviceDetails_t* theDeviceDetails);
00099
00100
00101
00102 connectTo_t regServerTypeToEnum(const char*string);
00103 void regServerTypeToString(connectTo_t serverType, char* string, int len);
00104
00105 startup_behaviour_t regBehaviourToEnum(const char*string);
00106 void regBehaviourToString(startup_behaviour_t behaviourType, char* string, int len);
00107
00108 connection_t regNetworkTypeToEnum(const char*string);
00109 void regNetworkTypeToString(connection_t networkType, char* string, int len);
00110
00111 ip_address_mode_t regIpAddressToEnum(const gboolean useDhcp);
00112 gboolean regIpAddressToBool(const ip_address_mode_t ipAddressType);
00113
00114 wireless_encr_type_t regWlanEncrToEnum(const char*string);
00115 void regWlanEncrToString(const wireless_encr_type_t encrType, char* string, const int len);
00116
00117 #ifdef __cplusplus
00118 }
00119 #endif
00120
00121 #endif // _ER_REG_TYPES_F_H_
00122