Revert "Drop unused function subid_init()"
As rbalint points out, this was an exported fn.  It also is
the only way for a libsubid user to do what it does, so let's
not drop it.
This reverts commit 477c8e6f42.
			
			
This commit is contained in:
		@@ -39,6 +39,22 @@ enum subid_status {
 | 
			
		||||
extern "C" {
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/*
 | 
			
		||||
 * subid_init: initialize libsubid
 | 
			
		||||
 *
 | 
			
		||||
 * @progname: Name to display as program.  If NULL, then "(libsubid)" will be
 | 
			
		||||
 *            shown in error messages.
 | 
			
		||||
 * @logfd:    Open file pointer to pass error messages to.  If NULL, then
 | 
			
		||||
 *            /dev/null will be opened and messages will be sent there.  The
 | 
			
		||||
 *            default if libsubid_init() is not called is stderr (2).
 | 
			
		||||
 *
 | 
			
		||||
 * This function does not need to be called.  If not called, then the defaults
 | 
			
		||||
 * will be used.
 | 
			
		||||
 *
 | 
			
		||||
 * Returns false if an error occurred.
 | 
			
		||||
 */
 | 
			
		||||
bool subid_init(const char *progname, FILE *logfd);
 | 
			
		||||
 | 
			
		||||
/*
 | 
			
		||||
 * subid_get_uid_ranges: return a list of UID ranges for a user
 | 
			
		||||
 *
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user