From e92aade201ec131c3eb7430305f60a0a4c9c44c1 Mon Sep 17 00:00:00 2001 From: Tai Vuong Date: Thu, 2 Nov 2017 15:34:52 -0400 Subject: code fix after review and before merge --- src/ahl-policy-utils.h | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src/ahl-policy-utils.h') diff --git a/src/ahl-policy-utils.h b/src/ahl-policy-utils.h index 65b5432..3c20020 100755 --- a/src/ahl-policy-utils.h +++ b/src/ahl-policy-utils.h @@ -17,10 +17,7 @@ #ifndef AHL_POLICY_UTILS_INCLUDE #define AHL_POLICY_UTILS_INCLUDE -#define AFB_BINDING_VERSION 2 #include -#include -#include #define AHL_POLICY_ACCEPT 1 #define AHL_POLICY_REJECT 0 @@ -120,7 +117,6 @@ typedef enum EndpointSelectionMode { ENDPOINTSELMODEMAXVALUE, // Enum count, keep at the end } EndpointSelectionModeT; - typedef struct EndPointInterfaceInfo { endpointID_t endpointID; // Unique endpoint ID (per type) EndpointTypeT type; // Source or sink device @@ -137,7 +133,6 @@ typedef struct EndPointInterfaceInfo { json_object *pPropTableJ; //Property Table } EndPointInterfaceInfoT; - typedef struct StreamInterfaceInfo { streamID_t streamID; // Stream unique ID StreamStateT streamState; // Stream activity state @@ -151,7 +146,7 @@ typedef struct StreamInterfaceInfo { void Add_Endpoint_Property_Double( json_object * io_pPropertyArray, char * in_pPropertyName, double in_dPropertyValue); void Add_Endpoint_Property_Int( json_object * io_pPropertyArray, char * in_pPropertyName, int in_iPropertyValue); void Add_Endpoint_Property_String( json_object * io_pPropertyArray, char * in_pPropertyName, const char * in_pPropertyValue); -int EndpointToJSON(EndPointInterfaceInfoT * pEndpoint, json_object **ppEndpointJ); +int F(EndPointInterfaceInfoT * pEndpoint, json_object **ppEndpointJ); int JSONToEndpoint(json_object *pEndpointJ, EndPointInterfaceInfoT * pStream); int StreamToJSON(StreamInterfaceInfoT * pPolicyStream, json_object **ppStreamJ); int JSONToStream(json_object *pStreamJ, StreamInterfaceInfoT * pPolicyStream); -- cgit 1.2.3-korg