| RSA BSAFE Micro Edition Suite |
Streamlined security for mobile and embedded devices |
 
![]() |
00001 /* $Id: r_passwd.h,v 1.28 2005/04/05 02:23:21 jmckee Exp $ */
00002 /*
00003 * Copyright (C) 1998-2003 RSA Security Inc. All rights reserved.
00004 *
00005 * This work contains proprietary information of RSA Security.
00006 * Distribution is limited to authorized licensees of RSA
00007 * Security. Any unauthorized reproduction, distribution or
00008 * modification of this work is strictly prohibited.
00009 */
00015 #ifndef HEADER_COMMON_R_PASSWD_H
00016 #define HEADER_COMMON_R_PASSWD_H
00017
00018 #ifdef __cplusplus
00019 extern "C" {
00020 #endif
00021
00022 #include "r_com.h"
00023
00024 #ifndef HEADER_COMMON_R_PASSWD_H_TYPEDEF_DEF
00025 #define HEADER_COMMON_R_PASSWD_H_TYPEDEF_DEF
00026 typedef int R_CDECL R_PASSWD_CB_T(char *buf, int length, char *prompt, int verify);
00027 #endif /* HEADER_COMMON_R_PASSWD_H_TYPEDEF_DEF */
00028
00037 int R_CDECL R_passwd_stdin_cb(char *buf, int length, char *prompt, int verify);
00038
00052 int R_CDECL R_passwd_get_passwd(char *buf, int length, char *prompt, int verify);
00053
00054 int R_CDECL R_passwd_set_cb(R_PASSWD_CB_T *cb);
00055
00056 int R_CDECL R_passwd_get_cb(R_PASSWD_CB_T **cb);
00057
00062 #ifdef __cplusplus
00063 }
00064 #endif
00065 #endif /* HEADER_COMMON_R_PASSWD_H */
00066