Home | History | Annotate | Download | only in hdr
      1 /*
      2  * Copyright (C) 2014 The Android Open Source Project
      3  *
      4  * Licensed under the Apache License, Version 2.0 (the "License");
      5  * you may not use this file except in compliance with the License.
      6  * You may obtain a copy of the License at
      7  *
      8  *      http://www.apache.org/licenses/LICENSE-2.0
      9  *
     10  * Unless required by applicable law or agreed to in writing, software
     11  * distributed under the License is distributed on an "AS IS" BASIS,
     12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     13  * See the License for the specific language governing permissions and
     14  * limitations under the License.
     15  */
     16 
     17 #ifndef XPL_PORT_H
     18 #define XPL_PORT_H
     19 
     20 /************** HEADER FILE INCLUDES *****************************************/
     21 
     22 #include "xpl_Types.h"
     23 
     24 /************** STRUCTURES, ENUMS, AND TYPEDEFS ******************************/
     25 
     26 enum {
     27   XPL_PORT_DM = 0,     /* Device management APPs */
     28   XPL_PORT_DM_TASK     /* Device management task port is used for async API messaging only */
     29 };
     30 typedef UINT8 XPL_PORT_T;
     31 
     32 enum {
     33   XPL_LOG_PORT_DM_FIRST = 0,
     34   XPL_LOG_PORT_DM_API   = XPL_LOG_PORT_DM_FIRST,  /* Log DM API */
     35   XPL_LOG_PORT_DM_TMN,                            /* Log Tree management */
     36   XPL_LOG_PORT_DM_PLG,                            /* Log Plugin */
     37   XPL_LOG_PORT_DM_SESS,                           /* Log Session */
     38   XPL_LOG_PORT_DM_CONN,                           /* Log Connectivity */
     39   XPL_LOG_PORT_DM_XPL,                            /* Log Portlib */
     40   XPL_LOG_PORT_DM_CP,                             /* Client provisioning */
     41 
     42   /* DM: Insert new log ports here */
     43 
     44   XPL_LOG_PORT_DM_LAST
     45 
     46 };
     47 
     48 typedef UINT8 XPL_LOGS_PORT_T;
     49 
     50 #endif /* XPL_PORT_H */
     51