-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinfo_reply.c
98 lines (80 loc) · 2.5 KB
/
info_reply.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
/*
* Copyright (c) 2013 Wei-Lun Hsu. All Rights Reserved.
*/
/** @file media_player_err.h
*
* @author Wei-Lun Hsu
* @version 0.1
* @date 2013/08/03
* @license
* @description
*/
#include "info_reply.h"
#include "media_player_def.h"
//=============================================================================
// Constant Definition
//=============================================================================
//=============================================================================
// Macro Definition
//=============================================================================
//=============================================================================
// Structure Definition
//=============================================================================
typedef struct INFO_REPLY_T
{
INFOREPLY_HANDLE hInforeply;
}INFO_REPLY;
//=============================================================================
// Global Data Definition
//=============================================================================
//=============================================================================
// Private Function Definition
//=============================================================================
//=============================================================================
// Public Function Definition
//=============================================================================
IMP_ERR
inforeply_CreateHandle(
INFOREPLY_HANDLE **ppHInforeply,
void *extraData)
{
IMP_ERR result = IMP_ERR_OK;
do{
INFO_REPLY *pInforeply = 0;
if( *ppHInforeply != 0 )
{
imp_msg_ex(IMP_MSG_ERR, "error, Exist inforeply handle !!");
result = IMP_INVALID_PARAMETER;
break;
}
//----------------------
(*ppHInforeply) = &pInforeply->hInforeply;
}while(0);
if( result != IMP_ERR_OK )
{
imp_msg_ex(IMP_MSG_ERR, "err 0x%x !", result);
}
return result;
}
IMP_ERR
inforeply_DestroyHandle(
INFOREPLY_HANDLE **ppHInforeply,
void *extraData)
{
IMP_ERR result = IMP_ERR_OK;
return result;
}
/*
IMP_ERR
inforeply_tamplete(
INFOREPLY_HANDLE *pHInforeply,
void *extraData)
{
IMP_ERR result = IMP_ERR_OK;
if( result != IMP_ERR_OK )
{
imp_msg_ex(IMP_MSG_ERR, "err 0x%x !", result);
}
return result;
}
*/