Add some funcs from pacman: question(), yesno(), noyes() and strtrim().

--HG--
extra : convert_revision : 82fbbd28253b02968826bebe4252523c47903a49
This commit is contained in:
Juan RP 2009-04-09 04:52:46 +02:00
parent f80e1753a8
commit aaf5f8fb40
2 changed files with 87 additions and 0 deletions

View file

@ -149,6 +149,8 @@ void xbps_set_rootdir(const char *);
const char * xbps_get_rootdir(void);
void xbps_set_flags(int);
int xbps_get_flags(void);
bool xbps_yesno(const char *, ...);
bool xbps_noyes(const char *, ...);
/* From lib/orphans.c */
prop_array_t xbps_find_orphan_packages(void);