POSTGRES_DIR = pq
endif
-if HAVE_MHD
-if HAVE_JSON
+if HAVE_REST
REST_DIR = rest
endif
-endif
SUBDIRS = \
* @param ego an ego known to identity service, or NULL
*/
static void
-identity_cb (void *cls, const struct GNUNET_IDENTITY_Ego *ego)
+identity_cb (void *cls, struct GNUNET_IDENTITY_Ego *ego)
{
const struct GNUNET_CRYPTO_EcdsaPrivateKey *privkey;
static void
-store_cb (void *cls, const struct GNUNET_IDENTITY_Ego *ego)
+store_cb (void *cls, struct GNUNET_IDENTITY_Ego *ego)
{
const struct GNUNET_CONFIGURATION_Handle *cfg = cls;
static void
-sign_cb (void *cls, const struct GNUNET_IDENTITY_Ego *ego)
+sign_cb (void *cls, struct GNUNET_IDENTITY_Ego *ego)
{
const struct GNUNET_CRYPTO_EcdsaPrivateKey *privkey;
struct GNUNET_ABD_Delegate *dele;
endif
endif
-if HAVE_MHD
-if HAVE_JSON
+if HAVE_REST
REST_PLUGIN = libgnunet_plugin_rest_gns.la
endif
-endif
plugin_LTLIBRARIES = \
libgnunet_plugin_block_gns.la \
s5r->gns_lookup = GNUNET_GNS_lookup_with_tld (gns_handle,
s5r->domain,
GNUNET_DNSPARSER_TYPE_A,
- GNUNET_NO /* only cached */,
+ GNUNET_GNS_LO_LOCAL_MASTER /* only cached */,
&handle_gns_result,
s5r);
break;
XLIB = -lgcov
endif
-if HAVE_MHD
-if HAVE_JSON
+if HAVE_REST
plugin_LTLIBRARIES = libgnunet_plugin_rest_identity.la
endif
-endif
pkgcfgdir= $(pkgdatadir)/config.d/
*/
typedef void
(*GNUNET_IDENTITY_EgoCallback) (void *cls,
- const struct GNUNET_IDENTITY_Ego *ego);
+ struct GNUNET_IDENTITY_Ego *ego);
/**
* Handle for ego lookup.
$(check_SCRIPTS)
endif
-if HAVE_MHD
-if HAVE_JSON
+if HAVE_REST
REST_PLUGIN = libgnunet_plugin_rest_namestore.la
endif
-endif
lib_LTLIBRARIES = \
libgnunetnamestore.la
* @param ego an ego known to identity service, or NULL
*/
static void
-identity_cb (void *cls, const struct GNUNET_IDENTITY_Ego *ego)
+identity_cb (void *cls, struct GNUNET_IDENTITY_Ego *ego)
{
const struct GNUNET_CONFIGURATION_Handle *cfg = cls;
XLIB = -lgcov
endif
-if HAVE_MHD
-if HAVE_JSON
+if HAVE_REST
REST_PLUGIN = libgnunet_plugin_rest_peerinfo.la
endif
-endif
plugindir = $(libdir)/gnunet
endif
-if HAVE_MHD
-if HAVE_JSON
+if HAVE_REST
REST_PLUGIN = \
libgnunet_plugin_rest_openid_connect.la \
libgnunet_plugin_rest_reclaim.la
endif
-endif
if HAVE_JSON
ATTESTATION_PLUGIN = \
* @param ego the ego, NULL if not found
*/
static void
-ego_callback (void *cls, const struct GNUNET_IDENTITY_Ego *ego)
+ego_callback (void *cls, struct GNUNET_IDENTITY_Ego *ego)
{
struct GNUNET_CRYPTO_EcdsaPublicKey key;
const struct GNUNET_CRYPTO_EcdsaPrivateKey *privkey;