Some more cleanups for previous.
--HG-- extra : convert_revision : 4750989fdc6494eb2593a3782035289200fbea15
This commit is contained in:
parent
3a52668aed
commit
0f44fd7f72
|
@ -30,8 +30,9 @@
|
|||
#ifndef _XBPS_FEXEC_H_
|
||||
#define _XBPS_FEXEC_H_
|
||||
|
||||
/* From lib/fexec.c */
|
||||
int xbps_file_exec(const char *, ...);
|
||||
int xbps_file_exec_skipempty(const char *, ...);
|
||||
int xbps_file_chdir_exec(const char *, const char *, ...);
|
||||
|
||||
#endif
|
||||
#endif /* !_XBPS_FEXEC_H_ */
|
||||
|
|
|
@ -28,8 +28,8 @@
|
|||
* POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#ifndef _HUMANIZE_NUMBER_H_
|
||||
#define _HUMANIZE_NUMBER_H_
|
||||
#ifndef _XBPS_HUMANIZE_NUMBER_H_
|
||||
#define _XBPS_HUMANIZE_NUMBER_H_
|
||||
|
||||
#define HN_DECIMAL 0x01
|
||||
#define HN_NOSPACE 0x02
|
||||
|
@ -38,6 +38,7 @@
|
|||
#define HN_GETSCALE 0x10
|
||||
#define HN_AUTOSCALE 0x20
|
||||
|
||||
/* From lib/humanize_number.c */
|
||||
int xbps_humanize_number(char *, size_t, int64_t, const char *, int, int);
|
||||
|
||||
#endif
|
||||
#endif /* !_XBPS_HUMANIZE_NUMBER_H_ */
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
#ifndef _XBPS_PLIST_H_
|
||||
#define _XBPS_PLIST_H_
|
||||
|
||||
/* From lib/plist.c */
|
||||
bool xbps_add_obj_to_dict(prop_dictionary_t, prop_object_t, const char *);
|
||||
bool xbps_add_obj_to_array(prop_array_t, prop_object_t);
|
||||
|
||||
|
@ -98,13 +99,4 @@ xbps_get_array_iter_from_dict(prop_dictionary_t, const char *);
|
|||
bool
|
||||
xbps_remove_pkg_dict_from_file(const char *, const char *);
|
||||
|
||||
/* Utils */
|
||||
int xbps_install_pkg_deps(prop_dictionary_t);
|
||||
int xbps_install_binary_pkg(const char *, const char *);
|
||||
int xbps_install_binary_pkg_from_repolist(prop_object_t, void *, bool *);
|
||||
int xbps_register_pkg(const char *, const char *, const char *);
|
||||
int xbps_unpack_binary_pkg(prop_dictionary_t, prop_dictionary_t,
|
||||
int (*cb)(struct archive *, prop_dictionary_t));
|
||||
int xbps_unpack_archive_cb(struct archive *, prop_dictionary_t);
|
||||
|
||||
#endif /* !_XBPS_PLIST_H_ */
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
#ifndef _XBPS_REMOVE_H_
|
||||
#define _XBPS_REMOVE_H_
|
||||
|
||||
/* From lib/remove.c */
|
||||
int xbps_remove_binary_pkg(const char *, const char *);
|
||||
int xbps_unregister_pkg(const char *);
|
||||
|
||||
|
|
|
@ -26,6 +26,8 @@
|
|||
#ifndef _XBPS_REPOSITORY_H_
|
||||
#define _XBPS_REPOSITORY_H_
|
||||
|
||||
/* From lib/remove.c */
|
||||
|
||||
/*
|
||||
* (Un)registers a repository specified by an URI from/into the pool.
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue