s3:winbindd: use wb_sids2xids instead of wb_sid2gid in winbindd_sid_to_gid
[kai/samba.git] / source3 / utils / interact.h
1 /* * Samba Unix/Linux SMB client library
2  *
3  * This program is free software; you can redistribute it and/or modify
4  * it under the terms of the GNU General Public License as published by
5  * the Free Software Foundation; either version 3 of the License, or
6  * (at your option) any later version.
7  *
8  * This program is distributed in the hope that it will be useful,
9  * but WITHOUT ANY WARRANTY; without even the implied warranty of
10  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11  * GNU General Public License for more details.
12  *
13  * You should have received a copy of the GNU General Public License
14  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
15  */
16
17 /**
18  * @brief Functions to interact with an user.
19  * @author Gregor Beck <gb@sernet.de>
20  * @date   Aug 2011
21  */
22
23 #ifndef __INTERACT_H
24 #define __INTERACT_H
25 #include <talloc.h>
26
27 char* interact_edit(TALLOC_CTX* mem_ctx, const char* str);
28 int interact_prompt(const char* msg, const char* accept, char def);
29
30
31
32 #endif /* __INTERACT_H */
33
34 /*Local Variables:*/
35 /*mode: c++*/
36 /*End:*/