| /****************************************************************************** |
| *(C) Copyright 2011 Marvell International Ltd. |
| * All Rights Reserved |
| ******************************************************************************/ |
| /*-------------------------------------------------------------------------------------------------------------------- |
| * ------------------------------------------------------------------------------------------------------------------- |
| * |
| * Filename: server_api.h |
| * |
| * Description: The APIs to handle connection between diag and other processes. |
| * |
| * History: |
| * Aug, 13 2012 - Haili Wang(hlw@marvell.com) Creation of file |
| * |
| * Notes: |
| * |
| ******************************************************************************/ |
| |
| #ifndef _DIAG_SD_API_INCLUDED |
| #define _DIAG_SD_API_INCLUDED |
| |
| int openServer(void); |
| void closeServer(void); |
| int SendClientData(int client,UINT8 * data, int len); |
| void diagDispatchService(DIAG_COM_RX_Packet_Info* dataExtIf, UINT16 len); |
| |
| #endif |
| |