Revision 0cb8677a include/net_helper.h

View differences:

include/net_helper.h
93 93
* Check if some data arrived for a given nodeID. It sets a timeout to return at most after a given time.
94 94
* @param[in] n A pointer to the nodeID representing the caller.
95 95
* @param[in] tout A pointer to a timer to be used to set the waiting timeout.
96
* @param[in] user_fds A pointer to a set of FDs to be monitored.
96
* @param[in] user_fds A "-1 terminated" array of FDs to be monitored.
97 97
* @return 1 if some data has arrived, 0 otherwise.
98 98
*/
99
int wait4data(const struct nodeID *n, struct timeval *tout, fd_set *user_fds);
99
int wait4data(const struct nodeID *n, struct timeval *tout, int *user_fds);
100 100

  
101 101
/**
102 102
* @brief Give a string representation of a nodeID.

Also available in: Unified diff