Don't export xbps_get_remote_repo_string() to the API, it's only
used internally in the library. --HG-- extra : convert_revision : xtraeme%40gmail.com-20100123051334-8ndutg9gqfljff3p
This commit is contained in:
		| @@ -875,16 +875,9 @@ void xbps_repository_pool_release(void); | ||||
| int xbps_repository_sync_pkg_index(const char *uri); | ||||
|  | ||||
| /** | ||||
|  * Returns a malloc(3)ed string with the local directory name for | ||||
|  * the package cache directory pointing to a remote URI repository. | ||||
|  * | ||||
|  * @note The caller is responsible to free(3) the returned buffer, | ||||
|  * @param[in] uri URI to a remote repository. | ||||
|  * | ||||
|  * @return A buffer with the transformed string, NULL otherwise and | ||||
|  * errno is set appropiately. | ||||
|  * @private | ||||
|  */ | ||||
| char *xbps_get_remote_repo_string(const char *uri); | ||||
| char HIDDEN *xbps_get_remote_repo_string(const char *uri); | ||||
|  | ||||
| /*@}*/ | ||||
|  | ||||
|   | ||||
| @@ -37,9 +37,12 @@ | ||||
|  * @file lib/repository_sync_index.c | ||||
|  * @brief Repository package index synchronization routines | ||||
|  * @defgroup reposync Repository package index synchronization functions | ||||
|  * | ||||
|  * Functions to manipulate repository package index plist file | ||||
|  * synchronizations. | ||||
|  */ | ||||
|  | ||||
| char * | ||||
| char HIDDEN * | ||||
| xbps_get_remote_repo_string(const char *uri) | ||||
| { | ||||
| 	struct url *url; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user