diff options
Diffstat (limited to 'src/plugins/fs/namespace.c')
-rw-r--r-- | src/plugins/fs/namespace.c | 116 |
1 files changed, 58 insertions, 58 deletions
diff --git a/src/plugins/fs/namespace.c b/src/plugins/fs/namespace.c index 425efefe..ee1d0232 100644 --- a/src/plugins/fs/namespace.c +++ b/src/plugins/fs/namespace.c | |||
@@ -49,7 +49,7 @@ typedef struct NL | |||
49 | GtkWidget *updateButton; | 49 | GtkWidget *updateButton; |
50 | GtkTreeModel *model; | 50 | GtkTreeModel *model; |
51 | char *name; | 51 | char *name; |
52 | HashCode512 id; | 52 | GNUNET_HashCode id; |
53 | struct ECRS_MetaData *meta; | 53 | struct ECRS_MetaData *meta; |
54 | } NamespaceList; | 54 | } NamespaceList; |
55 | 55 | ||
@@ -95,7 +95,7 @@ on_namespaceContentSelectionChanged (gpointer signal, gpointer cls) | |||
95 | &iter, IN_NAMESPACE_PUB_DATE_STRING, &freq, -1); | 95 | &iter, IN_NAMESPACE_PUB_DATE_STRING, &freq, -1); |
96 | if ((freq != NULL) && (0 != strcmp (freq, _("never")))) | 96 | if ((freq != NULL) && (0 != strcmp (freq, _("never")))) |
97 | ok = 1; | 97 | ok = 1; |
98 | FREENONNULL (freq); | 98 | GNUNET_free_non_null (freq); |
99 | } | 99 | } |
100 | gtk_widget_set_sensitive (list->updateButton, ok); | 100 | gtk_widget_set_sensitive (list->updateButton, ok); |
101 | list = list->next; | 101 | list = list->next; |
@@ -295,15 +295,15 @@ makeNamespaceFrame (NamespaceList * entry) | |||
295 | * @param publicationFrequency how often are updates scheduled? | 295 | * @param publicationFrequency how often are updates scheduled? |
296 | * @param nextPublicationTime the scheduled time for the | 296 | * @param nextPublicationTime the scheduled time for the |
297 | * next update (0 for sporadic updates) | 297 | * next update (0 for sporadic updates) |
298 | * @return OK to continue iteration, SYSERR to abort | 298 | * @return GNUNET_OK to continue iteration, GNUNET_SYSERR to abort |
299 | */ | 299 | */ |
300 | static int | 300 | static int |
301 | addNamespaceContentToModel (void *cls, | 301 | addNamespaceContentToModel (void *cls, |
302 | const ECRS_FileInfo * fi, | 302 | const ECRS_FileInfo * fi, |
303 | const HashCode512 * lastId, | 303 | const GNUNET_HashCode * lastId, |
304 | const HashCode512 * nextId, | 304 | const GNUNET_HashCode * nextId, |
305 | TIME_T publicationFrequency, | 305 | GNUNET_Int32Time publicationFrequency, |
306 | TIME_T nextPublicationTime) | 306 | GNUNET_Int32Time nextPublicationTime) |
307 | { | 307 | { |
308 | GtkListStore *model = GTK_LIST_STORE (cls); | 308 | GtkListStore *model = GTK_LIST_STORE (cls); |
309 | GtkTreeIter iter; | 309 | GtkTreeIter iter; |
@@ -311,8 +311,8 @@ addNamespaceContentToModel (void *cls, | |||
311 | char *desc; | 311 | char *desc; |
312 | char *mime; | 312 | char *mime; |
313 | char *uriString; | 313 | char *uriString; |
314 | EncName last; | 314 | GNUNET_EncName last; |
315 | EncName next; | 315 | GNUNET_EncName next; |
316 | char *freq; | 316 | char *freq; |
317 | char *date; | 317 | char *date; |
318 | unsigned long long size; | 318 | unsigned long long size; |
@@ -329,7 +329,7 @@ addNamespaceContentToModel (void *cls, | |||
329 | EXTRACTOR_PRODUCER, | 329 | EXTRACTOR_PRODUCER, |
330 | EXTRACTOR_UNKNOWN, -1); | 330 | EXTRACTOR_UNKNOWN, -1); |
331 | if (filename == NULL) | 331 | if (filename == NULL) |
332 | filename = STRDUP (_("no name given")); | 332 | filename = GNUNET_strdup (_("no name given")); |
333 | else | 333 | else |
334 | { | 334 | { |
335 | char *dotdot; | 335 | char *dotdot; |
@@ -346,31 +346,31 @@ addNamespaceContentToModel (void *cls, | |||
346 | EXTRACTOR_FORMAT, | 346 | EXTRACTOR_FORMAT, |
347 | EXTRACTOR_SIZE, EXTRACTOR_KEYWORDS, -1); | 347 | EXTRACTOR_SIZE, EXTRACTOR_KEYWORDS, -1); |
348 | if (desc == NULL) | 348 | if (desc == NULL) |
349 | desc = STRDUP (""); | 349 | desc = GNUNET_strdup (""); |
350 | mime = ECRS_getFromMetaData (fi->meta, EXTRACTOR_MIMETYPE); | 350 | mime = ECRS_getFromMetaData (fi->meta, EXTRACTOR_MIMETYPE); |
351 | if (mime == NULL) | 351 | if (mime == NULL) |
352 | mime = STRDUP (_("unknown")); | 352 | mime = GNUNET_strdup (_("unknown")); |
353 | if (ECRS_isFileUri (fi->uri)) | 353 | if (ECRS_isFileUri (fi->uri)) |
354 | size = ECRS_fileSize (fi->uri); | 354 | size = ECRS_fileSize (fi->uri); |
355 | else | 355 | else |
356 | size = 0; | 356 | size = 0; |
357 | uriString = ECRS_uriToString (fi->uri); | 357 | uriString = ECRS_uriToString (fi->uri); |
358 | hash2enc (lastId, &last); | 358 | GNUNET_hash_to_enc (lastId, &last); |
359 | if (nextId != NULL) | 359 | if (nextId != NULL) |
360 | hash2enc (nextId, &next); | 360 | GNUNET_hash_to_enc (nextId, &next); |
361 | else | 361 | else |
362 | memset (&next, 0, sizeof (EncName)); | 362 | memset (&next, 0, sizeof (GNUNET_EncName)); |
363 | if (publicationFrequency == ECRS_SBLOCK_UPDATE_SPORADIC) | 363 | if (publicationFrequency == ECRS_SBLOCK_UPDATE_SPORADIC) |
364 | date = STRDUP (_("unspecified")); | 364 | date = GNUNET_strdup (_("unspecified")); |
365 | else if (publicationFrequency == ECRS_SBLOCK_UPDATE_NONE) | 365 | else if (publicationFrequency == ECRS_SBLOCK_UPDATE_NONE) |
366 | date = STRDUP (_("never")); | 366 | date = GNUNET_strdup (_("never")); |
367 | else | 367 | else |
368 | date = GN_CTIME (&nextPublicationTime); | 368 | date = GNUNET_int32_time_to_string (&nextPublicationTime); |
369 | if (date[strlen (date) - 1] == '\n') | 369 | if (date[strlen (date) - 1] == '\n') |
370 | date[strlen (date) - 1] = '\0'; | 370 | date[strlen (date) - 1] = '\0'; |
371 | 371 | ||
372 | freq = updateIntervalToString (publicationFrequency); | 372 | freq = updateIntervalToString (publicationFrequency); |
373 | size_h = string_get_fancy_byte_size (size); | 373 | size_h = GNUNET_get_byte_size_as_fancy_string (size); |
374 | gtk_list_store_append (model, &iter); | 374 | gtk_list_store_append (model, &iter); |
375 | gtk_list_store_set (model, | 375 | gtk_list_store_set (model, |
376 | &iter, | 376 | &iter, |
@@ -385,14 +385,14 @@ addNamespaceContentToModel (void *cls, | |||
385 | IN_NAMESPACE_PUB_DATE_STRING, date, | 385 | IN_NAMESPACE_PUB_DATE_STRING, date, |
386 | IN_NAMESPACE_URI, ECRS_dupUri (fi->uri), | 386 | IN_NAMESPACE_URI, ECRS_dupUri (fi->uri), |
387 | IN_NAMESPACE_META, ECRS_dupMetaData (fi->meta), -1); | 387 | IN_NAMESPACE_META, ECRS_dupMetaData (fi->meta), -1); |
388 | FREE (size_h); | 388 | GNUNET_free (size_h); |
389 | FREE (filename); | 389 | GNUNET_free (filename); |
390 | FREE (uriString); | 390 | GNUNET_free (uriString); |
391 | FREE (freq); | 391 | GNUNET_free (freq); |
392 | FREE (date); | 392 | GNUNET_free (date); |
393 | FREE (mime); | 393 | GNUNET_free (mime); |
394 | DEBUG_END (); | 394 | DEBUG_END (); |
395 | return OK; | 395 | return GNUNET_OK; |
396 | } | 396 | } |
397 | 397 | ||
398 | /** | 398 | /** |
@@ -401,7 +401,7 @@ addNamespaceContentToModel (void *cls, | |||
401 | int | 401 | int |
402 | addTabForNamespace (void *unused, | 402 | addTabForNamespace (void *unused, |
403 | const char *namespaceName, | 403 | const char *namespaceName, |
404 | const HashCode512 * namespaceId, | 404 | const GNUNET_HashCode * namespaceId, |
405 | const struct ECRS_MetaData *md, int rating) | 405 | const struct ECRS_MetaData *md, int rating) |
406 | { | 406 | { |
407 | NamespaceList *list; | 407 | NamespaceList *list; |
@@ -409,12 +409,12 @@ addTabForNamespace (void *unused, | |||
409 | GtkWidget *notebook; | 409 | GtkWidget *notebook; |
410 | GtkWidget *del_menu; | 410 | GtkWidget *del_menu; |
411 | 411 | ||
412 | if (OK != ECRS_testNamespaceExists (NULL, cfg, namespaceName, namespaceId)) | 412 | if (GNUNET_OK != ECRS_testNamespaceExists (NULL, cfg, namespaceName, namespaceId)) |
413 | return OK; | 413 | return GNUNET_OK; |
414 | DEBUG_BEGIN (); | 414 | DEBUG_BEGIN (); |
415 | label = gtk_label_new (namespaceName); | 415 | label = gtk_label_new (namespaceName); |
416 | list = MALLOC (sizeof (NamespaceList)); | 416 | list = GNUNET_malloc (sizeof (NamespaceList)); |
417 | list->name = STRDUP (namespaceName); | 417 | list->name = GNUNET_strdup (namespaceName); |
418 | list->id = *namespaceId; | 418 | list->id = *namespaceId; |
419 | list->meta = ECRS_dupMetaData (md); | 419 | list->meta = ECRS_dupMetaData (md); |
420 | makeNamespaceFrame (list); | 420 | makeNamespaceFrame (list); |
@@ -433,7 +433,7 @@ addTabForNamespace (void *unused, | |||
433 | 433 | ||
434 | del_menu = glade_xml_get_widget (getMainXML (), "namespaceDelete"); | 434 | del_menu = glade_xml_get_widget (getMainXML (), "namespaceDelete"); |
435 | gtk_widget_set_sensitive (del_menu, TRUE); | 435 | gtk_widget_set_sensitive (del_menu, TRUE); |
436 | return OK; | 436 | return GNUNET_OK; |
437 | } | 437 | } |
438 | 438 | ||
439 | 439 | ||
@@ -467,7 +467,7 @@ frame_destroy (GtkWidget * tree) | |||
467 | head = pos->next; | 467 | head = pos->next; |
468 | else | 468 | else |
469 | prev->next = pos->next; | 469 | prev->next = pos->next; |
470 | FREE (pos->name); | 470 | GNUNET_free (pos->name); |
471 | ECRS_freeMetaData (pos->meta); | 471 | ECRS_freeMetaData (pos->meta); |
472 | if (gtk_tree_model_get_iter_first (pos->model, &iter)) | 472 | if (gtk_tree_model_get_iter_first (pos->model, &iter)) |
473 | { | 473 | { |
@@ -488,7 +488,7 @@ frame_destroy (GtkWidget * tree) | |||
488 | } | 488 | } |
489 | while (gtk_tree_model_iter_next (pos->model, &iter)); | 489 | while (gtk_tree_model_iter_next (pos->model, &iter)); |
490 | } | 490 | } |
491 | FREE (pos); | 491 | GNUNET_free (pos); |
492 | del_menu = glade_xml_get_widget (getMainXML (), "namespaceDelete"); | 492 | del_menu = glade_xml_get_widget (getMainXML (), "namespaceDelete"); |
493 | gtk_widget_set_sensitive (del_menu, head != NULL); | 493 | gtk_widget_set_sensitive (del_menu, head != NULL); |
494 | } | 494 | } |
@@ -559,10 +559,10 @@ typedef struct | |||
559 | { | 559 | { |
560 | unsigned int anonymityLevel; | 560 | unsigned int anonymityLevel; |
561 | char *namespaceName; | 561 | char *namespaceName; |
562 | TIME_T updateInterval; | 562 | GNUNET_Int32Time updateInterval; |
563 | HashCode512 *lastId; | 563 | GNUNET_HashCode *lastId; |
564 | HashCode512 thisId; | 564 | GNUNET_HashCode thisId; |
565 | HashCode512 *nextId; | 565 | GNUNET_HashCode *nextId; |
566 | } IUC; | 566 | } IUC; |
567 | 567 | ||
568 | /** | 568 | /** |
@@ -590,7 +590,7 @@ addToNamespaceCB (GtkTreeModel * model, | |||
590 | return; | 590 | return; |
591 | } | 591 | } |
592 | resultURI = NS_addToNamespace (ectx, cfg, cls->anonymityLevel, 1000, /* FIXME: priority */ | 592 | resultURI = NS_addToNamespace (ectx, cfg, cls->anonymityLevel, 1000, /* FIXME: priority */ |
593 | get_time () + 2 * cronYEARS, /* FIXME: expiration */ | 593 | GNUNET_get_time () + 2 * GNUNET_CRON_YEARS, /* FIXME: expiration */ |
594 | cls->namespaceName, | 594 | cls->namespaceName, |
595 | cls->updateInterval, | 595 | cls->updateInterval, |
596 | cls->lastId, | 596 | cls->lastId, |
@@ -614,13 +614,13 @@ addToNamespaceCB (GtkTreeModel * model, | |||
614 | &cls->thisId, | 614 | &cls->thisId, |
615 | cls->nextId, | 615 | cls->nextId, |
616 | cls->updateInterval, | 616 | cls->updateInterval, |
617 | cls->updateInterval + TIME (NULL)); | 617 | cls->updateInterval + GNUNET_get_time_int32 (NULL)); |
618 | } | 618 | } |
619 | ECRS_freeUri (resultURI); | 619 | ECRS_freeUri (resultURI); |
620 | } | 620 | } |
621 | else | 621 | else |
622 | { | 622 | { |
623 | infoMessage (YES, | 623 | infoMessage (GNUNET_YES, |
624 | _("Failed to insert content into namespace " | 624 | _("Failed to insert content into namespace " |
625 | "(consult logs).\n")); | 625 | "(consult logs).\n")); |
626 | } | 626 | } |
@@ -654,7 +654,7 @@ on_namespaceInsertButton_clicked_fs (GtkWidget * dummy1, GtkWidget * dummy2) | |||
654 | GtkWidget *notebook; | 654 | GtkWidget *notebook; |
655 | GtkWidget *dialog; | 655 | GtkWidget *dialog; |
656 | GtkWidget *updateIntervalComboBox; | 656 | GtkWidget *updateIntervalComboBox; |
657 | HashCode512 nextId; | 657 | GNUNET_HashCode nextId; |
658 | IUC cls; | 658 | IUC cls; |
659 | gint num; | 659 | gint num; |
660 | 660 | ||
@@ -686,11 +686,11 @@ on_namespaceInsertButton_clicked_fs (GtkWidget * dummy1, GtkWidget * dummy2) | |||
686 | 686 | ||
687 | if (gtk_dialog_run (GTK_DIALOG (dialog)) == GTK_RESPONSE_OK) | 687 | if (gtk_dialog_run (GTK_DIALOG (dialog)) == GTK_RESPONSE_OK) |
688 | { | 688 | { |
689 | if (OK != tryParseTimeInterval (metaXML, | 689 | if (GNUNET_OK != tryParseTimeInterval (metaXML, |
690 | "updateIntervalComboBoxEntry", | 690 | "updateIntervalComboBoxEntry", |
691 | &cls.updateInterval)) | 691 | &cls.updateInterval)) |
692 | { | 692 | { |
693 | /* this should be impossible - OK button is | 693 | /* this should be impossible - GNUNET_OK button is |
694 | deactivated while parse errors are there */ | 694 | deactivated while parse errors are there */ |
695 | gtk_widget_destroy (dialog); | 695 | gtk_widget_destroy (dialog); |
696 | UNREF (metaXML); | 696 | UNREF (metaXML); |
@@ -711,7 +711,7 @@ on_namespaceInsertButton_clicked_fs (GtkWidget * dummy1, GtkWidget * dummy2) | |||
711 | identifierName = gtk_entry_get_text (GTK_ENTRY (nameLine)); | 711 | identifierName = gtk_entry_get_text (GTK_ENTRY (nameLine)); |
712 | if (identifierName == NULL) | 712 | if (identifierName == NULL) |
713 | identifierName = ""; | 713 | identifierName = ""; |
714 | hash (identifierName, strlen (identifierName), &cls.thisId); | 714 | GNUNET_hash (identifierName, strlen (identifierName), &cls.thisId); |
715 | cls.lastId = NULL; | 715 | cls.lastId = NULL; |
716 | 716 | ||
717 | nameLine = glade_xml_get_widget (metaXML, "nextIdentifierEntry"); | 717 | nameLine = glade_xml_get_widget (metaXML, "nextIdentifierEntry"); |
@@ -722,7 +722,7 @@ on_namespaceInsertButton_clicked_fs (GtkWidget * dummy1, GtkWidget * dummy2) | |||
722 | } | 722 | } |
723 | else | 723 | else |
724 | { | 724 | { |
725 | hash (identifierName, strlen (identifierName), &nextId); | 725 | GNUNET_hash (identifierName, strlen (identifierName), &nextId); |
726 | cls.nextId = &nextId; | 726 | cls.nextId = &nextId; |
727 | } | 727 | } |
728 | ggc_tree_selection_selected_foreach | 728 | ggc_tree_selection_selected_foreach |
@@ -743,14 +743,14 @@ on_namespaceUpdateButton_clicked_fs (GtkWidget * dummy1, GtkWidget * dummy2) | |||
743 | { | 743 | { |
744 | NamespaceList *list; | 744 | NamespaceList *list; |
745 | GtkTreeIter iter; | 745 | GtkTreeIter iter; |
746 | HashCode512 nextId; | 746 | GNUNET_HashCode nextId; |
747 | HashCode512 lastId; | 747 | GNUNET_HashCode lastId; |
748 | GtkTreeSelection *selection; | 748 | GtkTreeSelection *selection; |
749 | IUC cls; | 749 | IUC cls; |
750 | char *last; | 750 | char *last; |
751 | char *next; | 751 | char *next; |
752 | char *freq; | 752 | char *freq; |
753 | EncName nextnext; | 753 | GNUNET_EncName nextnext; |
754 | GtkWidget *nextEntryLine; | 754 | GtkWidget *nextEntryLine; |
755 | GtkWidget *identifierLabel; | 755 | GtkWidget *identifierLabel; |
756 | GtkWidget *updateIntervalComboBox; | 756 | GtkWidget *updateIntervalComboBox; |
@@ -795,7 +795,7 @@ on_namespaceUpdateButton_clicked_fs (GtkWidget * dummy1, GtkWidget * dummy2) | |||
795 | GE_BREAK (NULL, 0); | 795 | GE_BREAK (NULL, 0); |
796 | return; | 796 | return; |
797 | } | 797 | } |
798 | if (OK != parseTimeInterval (freq, &cls.updateInterval)) | 798 | if (GNUNET_OK != parseTimeInterval (freq, &cls.updateInterval)) |
799 | { | 799 | { |
800 | GE_BREAK (ectx, 0); | 800 | GE_BREAK (ectx, 0); |
801 | cls.updateInterval = ECRS_SBLOCK_UPDATE_SPORADIC; | 801 | cls.updateInterval = ECRS_SBLOCK_UPDATE_SPORADIC; |
@@ -810,19 +810,19 @@ on_namespaceUpdateButton_clicked_fs (GtkWidget * dummy1, GtkWidget * dummy2) | |||
810 | gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_OK); | 810 | gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_OK); |
811 | identifierLabel = glade_xml_get_widget (metaXML, "identifierLabel"); | 811 | identifierLabel = glade_xml_get_widget (metaXML, "identifierLabel"); |
812 | gtk_label_set_text (GTK_LABEL (identifierLabel), next); | 812 | gtk_label_set_text (GTK_LABEL (identifierLabel), next); |
813 | enc2hash (last, &lastId); | 813 | GNUNET_enc_to_hash (last, &lastId); |
814 | cls.lastId = &lastId; | 814 | cls.lastId = &lastId; |
815 | enc2hash (next, &cls.thisId); | 815 | GNUNET_enc_to_hash (next, &cls.thisId); |
816 | 816 | ||
817 | nextEntryLine = glade_xml_get_widget (metaXML, "nextIdentifierEntry"); | 817 | nextEntryLine = glade_xml_get_widget (metaXML, "nextIdentifierEntry"); |
818 | if ((cls.updateInterval != ECRS_SBLOCK_UPDATE_SPORADIC) && | 818 | if ((cls.updateInterval != ECRS_SBLOCK_UPDATE_SPORADIC) && |
819 | (OK == NS_computeNextId (NULL, | 819 | (GNUNET_OK == NS_computeNextId (NULL, |
820 | cfg, | 820 | cfg, |
821 | cls.namespaceName, | 821 | cls.namespaceName, |
822 | &lastId, | 822 | &lastId, |
823 | &cls.thisId, cls.updateInterval, &nextId))) | 823 | &cls.thisId, cls.updateInterval, &nextId))) |
824 | { | 824 | { |
825 | hash2enc (&nextId, &nextnext); | 825 | GNUNET_hash_to_enc (&nextId, &nextnext); |
826 | gtk_entry_set_text (GTK_ENTRY (nextEntryLine), (char *) &nextnext); | 826 | gtk_entry_set_text (GTK_ENTRY (nextEntryLine), (char *) &nextnext); |
827 | gtk_widget_set_sensitive (nextEntryLine, FALSE); | 827 | gtk_widget_set_sensitive (nextEntryLine, FALSE); |
828 | } | 828 | } |
@@ -844,15 +844,15 @@ on_namespaceUpdateButton_clicked_fs (GtkWidget * dummy1, GtkWidget * dummy2) | |||
844 | nn_str = gtk_entry_get_text (GTK_ENTRY (nextEntryLine)); | 844 | nn_str = gtk_entry_get_text (GTK_ENTRY (nextEntryLine)); |
845 | if (nn_str == NULL) | 845 | if (nn_str == NULL) |
846 | nn_str = ""; | 846 | nn_str = ""; |
847 | hash (nn_str, strlen (nn_str), &nextId); | 847 | GNUNET_hash (nn_str, strlen (nn_str), &nextId); |
848 | cls.nextId = &nextId; | 848 | cls.nextId = &nextId; |
849 | 849 | ||
850 | if (OK != tryParseTimeInterval (metaXML, | 850 | if (GNUNET_OK != tryParseTimeInterval (metaXML, |
851 | "namespaceUpdateIntervalComboBoxEntry", | 851 | "namespaceUpdateIntervalComboBoxEntry", |
852 | &cls.updateInterval)) | 852 | &cls.updateInterval)) |
853 | { | 853 | { |
854 | /* This should be impossible since the | 854 | /* This should be impossible since the |
855 | the OK button is deactivated while parse errors are present */ | 855 | the GNUNET_OK button is deactivated while parse errors are present */ |
856 | mdialog = gtk_message_dialog_new | 856 | mdialog = gtk_message_dialog_new |
857 | (NULL, | 857 | (NULL, |
858 | GTK_DIALOG_MODAL, | 858 | GTK_DIALOG_MODAL, |
@@ -896,7 +896,7 @@ fs_namespace_start () | |||
896 | gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (trackCheckButton), | 896 | gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (trackCheckButton), |
897 | URITRACK_trackStatus (ectx, | 897 | URITRACK_trackStatus (ectx, |
898 | cfg) == | 898 | cfg) == |
899 | YES ? TRUE : FALSE); | 899 | GNUNET_YES ? TRUE : FALSE); |
900 | 900 | ||
901 | contentList = glade_xml_get_widget (getMainXML (), "availableContentList"); | 901 | contentList = glade_xml_get_widget (getMainXML (), "availableContentList"); |
902 | 902 | ||