gp: Fix startup scripts add not always set runonce
[Samba.git] / source3 / utils / interact.h
blobc719d0990014ee9f91a60935d27ac3f8c3b453d8
1 /* * Samba Unix/Linux SMB client library
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.
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.
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/>.
17 /**
18 * @brief Functions to interact with an user.
19 * @author Gregor Beck <gb@sernet.de>
20 * @date Aug 2011
23 #ifndef __INTERACT_H
24 #define __INTERACT_H
25 #include <talloc.h>
27 char* interact_edit(TALLOC_CTX* mem_ctx, const char* str);
28 int interact_prompt(const char* msg, const char* accept, char def);
32 #endif /* __INTERACT_H */
34 /*Local Variables:*/
35 /*mode: c++*/
36 /*End:*/