Files
MaxScale/include/maxscale
Markus Mäkelä 613b924f2e Add listener iterator
The listener iterator hides the details of the listener iteration behind a
small set of functions.

The following for-loop demonstrates the main use-case for the iterator:

    LISTENER_ITERATOR iter;

    for (SERV_LISTENER *listener = listener_iterator_init(service, &iter);
         listener; listener = listener_iterator_next(&iter))
    {
        /** Do something with the listener */
    }

As the listeners are mostly iterated to either check a fact about them or
print their information, the functions cater to that use-case. For this
reason, they should always be allocated off the stack.
2017-05-09 15:32:42 +03:00
..
2017-02-14 21:42:28 +02:00
2017-05-09 15:28:04 +03:00
2017-03-31 14:12:02 +03:00
2017-02-14 21:42:28 +02:00
2017-03-27 09:49:21 +02:00
2017-02-20 17:44:22 +02:00
2017-02-14 21:42:28 +02:00
2017-05-02 10:29:55 +03:00
2017-02-15 08:44:55 +02:00
2017-02-14 21:42:28 +02:00
2017-03-24 09:21:20 +02:00
2017-02-14 21:42:28 +02:00
2017-02-14 21:42:28 +02:00
2017-02-14 21:42:28 +02:00
2017-05-09 15:32:42 +03:00
2017-02-14 21:42:28 +02:00
2017-02-14 21:42:28 +02:00
2017-02-14 21:42:28 +02:00
2017-02-14 21:42:28 +02:00
2017-02-14 21:42:28 +02:00
2017-02-14 21:42:28 +02:00
2017-02-14 21:42:28 +02:00
2017-04-20 13:51:16 +03:00
2017-04-20 13:51:16 +03:00
2017-02-14 21:42:28 +02:00
2017-02-14 21:42:28 +02:00
2017-02-14 21:42:28 +02:00
2017-02-15 08:44:55 +02:00
2017-02-14 21:42:28 +02:00
2017-02-14 21:42:28 +02:00
2017-02-14 21:42:28 +02:00
2017-02-14 21:42:28 +02:00
2017-03-21 15:19:10 +02:00
2017-02-14 21:42:28 +02:00
2017-03-13 10:45:51 +02:00
2017-02-14 21:42:28 +02:00
2017-02-14 21:42:28 +02:00
2017-02-14 21:42:28 +02:00
2017-03-09 10:01:38 +02:00
2017-05-09 15:32:42 +03:00