* limitations under the License.
*/
+#if WITH_LEGACY_BINDING_V2 && WITH_DYNAMIC_BINDING
+
#define _GNU_SOURCE
#include <stdlib.h>
g = json_object_new_object();
json_object_object_add(f, "get", g);
- a = afb_auth_json_v2(verb->auth, verb->session);
+ a = afb_auth_json_x2(verb->auth, verb->session);
if (a)
json_object_object_add(g, "x-permissions", a);
return -1;
}
+#endif