libopkg: remove internal dependency on libopkg.h and opkg_cmd.h
[oweals/opkg-lede.git] / libopkg / user.h
1 /* user.c - the itsy package management system
2
3    Jamey Hicks
4
5    Copyright (C) 2002 Hewlett Packard Company
6    Copyright (C) 2001 University of Southern California
7
8    This program is free software; you can redistribute it and/or
9    modify it under the terms of the GNU General Public License as
10    published by the Free Software Foundation; either version 2, or (at
11    your option) any later version.
12
13    This program is distributed in the hope that it will be useful, but
14    WITHOUT ANY WARRANTY; without even the implied warranty of
15    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
16    General Public License for more details.
17 */
18
19 #include <stdio.h>
20 #include <stdarg.h>
21
22 typedef char* (*opkg_response_callback)(char *question);
23 char *get_user_response(const char *format, ...);
24