UniMRCP  1.7.0
mrcp_verifier_resource.h
Go to the documentation of this file.
1 /*
2  * Copyright 2008-2015 Arsen Chaloyan
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 MRCP_VERIFIER_RESOURCE_H
18 #define MRCP_VERIFIER_RESOURCE_H
19 
20 /**
21  * @file mrcp_verifier_resource.h
22  * @brief MRCP Verifier Resource
23  */
24 
25 #include "mrcp_types.h"
26 
28 
29 /** MRCP verifier methods */
30 typedef enum {
31  VERIFIER_SET_PARAMS,
32  VERIFIER_GET_PARAMS,
33  VERIFIER_START_SESSION,
34  VERIFIER_END_SESSION,
35  VERIFIER_QUERY_VOICEPRINT,
36  VERIFIER_DELETE_VOICEPRINT,
37  VERIFIER_VERIFY,
38  VERIFIER_VERIFY_FROM_BUFFER,
39  VERIFIER_VERIFY_ROLLBACK,
40  VERIFIER_STOP,
41  VERIFIER_CLEAR_BUFFER,
42  VERIFIER_START_INPUT_TIMERS,
43  VERIFIER_GET_INTERMIDIATE_RESULT,
44 
45  VERIFIER_METHOD_COUNT
47 
48 /** MRCP verifier events */
49 typedef enum {
50  VERIFIER_START_OF_INPUT,
51  VERIFIER_VERIFICATION_COMPLETE,
52 
53  VERIFIER_EVENT_COUNT
55 
56 /** Create MRCP verifier resource */
58 
60 
61 #endif /* MRCP_VERIFIER_RESOURCE_H */
mrcp_verifier_event_id
Definition: mrcp_verifier_resource.h:49
#define MRCP_DECLARE(type)
Definition: mrcp.h:40
#define APT_END_EXTERN_C
Definition: apt.h:38
mrcp_verifier_method_id
Definition: mrcp_verifier_resource.h:30
mrcp_resource_t * mrcp_verifier_resource_create(apr_pool_t *pool)
#define APT_BEGIN_EXTERN_C
Definition: apt.h:36
Basic MRCP Types.
Definition: mrcp_resource.h:32