Initial release for Tizen
[platform/upstream/ecryptfs-utils.git] / src / utils / io.h
1 /**
2  * Copyright (C) 2006 International Business Machines
3  * Author(s): Michael C Thompson <mcthomps@us.ibm.com>
4  *
5  * I/O functions for mount helper header file
6  *
7  * This program is free software; you can redistribute it and/or
8  * modify it under the terms of the GNU General Public License as
9  * published by the Free Software Foundation; either version 2 of the
10  * License, or (at your option) any later version.
11  *
12  * This program is distributed in the hope that it will be useful, but
13  * WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
15  * General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with this program; if not, write to the Free Software
19  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
20  * 02111-1307, USA.
21  */
22
23 #include "ecryptfs.h"
24
25 int main_menu(uint32_t version);
26 int manager_menu(void);
27 int read_passphrase_salt(char *pass, char *salt);
28 int get_string_stdin(char **val, char *prompt, int echo);
29 int ecryptfs_select_key_mod(struct ecryptfs_key_mod **key_mod,
30                             struct ecryptfs_ctx *ctx);
31
32 int mygetchar();