kb_machblue_client_task.h
上传用户:fy98168
上传日期:2015-06-26
资源大小:13771k
文件大小:1k
- //*****************************************************************************
- //FileName:kb_machblue_client_task.h
- //
- //Description:Machblue client task.
- //
- //Author:steven
- //
- //Date: 2007.03.17
- //
- //Version: v1.0
- //*****************************************************************************
- #ifndef KB_MACHBLUE_CLIENT_TASK_H
- #define KB_MACHBLUE_CLIENT_TASK_H
- #include "osp.h"
- #include "machblue_defines.h"
- typedef struct kb_movie_msg_s
- {
- KB_OSPMsgNode msg;
- BOOL used;
- }kb_movie_msg_t;
- typedef enum
- {
- KB_MOVIE_KEY_REQUEST,
- KB_MOVIE_LC_TO_CCODE,
- KB_MOVIE_LC_TO_MOVIE,
- KB_MOVIE_SCHEDULE_CREATE,
- KB_MOVIE_PROMPT_TO_MOVIE,
- KB_MOVIE_CA_INFORM_TO_MOVIE,
- KB_MOVIE_NVOD_TO_MOVIE,
- KB_CLIENT_FRE_SWITCH
- }kb_machblue_client_event;
- /**
- * init machblue client task
- * @return MB_SUCCESS, MB_FAILURE otherwise.
- */
- extern mb_error_t kb_machblue_task_init(void);
- /**
- * machblue client task post
- * send message to client task
- *
- * key < key value from remote >
- *
- * @return MB_SUCCESS, MB_FAILURE otherwise.
- */
- extern mb_error_t kb_machblue_task_post(KB_OSPMsgNode *msg);
- /**
- * machblue client task wait
- * wait message whic sent to client task
- *
- * pMsg < buffer which storage client msg information >
- *
- * @return MB_SUCCESS, MB_FAILURE otherwise.
- */
- extern mb_error_t kb_machblue_task_wait(KB_OSPMsgNode *pMsg);
- #endif