Add some funcs from pacman: question(), yesno(), noyes() and strtrim().
--HG-- extra : convert_revision : 82fbbd28253b02968826bebe4252523c47903a49
This commit is contained in:
parent
f80e1753a8
commit
aaf5f8fb40
2 changed files with 87 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue