Two Handlerfunctions with one select_attach()

Hi

I would like to attach my Client two times to the same device
(filedescriptor) of my Server with select_attach().
But I would like to attach two different handlerfunktions in my client
(cause the client should do 2 different things) when an event occures.

Is it possible to do this or do I get problems when attaching two
different functions to one device?

Best regards
Dieter