[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [GNUnet-developers] Listing Egos
From: |
Christian Grothoff |
Subject: |
Re: [GNUnet-developers] Listing Egos |
Date: |
Fri, 22 Jan 2016 12:51:05 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.5.0 |
You're confused about how identity uses the callback. It does NOT just
give you the list of identities once upon connect, but it keeps you
up-to-date as long as the connection is up. So you don't need to
re-start the application or connection to reflect identity changes: you
will always have the latest status if you process the various cb-events
(there are arguments that tell you about add/remove/rename/etc.).
On 01/22/2016 12:31 PM, zPlus wrote:
> Could anybody please add a GNUNET_IDENTITY_list function to the identity
> service?
>
> I believe it will be very useful for applications that are supposed to
> run for a long time (eg. gnunet-gtk) instead of returning immediately
> (eg. gnunet-identity). For example when I ask gnunet-gtk to publish a
> new file, it could use this function to let me choose a pseudonym and
> avoid restarting the application to reflect identity changes.
>
>
> On Fri, 2016-01-22 at 11:37 +0100, Christian Grothoff wrote:
>> Not really, you're supposed to know what information you'll need in your
>> process and keep it around ;-). Theoretically, you could connect
>> *again*, but that's not how you should do this.
>
>
> _______________________________________________
> GNUnet-developers mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/gnunet-developers
>
0xE29FC3CC.asc
Description: application/pgp-keys
signature.asc
Description: OpenPGP digital signature
- [GNUnet-developers] Listing Egos, zPlus, 2016/01/22
- Re: [GNUnet-developers] Listing Egos, Christian Grothoff, 2016/01/22
- Re: [GNUnet-developers] Listing Egos, zPlus, 2016/01/22
- Re: [GNUnet-developers] Listing Egos,
Christian Grothoff <=
- Re: [GNUnet-developers] Listing Egos, zPlus, 2016/01/22
- Re: [GNUnet-developers] Listing Egos, Christian Grothoff, 2016/01/22
- Re: [GNUnet-developers] Listing Egos, Martin Schanzenbach, 2016/01/22
- Re: [GNUnet-developers] Listing Egos, Christian Grothoff, 2016/01/23
- Re: [GNUnet-developers] Listing Egos, Martin Schanzenbach, 2016/01/26
- Re: [GNUnet-developers] Listing Egos, Christian Grothoff, 2016/01/27