use JSON instead of DDF marshalling
[mech_eap.git] / util_radius.h
index 39caa18..656f1b7 100644 (file)
@@ -66,9 +66,11 @@ public:
     void releaseAnyNameMapping(gss_buffer_t type_id,
                                gss_any_t input) const;
 
-    void exportToBuffer(gss_buffer_t buffer) const;
-    bool initFromBuffer(const gss_eap_attr_ctx *ctx,
-                        const gss_buffer_t buffer);
+    const char *prefix(void) const;
+    const char *name(void) const;
+    bool initWithJsonObject(const gss_eap_attr_ctx *manager,
+                           json_t *obj);
+    json_t *jsonRepresentation(void) const;
 
     bool getAttribute(uint32_t attribute,
                       int *authenticated,