aboutsummaryrefslogtreecommitdiff
path: root/src/setup/gnunet-setup-gns-edit.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/setup/gnunet-setup-gns-edit.c')
-rw-r--r--src/setup/gnunet-setup-gns-edit.c55
1 files changed, 21 insertions, 34 deletions
diff --git a/src/setup/gnunet-setup-gns-edit.c b/src/setup/gnunet-setup-gns-edit.c
index 9759ecdf..8bb79b21 100644
--- a/src/setup/gnunet-setup-gns-edit.c
+++ b/src/setup/gnunet-setup-gns-edit.c
@@ -465,6 +465,7 @@ edit_dialog_a_validity_check (struct EditDialogContext *edc)
465 * continuation. 465 * continuation.
466 * 466 *
467 * @param dialog editing dialog 467 * @param dialog editing dialog
468 * @param response_id action that caused the dialog to be closed
468 * @param user_data the 'struct EditDialogContext' 469 * @param user_data the 'struct EditDialogContext'
469 */ 470 */
470void 471void
@@ -497,7 +498,6 @@ GNS_edit_a_dialog_response_cb (GtkDialog *dialog,
497 * button depending on the validity of the value. 498 * button depending on the validity of the value.
498 * 499 *
499 * @param entry editing widget 500 * @param entry editing widget
500 * @param preedit new value
501 * @param user_data the 'struct EditDialogContext' of the dialog 501 * @param user_data the 'struct EditDialogContext' of the dialog
502 */ 502 */
503void 503void
@@ -513,7 +513,6 @@ GNS_edit_dialog_a_entry_changed_cb (GtkEditable *entry,
513/** 513/**
514 * Run an GNS Edit dialog for an 'A' Record. 514 * Run an GNS Edit dialog for an 'A' Record.
515 * 515 *
516 * @param cont continuation to call when done
517 * @param edc editing context to use 516 * @param edc editing context to use
518 */ 517 */
519void 518void
@@ -575,6 +574,7 @@ edit_dialog_aaaa_validity_check (struct EditDialogContext *edc)
575 * continuation. 574 * continuation.
576 * 575 *
577 * @param dialog editing dialog 576 * @param dialog editing dialog
577 * @param response_id action that caused the dialog to be closed
578 * @param user_data the 'struct EditDialogContext' 578 * @param user_data the 'struct EditDialogContext'
579 */ 579 */
580void 580void
@@ -607,7 +607,6 @@ GNS_edit_aaaa_dialog_response_cb (GtkDialog *dialog,
607 * button depending on the validity of the value. 607 * button depending on the validity of the value.
608 * 608 *
609 * @param entry editing widget 609 * @param entry editing widget
610 * @param preedit new value
611 * @param user_data the 'struct EditDialogContext' of the dialog 610 * @param user_data the 'struct EditDialogContext' of the dialog
612 */ 611 */
613void 612void
@@ -623,7 +622,6 @@ GNS_edit_dialog_aaaa_entry_changed_cb (GtkEditable *entry,
623/** 622/**
624 * Run an GNS Edit dialog for an 'AAAA' Record. 623 * Run an GNS Edit dialog for an 'AAAA' Record.
625 * 624 *
626 * @param cont continuation to call when done
627 * @param edc editing context to use 625 * @param edc editing context to use
628 */ 626 */
629void 627void
@@ -684,6 +682,7 @@ edit_dialog_cname_validity_check (struct EditDialogContext *edc)
684 * continuation. 682 * continuation.
685 * 683 *
686 * @param dialog editing dialog 684 * @param dialog editing dialog
685 * @param response_id action that caused the dialog to be closed
687 * @param user_data the 'struct EditDialogContext' 686 * @param user_data the 'struct EditDialogContext'
688 */ 687 */
689void 688void
@@ -716,7 +715,6 @@ GNS_edit_cname_dialog_response_cb (GtkDialog *dialog,
716 * button depending on the validity of the value. 715 * button depending on the validity of the value.
717 * 716 *
718 * @param entry editing widget 717 * @param entry editing widget
719 * @param preedit new value
720 * @param user_data the 'struct EditDialogContext' of the dialog 718 * @param user_data the 'struct EditDialogContext' of the dialog
721 */ 719 */
722void 720void
@@ -732,7 +730,6 @@ GNS_edit_dialog_cname_entry_changed_cb (GtkEditable *entry,
732/** 730/**
733 * Run an GNS Edit dialog for an 'CNAME' Record. 731 * Run an GNS Edit dialog for an 'CNAME' Record.
734 * 732 *
735 * @param cont continuation to call when done
736 * @param edc editing context to use 733 * @param edc editing context to use
737 */ 734 */
738void 735void
@@ -793,6 +790,7 @@ edit_dialog_leho_validity_check (struct EditDialogContext *edc)
793 * continuation. 790 * continuation.
794 * 791 *
795 * @param dialog editing dialog 792 * @param dialog editing dialog
793 * @param response_id action that caused the dialog to be closed
796 * @param user_data the 'struct EditDialogContext' 794 * @param user_data the 'struct EditDialogContext'
797 */ 795 */
798void 796void
@@ -825,7 +823,6 @@ GNS_edit_leho_dialog_response_cb (GtkDialog *dialog,
825 * button depending on the validity of the value. 823 * button depending on the validity of the value.
826 * 824 *
827 * @param entry editing widget 825 * @param entry editing widget
828 * @param preedit new value
829 * @param user_data the 'struct EditDialogContext' of the dialog 826 * @param user_data the 'struct EditDialogContext' of the dialog
830 */ 827 */
831void 828void
@@ -841,7 +838,6 @@ GNS_edit_dialog_leho_entry_changed_cb (GtkEditable *entry,
841/** 838/**
842 * Run an GNS Edit dialog for an 'LEHO' Record. 839 * Run an GNS Edit dialog for an 'LEHO' Record.
843 * 840 *
844 * @param cont continuation to call when done
845 * @param edc editing context to use 841 * @param edc editing context to use
846 */ 842 */
847void 843void
@@ -902,6 +898,7 @@ edit_dialog_mx_validity_check (struct EditDialogContext *edc)
902 * continuation. 898 * continuation.
903 * 899 *
904 * @param dialog editing dialog 900 * @param dialog editing dialog
901 * @param response_id action that caused the dialog to be closed
905 * @param user_data the 'struct EditDialogContext' 902 * @param user_data the 'struct EditDialogContext'
906 */ 903 */
907void 904void
@@ -943,7 +940,6 @@ GNS_edit_mx_dialog_response_cb (GtkDialog *dialog,
943 * button depending on the validity of the value. 940 * button depending on the validity of the value.
944 * 941 *
945 * @param entry editing widget 942 * @param entry editing widget
946 * @param preedit new value
947 * @param user_data the 'struct EditDialogContext' of the dialog 943 * @param user_data the 'struct EditDialogContext' of the dialog
948 */ 944 */
949void 945void
@@ -959,7 +955,6 @@ GNS_edit_dialog_mx_entry_changed_cb (GtkEditable *entry,
959/** 955/**
960 * Run an GNS Edit dialog for an 'MX' Record. 956 * Run an GNS Edit dialog for an 'MX' Record.
961 * 957 *
962 * @param cont continuation to call when done
963 * @param edc editing context to use 958 * @param edc editing context to use
964 */ 959 */
965void 960void
@@ -1036,12 +1031,13 @@ edit_dialog_ns_validity_check (struct EditDialogContext *edc)
1036 * continuation. 1031 * continuation.
1037 * 1032 *
1038 * @param dialog editing dialog 1033 * @param dialog editing dialog
1034 * @param response_id action that caused the dialog to be closed
1039 * @param user_data the 'struct EditDialogContext' 1035 * @param user_data the 'struct EditDialogContext'
1040 */ 1036 */
1041void 1037void
1042GNS_edit_ns_dialog_response_cb (GtkDialog *dialog, 1038GNS_edit_ns_dialog_response_cb (GtkDialog *dialog,
1043 gint response_id, 1039 gint response_id,
1044 gpointer user_data) 1040 gpointer user_data)
1045{ 1041{
1046 struct EditDialogContext *edc = user_data; 1042 struct EditDialogContext *edc = user_data;
1047 GtkEntry *entry; 1043 GtkEntry *entry;
@@ -1068,12 +1064,11 @@ GNS_edit_ns_dialog_response_cb (GtkDialog *dialog,
1068 * button depending on the validity of the value. 1064 * button depending on the validity of the value.
1069 * 1065 *
1070 * @param entry editing widget 1066 * @param entry editing widget
1071 * @param preedit new value
1072 * @param user_data the 'struct EditDialogContext' of the dialog 1067 * @param user_data the 'struct EditDialogContext' of the dialog
1073 */ 1068 */
1074void 1069void
1075GNS_edit_dialog_ns_entry_changed_cb (GtkEditable *entry, 1070GNS_edit_dialog_ns_entry_changed_cb (GtkEditable *entry,
1076 gpointer user_data) 1071 gpointer user_data)
1077{ 1072{
1078 struct EditDialogContext *edc = user_data; 1073 struct EditDialogContext *edc = user_data;
1079 1074
@@ -1084,7 +1079,6 @@ GNS_edit_dialog_ns_entry_changed_cb (GtkEditable *entry,
1084/** 1079/**
1085 * Run an GNS Edit dialog for an 'NS' Record. 1080 * Run an GNS Edit dialog for an 'NS' Record.
1086 * 1081 *
1087 * @param cont continuation to call when done
1088 * @param edc editing context to use 1082 * @param edc editing context to use
1089 */ 1083 */
1090void 1084void
@@ -1149,6 +1143,7 @@ edit_dialog_pkey_validity_check (struct EditDialogContext *edc)
1149 * continuation. 1143 * continuation.
1150 * 1144 *
1151 * @param dialog editing dialog 1145 * @param dialog editing dialog
1146 * @param response_id action that caused the dialog to be closed
1152 * @param user_data the 'struct EditDialogContext' 1147 * @param user_data the 'struct EditDialogContext'
1153 */ 1148 */
1154void 1149void
@@ -1181,7 +1176,6 @@ GNS_edit_pkey_dialog_response_cb (GtkDialog *dialog,
1181 * button depending on the validity of the value. 1176 * button depending on the validity of the value.
1182 * 1177 *
1183 * @param entry editing widget 1178 * @param entry editing widget
1184 * @param preedit new value
1185 * @param user_data the 'struct EditDialogContext' of the dialog 1179 * @param user_data the 'struct EditDialogContext' of the dialog
1186 */ 1180 */
1187void 1181void
@@ -1197,7 +1191,6 @@ GNS_edit_dialog_pkey_entry_changed_cb (GtkEditable *entry,
1197/** 1191/**
1198 * Run an GNS Edit dialog for an 'PKEY' Record. 1192 * Run an GNS Edit dialog for an 'PKEY' Record.
1199 * 1193 *
1200 * @param cont continuation to call when done
1201 * @param edc editing context to use 1194 * @param edc editing context to use
1202 */ 1195 */
1203void 1196void
@@ -1258,12 +1251,13 @@ edit_dialog_ptr_validity_check (struct EditDialogContext *edc)
1258 * continuation. 1251 * continuation.
1259 * 1252 *
1260 * @param dialog editing dialog 1253 * @param dialog editing dialog
1254 * @param response_id action that caused the dialog to be closed
1261 * @param user_data the 'struct EditDialogContext' 1255 * @param user_data the 'struct EditDialogContext'
1262 */ 1256 */
1263void 1257void
1264GNS_edit_ptr_dialog_response_cb (GtkDialog *dialog, 1258GNS_edit_ptr_dialog_response_cb (GtkDialog *dialog,
1265 gint response_id, 1259 gint response_id,
1266 gpointer user_data) 1260 gpointer user_data)
1267{ 1261{
1268 struct EditDialogContext *edc = user_data; 1262 struct EditDialogContext *edc = user_data;
1269 GtkEntry *entry; 1263 GtkEntry *entry;
@@ -1290,7 +1284,6 @@ GNS_edit_ptr_dialog_response_cb (GtkDialog *dialog,
1290 * button depending on the validity of the value. 1284 * button depending on the validity of the value.
1291 * 1285 *
1292 * @param entry editing widget 1286 * @param entry editing widget
1293 * @param preedit new value
1294 * @param user_data the 'struct EditDialogContext' of the dialog 1287 * @param user_data the 'struct EditDialogContext' of the dialog
1295 */ 1288 */
1296void 1289void
@@ -1306,7 +1299,6 @@ GNS_edit_dialog_ptr_entry_changed_cb (GtkEditable *entry,
1306/** 1299/**
1307 * Run an GNS Edit dialog for an 'PTR' Record. 1300 * Run an GNS Edit dialog for an 'PTR' Record.
1308 * 1301 *
1309 * @param cont continuation to call when done
1310 * @param edc editing context to use 1302 * @param edc editing context to use
1311 */ 1303 */
1312void 1304void
@@ -1382,6 +1374,7 @@ edit_dialog_soa_validity_check (struct EditDialogContext *edc)
1382 * continuation. 1374 * continuation.
1383 * 1375 *
1384 * @param dialog editing dialog 1376 * @param dialog editing dialog
1377 * @param response_id action that caused the dialog to be closed
1385 * @param user_data the 'struct EditDialogContext' 1378 * @param user_data the 'struct EditDialogContext'
1386 */ 1379 */
1387void 1380void
@@ -1442,7 +1435,6 @@ GNS_edit_soa_dialog_response_cb (GtkDialog *dialog,
1442 * button depending on the validity of the value. 1435 * button depending on the validity of the value.
1443 * 1436 *
1444 * @param entry editing widget 1437 * @param entry editing widget
1445 * @param preedit new value
1446 * @param user_data the 'struct EditDialogContext' of the dialog 1438 * @param user_data the 'struct EditDialogContext' of the dialog
1447 */ 1439 */
1448void 1440void
@@ -1460,7 +1452,6 @@ GNS_edit_dialog_soa_contact_email_entry_changed_cb (GtkEditable *entry,
1460 * button depending on the validity of the value. 1452 * button depending on the validity of the value.
1461 * 1453 *
1462 * @param entry editing widget 1454 * @param entry editing widget
1463 * @param preedit new value
1464 * @param user_data the 'struct EditDialogContext' of the dialog 1455 * @param user_data the 'struct EditDialogContext' of the dialog
1465 */ 1456 */
1466void 1457void
@@ -1476,7 +1467,6 @@ GNS_edit_dialog_soa_source_host_entry_changed_cb (GtkEditable *entry,
1476/** 1467/**
1477 * Run an GNS Edit dialog for an 'SOA' Record. 1468 * Run an GNS Edit dialog for an 'SOA' Record.
1478 * 1469 *
1479 * @param cont continuation to call when done
1480 * @param edc editing context to use 1470 * @param edc editing context to use
1481 */ 1471 */
1482void 1472void
@@ -1583,6 +1573,7 @@ edit_dialog_srv_validity_check (struct EditDialogContext *edc)
1583 * continuation. 1573 * continuation.
1584 * 1574 *
1585 * @param dialog editing dialog 1575 * @param dialog editing dialog
1576 * @param response_id action that caused the dialog to be closed
1586 * @param user_data the 'struct EditDialogContext' 1577 * @param user_data the 'struct EditDialogContext'
1587 */ 1578 */
1588void 1579void
@@ -1620,7 +1611,6 @@ GNS_edit_srv_dialog_response_cb (GtkDialog *dialog,
1620 * button depending on the validity of the value. 1611 * button depending on the validity of the value.
1621 * 1612 *
1622 * @param entry editing widget 1613 * @param entry editing widget
1623 * @param preedit new value
1624 * @param user_data the 'struct EditDialogContext' of the dialog 1614 * @param user_data the 'struct EditDialogContext' of the dialog
1625 */ 1615 */
1626void 1616void
@@ -1636,7 +1626,6 @@ GNS_edit_dialog_srv_target_entry_changed_cb (GtkEditable *entry,
1636/** 1626/**
1637 * Run an GNS Edit dialog for an 'SRV' Record. 1627 * Run an GNS Edit dialog for an 'SRV' Record.
1638 * 1628 *
1639 * @param cont continuation to call when done
1640 * @param edc editing context to use 1629 * @param edc editing context to use
1641 */ 1630 */
1642void 1631void
@@ -1688,12 +1677,13 @@ edit_dialog_txt_validity_check (struct EditDialogContext *edc)
1688 * continuation. 1677 * continuation.
1689 * 1678 *
1690 * @param dialog editing dialog 1679 * @param dialog editing dialog
1680 * @param response_id action that caused the dialog to be closed
1691 * @param user_data the 'struct EditDialogContext' 1681 * @param user_data the 'struct EditDialogContext'
1692 */ 1682 */
1693void 1683void
1694GNS_edit_txt_dialog_response_cb (GtkDialog *dialog, 1684GNS_edit_txt_dialog_response_cb (GtkDialog *dialog,
1695 gint response_id, 1685 gint response_id,
1696 gpointer user_data) 1686 gpointer user_data)
1697{ 1687{
1698 struct EditDialogContext *edc = user_data; 1688 struct EditDialogContext *edc = user_data;
1699 GtkEntry *entry; 1689 GtkEntry *entry;
@@ -1720,7 +1710,6 @@ GNS_edit_txt_dialog_response_cb (GtkDialog *dialog,
1720 * button depending on the validity of the value. 1710 * button depending on the validity of the value.
1721 * 1711 *
1722 * @param entry editing widget 1712 * @param entry editing widget
1723 * @param preedit new value
1724 * @param user_data the 'struct EditDialogContext' of the dialog 1713 * @param user_data the 'struct EditDialogContext' of the dialog
1725 */ 1714 */
1726void 1715void
@@ -1736,7 +1725,6 @@ GNS_edit_dialog_txt_entry_changed_cb (GtkEditable *entry,
1736/** 1725/**
1737 * Run an GNS Edit dialog for an 'TXT' Record. 1726 * Run an GNS Edit dialog for an 'TXT' Record.
1738 * 1727 *
1739 * @param cont continuation to call when done
1740 * @param edc editing context to use 1728 * @param edc editing context to use
1741 */ 1729 */
1742void 1730void
@@ -1799,12 +1787,13 @@ edit_dialog_vpn_validity_check (struct EditDialogContext *edc)
1799 * continuation. 1787 * continuation.
1800 * 1788 *
1801 * @param dialog editing dialog 1789 * @param dialog editing dialog
1790 * @param response_id action that caused the dialog to be closed
1802 * @param user_data the 'struct EditDialogContext' 1791 * @param user_data the 'struct EditDialogContext'
1803 */ 1792 */
1804void 1793void
1805GNS_edit_vpn_dialog_response_cb (GtkDialog *dialog, 1794GNS_edit_vpn_dialog_response_cb (GtkDialog *dialog,
1806 gint response_id, 1795 gint response_id,
1807 gpointer user_data) 1796 gpointer user_data)
1808{ 1797{
1809 struct EditDialogContext *edc = user_data; 1798 struct EditDialogContext *edc = user_data;
1810 GtkEntry *entry; 1799 GtkEntry *entry;
@@ -1845,7 +1834,6 @@ GNS_edit_vpn_dialog_response_cb (GtkDialog *dialog,
1845 * button depending on the validity of the value. 1834 * button depending on the validity of the value.
1846 * 1835 *
1847 * @param entry editing widget 1836 * @param entry editing widget
1848 * @param preedit new value
1849 * @param user_data the 'struct EditDialogContext' of the dialog 1837 * @param user_data the 'struct EditDialogContext' of the dialog
1850 */ 1838 */
1851void 1839void
@@ -1861,7 +1849,6 @@ GNS_edit_dialog_vpn_peer_entry_changed_cb (GtkEditable *entry,
1861/** 1849/**
1862 * Run an GNS Edit dialog for an 'VPN' Record. 1850 * Run an GNS Edit dialog for an 'VPN' Record.
1863 * 1851 *
1864 * @param cont continuation to call when done
1865 * @param edc editing context to use 1852 * @param edc editing context to use
1866 */ 1853 */
1867void 1854void