1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
%language=C++ %struct-type %define lookup-function-name getPointer %define class-name TBTState_intHash %omit-struct-type %readonly-tables %compare-strncmp %compare-lengths struct NsSmartDeviceLinkRPC::PerfectHashTable { const char *name; unsigned int idx; }; %% ROUTE_UPDATE_REQUEST,0 ROUTE_ACCEPTED,1 ROUTE_REFUSED,2 ROUTE_CANCELLED,3