Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
arr2036 committed Nov 27, 2016
1 parent 0f7f176 commit d482842
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions src/lib/event.c
Original file line number Diff line number Diff line change
Expand Up @@ -65,24 +65,25 @@ typedef struct fr_event_fd_t {
*
*/
struct fr_event_list_t {
fr_heap_t *times; //!< of events to be executed.
fr_heap_t *times; //!< of timer events to be executed.
rbtree_t *fds; //!< Tree used to track FDs with filters in kqueue.

int exit;

void *status_ctx; //!< context for status function

fr_event_status_t status; //!< Function to call on each iteration of the event loop.
void *status_ctx; //!< Context for status function.

struct timeval now; //!< The last time the event list was serviced.
bool dispatch; //!< Whether the event list is currently dispatching events.

int num_fds; //!< Number of FDs listened to by this event list.
int num_fd_events; //!< Number of events in this event list
int num_fd_events; //!< Number of events in this event list.

int kq; //!< instance association with this event list.
int kq; //!< instance associated with this event list.

fr_event_user_handler_t user; //!< callback for EVFILT_USER events
void *user_ctx; //!< context pointer to pass to the user callback
void *user_ctx; //!< Context pointer to pass to the user callback.

struct kevent events[FR_EV_BATCH_FDS]; /* so it doesn't go on the stack every time */
};
Expand Down

0 comments on commit d482842

Please sign in to comment.