+ }
+}
+/**************************************************************************** **
+ The main select loop.
+ **************************************************************************** */
+
+static void process(struct messaging_context *msg)
+{
+ struct tevent_timer *te = NULL;
+
+static void nmbd_periodic_timer_event(struct tevent_context *ev,
+ struct tevent_timer *te,
+ struct timeval current_time,
+ void *private_data);
+ te = tevent_add_timer(nmbd_event_context(),
+ msg,
+ timeval_current(),
+ nmbd_periodic_timer_event,
+ NULL);
+ if (te == NULL) {
+
+ }
+
+ while( True ) {
+ time_t t = time(NULL);
+ TALLOC_CTX *frame = talloc_stackframe();