diff options
Diffstat (limited to 'src/itdb_device.c')
-rw-r--r-- | src/itdb_device.c | 43 |
1 files changed, 32 insertions, 11 deletions
diff --git a/src/itdb_device.c b/src/itdb_device.c index 79ecd01..64817c8 100644 --- a/src/itdb_device.c +++ b/src/itdb_device.c @@ -651,7 +651,9 @@ static void itdb_device_reset_sysinfo (Itdb_Device *device) * * Return value: a newly allocated #Itdb_Device which must be freed with * itdb_device_free() when no longer needed - **/ + * + * Since: 0.4.0 + */ Itdb_Device *itdb_device_new () { Itdb_Device *dev; @@ -666,7 +668,9 @@ Itdb_Device *itdb_device_new () * @device: an #Itdb_Device * * Frees memory used by @device - **/ + * + * Since: 0.4.0 + */ void itdb_device_free (Itdb_Device *device) { if (device) @@ -688,7 +692,9 @@ void itdb_device_free (Itdb_Device *device) * * Sets the mountpoint of @device to @mp and update the cached device * information (in particular, re-read the SysInfo file) - **/ + * + * Since: 0.4.0 + */ void itdb_device_set_mountpoint (Itdb_Device *device, const gchar *mp) { g_return_if_fail (device); @@ -754,7 +760,9 @@ static void itdb_device_read_sysinfo_extended (Itdb_Device *device) * later use. * * Return value: TRUE if file could be read, FALSE otherwise - **/ + * + * Since: 0.4.0 + */ gboolean itdb_device_read_sysinfo (Itdb_Device *device) { const gchar *p_sysinfo[] = {"SysInfo", NULL}; @@ -833,7 +841,9 @@ static void write_sysinfo_entry (const gchar *key, * no directories are created if not already existent. * * Return value: TRUE if file could be read, FALSE otherwise - **/ + * + * Since: 0.4.0 + */ gboolean itdb_device_write_sysinfo (Itdb_Device *device, GError **error) { gchar *devicedir; @@ -889,7 +899,9 @@ gboolean itdb_device_write_sysinfo (Itdb_Device *device, GError **error) * * Return value: the information associated with @field, or NULL if @field * couldn't be found. g_free() after use - **/ + * + * Since: 0.4.0 + */ gchar *itdb_device_get_sysinfo (const Itdb_Device *device, const gchar *field) { g_return_val_if_fail (device, NULL); @@ -908,7 +920,8 @@ gchar *itdb_device_get_sysinfo (const Itdb_Device *device, const gchar *field) * Set specified field. It can later be written to the iPod using * itdb_device_write_sysinfo() * - **/ + * Since: 0.4.0 + */ void itdb_device_set_sysinfo (Itdb_Device *device, const gchar *field, const gchar *value) { @@ -936,7 +949,9 @@ void itdb_device_set_sysinfo (Itdb_Device *device, * Retrieve the #Itdb_IpodInfo entry for this iPod * * Return value: the #Itdb_IpodInfo entry for this iPod - **/ + * + * Since: 0.4.0 + */ const Itdb_IpodInfo * itdb_device_get_ipod_info (const Itdb_Device *device) { @@ -1274,7 +1289,9 @@ itdb_device_autodetect_endianess (Itdb_Device *device) * which is an array of #Itdb_IpodInfo entries. * * Return value: a pointer to the array of #Itdb_IpodInfo entries. - **/ + * + * Since: 0.4.0 + */ const Itdb_IpodInfo *itdb_info_get_ipod_info_table (void) { return &ipod_info_table[2]; @@ -1289,7 +1306,9 @@ const Itdb_IpodInfo *itdb_info_get_ipod_info_table (void) * * Return value: a pointer to the model name. This is a static string * and must not be g_free()d. - **/ + * + * Since: 0.4.0 + */ const gchar *itdb_info_get_ipod_model_name_string (Itdb_IpodModel model) { gint i=0; @@ -1314,7 +1333,9 @@ const gchar *itdb_info_get_ipod_model_name_string (Itdb_IpodModel model) * * Return value: a pointer to the generation name. This is a static * string and must not be g_free()d. - **/ + * + * Since: 0.4.0 + */ const gchar *itdb_info_get_ipod_generation_string (Itdb_IpodGeneration generation) { gint i=0; |