boost and c function pointers

Hello all,
I'm not sure if this is possible at all, but let me explain:
I have the following function signature:
typedef int (*sasl_callback_ft)(void);
That function in question gets called with unknown amount of parameters
(usually 3 or 4)
Now I want to assign a member function to it:
class admin {
public:
int callback_fun(void *context, int id, const char **result,
unsigned *len);
}
boost::function
participants (1)
-
Matthijs Möhlmann