2 * Copyright 2012 Samsung Electronics Co., Ltd
\r
4 * Licensed under the Flora License, Version 1.1 (the License);
\r
5 * you may not use this file except in compliance with the License.
\r
6 * You may obtain a copy of the License at
\r
8 * http://floralicense.org/license/
\r
10 * Unless required by applicable law or agreed to in writing, software
\r
11 * distributed under the License is distributed on an AS IS BASIS,
\r
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
\r
13 * See the License for the specific language governing permissions and
\r
14 * limitations under the License.
\r
17 #ifndef __PASSWORD_VERIFICATION_H__
\r
18 #define __PASSWORD_VERIFICATION_H__
\r
20 typedef void (*password_operation_cb) (const char *event, void *data);
\r
22 void *password_verification_policy_create();
\r
23 void password_verification_policy_destroy(void *data);
\r
24 void password_verification_verify(void *data, const char *password);
\r
25 void password_verification_callback_set(void *data, password_operation_cb callback, void *priv);
\r