X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=include%2Flocal-def.h;h=22a3608b5b3e37c65ebd8788e1ece2d03170184e;hb=6d575b22b86ebfac5e2b4c9d672f45805a5b63ce;hp=8f297c53e2b9639f50a23cd61a9acf7aff48ba0a;hpb=5472e85501418302959040eacb819c57f849d63e;p=src%2Fapp-framework-binder.git diff --git a/include/local-def.h b/include/local-def.h index 8f297c53..22a3608b 100644 --- a/include/local-def.h +++ b/include/local-def.h @@ -111,7 +111,8 @@ typedef enum {AFB_POST_NONE=0, AFB_POST_JSON, AFB_POST_FORM} AFB_PostType; typedef struct { int fd; char *path; - json_object* jerror; + int errcode; + json_object* jresp; } AFB_PostCtx; typedef struct { @@ -260,6 +261,7 @@ typedef struct { int fakemod; // respond to GET/POST request without interacting with sndboard int forceexit; // when autoconfig from script force exit before starting server AFB_plugin **plugins; // pointer to REST/API plugins + int pluginCount; // loaded plugins count magic_t magic; // Mime type file magic lib sigjmp_buf restartCkpt; // context save for restart set/longjmp } AFB_session;