X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Flocal-def.h;h=c21918cd5aa30084bb59a62136a8792e5df6e7a2;hb=13549775092afa9215de8468e34f6d194c2fd8db;hp=3298322e1a39ff9c21a0debe891595dab5559ecc;hpb=efe18167d6ce59b263c179a6e2d01aa875c05cf8;p=src%2Fapp-framework-binder.git diff --git a/src/local-def.h b/src/local-def.h index 3298322e..c21918cd 100644 --- a/src/local-def.h +++ b/src/local-def.h @@ -40,22 +40,6 @@ #define DEFLT_HTTP_TIMEOUT 15 // Max MibMicroHttp timeout #define AFB_MAX_PLUGINS 20 // Max number of plugins for a given binder -#ifndef FALSE - #define FALSE 0 -#endif -#ifndef TRUE - #define TRUE 1 -#endif - -#define PUBLIC -#define STATIC static -#define FAILED -1 - -#define AUDIO_BUFFER "/tmp/buf" - -// prebuild json error are constructed in helper-api.c -typedef enum { AFB_FALSE, AFB_TRUE, AFB_FATAL, AFB_FAIL, AFB_WARNING, AFB_EMPTY, AFB_SUCCESS, AFB_DONE, AFB_UNAUTH} AFB_error; - #define MAX_POST_SIZE 4096 // maximum size for POST data #define CTX_NBCLIENTS 10 // allow a default of 10 authenticated clients @@ -63,11 +47,6 @@ typedef enum { AFB_FALSE, AFB_TRUE, AFB_FATAL, AFB_FAIL, AFB_WARNING, AFB_EMPTY - - - - - enum AFB_Mode; @@ -133,6 +112,4 @@ struct AFB_session typedef struct AFB_config AFB_config; typedef struct AFB_session AFB_session; -#include "proto-def.h" - #endif /* LOCAL_DEF_H */