summaryrefslogtreecommitdiff
path: root/SDL_Core/src/components/JSONHandler/src/SDLRPCObjectsImpl/V2/PermissionStatusMarshaller.gp
diff options
context:
space:
mode:
Diffstat (limited to 'SDL_Core/src/components/JSONHandler/src/SDLRPCObjectsImpl/V2/PermissionStatusMarshaller.gp')
-rw-r--r--SDL_Core/src/components/JSONHandler/src/SDLRPCObjectsImpl/V2/PermissionStatusMarshaller.gp20
1 files changed, 20 insertions, 0 deletions
diff --git a/SDL_Core/src/components/JSONHandler/src/SDLRPCObjectsImpl/V2/PermissionStatusMarshaller.gp b/SDL_Core/src/components/JSONHandler/src/SDLRPCObjectsImpl/V2/PermissionStatusMarshaller.gp
new file mode 100644
index 000000000..162260ec4
--- /dev/null
+++ b/SDL_Core/src/components/JSONHandler/src/SDLRPCObjectsImpl/V2/PermissionStatusMarshaller.gp
@@ -0,0 +1,20 @@
+%language=C++
+%struct-type
+%define lookup-function-name getPointer
+%define class-name PermissionStatus_intHash
+%omit-struct-type
+%readonly-tables
+%compare-strncmp
+%compare-lengths
+
+struct NsSmartDeviceLinkRPCV2::PerfectHashTable
+{
+ const char *name;
+ unsigned int idx;
+};
+
+%%
+ALLOWED,0
+DISALLOWED,1
+USER_DISALLOWED,2
+USER_CONSENT_PENDING,3