Simplify xbps_{un,}register_repository().

--HG--
extra : convert_revision : 95ac1ddedbc96fe3bf2a9dfe282c20385c8740ff
This commit is contained in:
Juan RP
2009-04-04 18:05:18 +02:00
parent ba56172222
commit f5dd58df5d
3 changed files with 54 additions and 120 deletions

View File

@@ -34,11 +34,9 @@
* Arguments:
* - const char *: URI to (un)register.
*
* Returns true on success, or false and an appropiate errno value otherwise.
* Returns 0 on success, or an appropiate value otherwise.
*/
bool xbps_register_repository(const char *);
bool xbps_unregister_repository(const char *);
int xbps_remove_string_from_array(prop_object_t, void *, bool *);
int xbps_register_repository(const char *);
int xbps_unregister_repository(const char *);
#endif /* !_XBPS_REPOSITORY_H_ */