mirror of
				https://github.com/PowerShell/Win32-OpenSSH.git
				synced 2025-10-24 17:24:01 +02:00 
			
		
		
		
	3-6 C5
This commit is contained in:
		
							parent
							
								
									dd1402f68a
								
							
						
					
					
						commit
						d6f5485283
					
				| @ -97,6 +97,14 @@ typedef void(*sighandler_t)(int); | ||||
|  * these should move to a internal header. | ||||
|  */ | ||||
| int w32_temp_DelChildToWatch(HANDLE processtowatch); | ||||
| int w32_temp_AddChildToWatch(HANDLE processtowatch); | ||||
| HANDLE w32_fd_to_handle(int fd); | ||||
| int w32_allocate_fd_for_handle(HANDLE h); | ||||
| 
 | ||||
| /* temporary definitions to aid in transition */ | ||||
| #define WSHELPDelChildToWatch w32_temp_DelChildToWatch | ||||
| #define WSHELPAddChildToWatch w32_temp_AddChildToWatch | ||||
| #define sfd_to_handle w32_fd_to_handle | ||||
| #define allocate_sfd w32_allocate_fd_for_handle | ||||
| #define WSHELPwopen w32_open | ||||
| 
 | ||||
|  | ||||
| @ -603,6 +603,10 @@ w32_temp_DelChildToWatch(HANDLE processtowatch) { | ||||
| 	return 0; | ||||
| } | ||||
| 
 | ||||
| int w32_temp_AddChildToWatch(HANDLE processtowatch) { | ||||
|     return 0; | ||||
| } | ||||
| 
 | ||||
| HANDLE  | ||||
| w32_fd_to_handle(int fd) { | ||||
| 	return fd_table.w32_ios[fd]->handle; | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user