This commit is contained in:
manojampalam 2016-03-06 13:26:09 -08:00
parent dd1402f68a
commit d6f5485283
2 changed files with 12 additions and 0 deletions

View File

@ -97,6 +97,14 @@ typedef void(*sighandler_t)(int);
* these should move to a internal header. * these should move to a internal header.
*/ */
int w32_temp_DelChildToWatch(HANDLE processtowatch); int w32_temp_DelChildToWatch(HANDLE processtowatch);
int w32_temp_AddChildToWatch(HANDLE processtowatch);
HANDLE w32_fd_to_handle(int fd); HANDLE w32_fd_to_handle(int fd);
int w32_allocate_fd_for_handle(HANDLE h); 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

View File

@ -603,6 +603,10 @@ w32_temp_DelChildToWatch(HANDLE processtowatch) {
return 0; return 0;
} }
int w32_temp_AddChildToWatch(HANDLE processtowatch) {
return 0;
}
HANDLE HANDLE
w32_fd_to_handle(int fd) { w32_fd_to_handle(int fd) {
return fd_table.w32_ios[fd]->handle; return fd_table.w32_ios[fd]->handle;