func for each session in this.
The result value of
func determines what happens to the session.
func will be called with the session pool locked so
no further actions on this can be performed from
func returns REMOVE, the
session will be set to the expired state and removed from this.
func returns KEEP, the session
will remain in this.
func returns REF, the session
will remain in this but will also be added with an additional ref to the result GList of this function..
func is null,
REF will be assumed for all sessions.
user data passed to
a GList with all sessions for which