[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnunet] branch master updated: identity: remove already deleted API fro
From: |
Admin |
Subject: |
[gnunet] branch master updated: identity: remove already deleted API from header and all references to it. |
Date: |
Sat, 07 Jun 2025 16:33:35 +0200 |
This is an automated email from the git hooks/post-receive script.
martin-schanzenbach pushed a commit to branch master
in repository gnunet.
The following commit(s) were added to refs/heads/master by this push:
new 3c2b357f8 identity: remove already deleted API from header and all
references to it.
3c2b357f8 is described below
commit 3c2b357f85adc17b6dab628b65cf1e51b7065f41
Author: Martin Schanzenbach <schanzen@gnunet.org>
AuthorDate: Sat Jun 7 16:32:46 2025 +0200
identity: remove already deleted API from header and all references to
it.
NEWS: Delete previously removed GNUNET_IDENTITY_get/set API from header
---
src/cli/identity/gnunet-identity.c | 2 +-
src/cli/namestore/gnunet-zoneimport.c | 2 +-
src/include/gnunet_identity_service.h | 34 ----------------------------------
src/service/pt/test_gns_vpn.c | 2 +-
src/service/rest/openid_plugin.c | 2 +-
src/service/rest/reclaim_plugin.c | 2 +-
6 files changed, 5 insertions(+), 39 deletions(-)
diff --git a/src/cli/identity/gnunet-identity.c
b/src/cli/identity/gnunet-identity.c
index 81fe09340..fb6f3cdf1 100644
--- a/src/cli/identity/gnunet-identity.c
+++ b/src/cli/identity/gnunet-identity.c
@@ -358,7 +358,7 @@ read_encrypted_message (struct GNUNET_IDENTITY_Ego *ego)
* with 'NULL' for 'ego'. That does NOT mean that the callback won't
* be invoked in the future or that there was an error.
*
- * When used with 'GNUNET_IDENTITY_create' or 'GNUNET_IDENTITY_get', this
+ * When used with 'GNUNET_IDENTITY_create', this
* function is only called ONCE, and 'NULL' being passed in 'ego' does
* indicate an error (for example because name is taken or no default value is
* known). If 'ego' is non-NULL and if '*ctx' is set in those callbacks, the
diff --git a/src/cli/namestore/gnunet-zoneimport.c
b/src/cli/namestore/gnunet-zoneimport.c
index d670a274d..083a1c3d5 100644
--- a/src/cli/namestore/gnunet-zoneimport.c
+++ b/src/cli/namestore/gnunet-zoneimport.c
@@ -1712,7 +1712,7 @@ process_stdin (void *cls)
* with 'NULL' for @a ego. That does NOT mean that the callback won't
* be invoked in the future or that there was an error.
*
- * When used with #GNUNET_IDENTITY_create or #GNUNET_IDENTITY_get, this
+ * When used with #GNUNET_IDENTITY_create, this
* function is only called ONCE, and 'NULL' being passed in @a ego does
* indicate an error (for example because name is taken or no default value is
* known). If @a ego is non-NULL and if '*ctx' is set in those callbacks, the
diff --git a/src/include/gnunet_identity_service.h
b/src/include/gnunet_identity_service.h
index 270f4d26f..1f0b8215c 100644
--- a/src/include/gnunet_identity_service.h
+++ b/src/include/gnunet_identity_service.h
@@ -173,22 +173,6 @@ GNUNET_IDENTITY_connect (const struct
GNUNET_CONFIGURATION_Handle *cfg,
void *cb_cls);
-/**
- * Obtain the ego that is currently preferred/default for a service.
- *
- * @param id identity service to query
- * @param service_name for which service is an identity wanted
- * @param cb function to call with the result (will only be called once)
- * @param cb_cls closure for @a cb
- * @return handle to abort the operation
- */
-struct GNUNET_IDENTITY_Operation *
-GNUNET_IDENTITY_get (struct GNUNET_IDENTITY_Handle *id,
- const char *service_name,
- GNUNET_IDENTITY_Callback cb,
- void *cb_cls);
-
-
/**
* Function called once the requested operation has
* been completed.
@@ -201,24 +185,6 @@ typedef void
enum GNUNET_ErrorCode ec);
-/**
- * Set the preferred/default ego for a service.
- *
- * @param id identity service to inform
- * @param service_name for which service is an identity set
- * @param ego new default identity to be set for this service
- * @param cont function to call once the operation finished
- * @param cont_cls closure for @a cont
- * @return handle to abort the operation
- */
-struct GNUNET_IDENTITY_Operation *
-GNUNET_IDENTITY_set (struct GNUNET_IDENTITY_Handle *id,
- const char *service_name,
- struct GNUNET_IDENTITY_Ego *ego,
- GNUNET_IDENTITY_Continuation cont,
- void *cont_cls);
-
-
/**
* Disconnect from identity service.
*
diff --git a/src/service/pt/test_gns_vpn.c b/src/service/pt/test_gns_vpn.c
index 300f17202..7730afca3 100644
--- a/src/service/pt/test_gns_vpn.c
+++ b/src/service/pt/test_gns_vpn.c
@@ -528,7 +528,7 @@ fork_and_exec (const char *file,
* with 'NULL' for @a ego. That does NOT mean that the callback won't
* be invoked in the future or that there was an error.
*
- * When used with #GNUNET_IDENTITY_create or #GNUNET_IDENTITY_get, this
+ * When used with #GNUNET_IDENTITY_create, this
* function is only called ONCE, and 'NULL' being passed in @a ego does
* indicate an error (for example because name is taken or no default value is
* known). If @a ego is non-NULL and if '*ctx' is set in those callbacks, the
diff --git a/src/service/rest/openid_plugin.c b/src/service/rest/openid_plugin.c
index 09fce0771..edb209547 100644
--- a/src/service/rest/openid_plugin.c
+++ b/src/service/rest/openid_plugin.c
@@ -2807,7 +2807,7 @@ jwks_endpoint (struct GNUNET_REST_RequestHandle
*con_handle,
* with 'NULL' for 'ego'. That does NOT mean that the callback won't
* be invoked in the future or that there was an error.
*
- * When used with 'GNUNET_IDENTITY_create' or 'GNUNET_IDENTITY_get', this
+ * When used with 'GNUNET_IDENTITY_create', this
* function is only called ONCE, and 'NULL' being passed in 'ego' does
* indicate an error (for example because name is taken or no default value is
* known). If 'ego' is non-NULL and if '*ctx' is set in those callbacks, the
diff --git a/src/service/rest/reclaim_plugin.c
b/src/service/rest/reclaim_plugin.c
index d7a793767..9703531a5 100644
--- a/src/service/rest/reclaim_plugin.c
+++ b/src/service/rest/reclaim_plugin.c
@@ -1308,7 +1308,7 @@ options_cont (struct GNUNET_REST_RequestHandle
*con_handle,
* with 'NULL' for 'ego'. That does NOT mean that the callback won't
* be invoked in the future or that there was an error.
*
- * When used with 'GNUNET_IDENTITY_create' or 'GNUNET_IDENTITY_get', this
+ * When used with 'GNUNET_IDENTITY_create', this
* function is only called ONCE, and 'NULL' being passed in 'ego' does
* indicate an error (for example because name is taken or no default value is
* known). If 'ego' is non-NULL and if '*ctx' is set in those callbacks, the
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gnunet] branch master updated: identity: remove already deleted API from header and all references to it.,
Admin <=