2016-03-27 17:56:02 +00:00
|
|
|
/******************************************************************************
|
|
|
|
*
|
|
|
|
* Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved.
|
2017-04-07 11:39:45 +00:00
|
|
|
*
|
2016-03-27 17:56:02 +00:00
|
|
|
* This program is free software; you can redistribute it and/or modify it
|
|
|
|
* under the terms of version 2 of the GNU General Public License as
|
|
|
|
* published by the Free Software Foundation.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful, but WITHOUT
|
|
|
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
|
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
|
|
|
* more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License along with
|
|
|
|
* this program; if not, write to the Free Software Foundation, Inc.,
|
|
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA
|
|
|
|
*
|
|
|
|
*
|
|
|
|
******************************************************************************/
|
|
|
|
#ifndef __CMD_OSDEP_H_
|
|
|
|
#define __CMD_OSDEP_H_
|
|
|
|
|
|
|
|
|
2017-04-07 11:39:45 +00:00
|
|
|
extern sint _rtw_init_cmd_priv(struct cmd_priv *pcmdpriv);
|
2016-03-27 17:56:02 +00:00
|
|
|
extern sint _rtw_init_evt_priv(struct evt_priv *pevtpriv);
|
2017-04-07 11:39:45 +00:00
|
|
|
extern void _rtw_free_evt_priv(struct evt_priv *pevtpriv);
|
|
|
|
extern void _rtw_free_cmd_priv(struct cmd_priv *pcmdpriv);
|
|
|
|
extern sint _rtw_enqueue_cmd(_queue *queue, struct cmd_obj *obj, bool to_head);
|
|
|
|
extern struct cmd_obj *_rtw_dequeue_cmd(_queue *queue);
|
2016-03-27 17:56:02 +00:00
|
|
|
|
|
|
|
#endif
|