diff src/request.h @ 5809:0a661f6d65e3

[gaim-migrate @ 6239] Added a function for getting a list of labels in a choice entry field. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Sun, 08 Jun 2003 07:24:17 +0000
parents 133e86584f4b
children 158196b2db19
line wrap: on
line diff
--- a/src/request.h	Sun Jun 08 04:11:39 2003 +0000
+++ b/src/request.h	Sun Jun 08 07:24:17 2003 +0000
@@ -97,6 +97,8 @@
 
 	} u;
 
+	void *ui_data;
+
 } GaimRequestField;
 
 /**
@@ -611,6 +613,15 @@
  */
 int gaim_request_field_choice_get_value(const GaimRequestField *field);
 
+/**
+ * Returns a list of labels in a choice field.
+ *
+ * @param field The field.
+ *
+ * @return The list of labels.
+ */
+GList *gaim_request_field_choice_get_labels(const GaimRequestField *field);
+
 /*@}*/
 
 /**************************************************************************/