refactor extensions: config -> manifest
This commit is contained in:
parent
2524dfc8d3
commit
fc83650115
@ -4339,9 +4339,9 @@ do_extensions_sign (char *const *args)
|
||||
"extensions_sig",
|
||||
&sig));
|
||||
|
||||
GNUNET_log(GNUNET_ERROR_TYPE_INFO,
|
||||
GNUNET_log (GNUNET_ERROR_TYPE_INFO,
|
||||
"DEBUG sending extensions object: '%s'\n",
|
||||
json_dumps(obj, JSON_INDENT(2)));
|
||||
json_dumps (obj, JSON_INDENT (2)));
|
||||
|
||||
output_operation (OP_EXTENSIONS,
|
||||
obj);
|
||||
|
@ -1918,8 +1918,8 @@ create_krd (struct TEH_KeyStateHandle *ksh,
|
||||
has_extensions = true;
|
||||
|
||||
|
||||
manifest = extension->manifest(extension);
|
||||
GNUNET_assert(manifest);
|
||||
manifest = extension->manifest (extension);
|
||||
GNUNET_assert (manifest);
|
||||
|
||||
r = json_object_set_new (
|
||||
extensions,
|
||||
|
@ -309,7 +309,9 @@ TALER_extensions_load_manifests (
|
||||
int critical;
|
||||
const char *version;
|
||||
json_t *config;
|
||||
struct TALER_Extension *extension = (struct TALER_Extension *)TALER_extensions_get_by_name (name);
|
||||
struct TALER_Extension *extension = (struct
|
||||
TALER_Extension *)
|
||||
TALER_extensions_get_by_name (name);
|
||||
|
||||
if (NULL == extension)
|
||||
{
|
||||
@ -332,7 +334,7 @@ TALER_extensions_load_manifests (
|
||||
|
||||
/* This _should_ work now */
|
||||
if (GNUNET_OK !=
|
||||
extension->load_config ( extension, config))
|
||||
extension->load_config (extension, config))
|
||||
return GNUNET_SYSERR;
|
||||
|
||||
extension->enabled = true;
|
||||
|
Loading…
Reference in New Issue
Block a user