# HG changeset patch # User Christian Hammond # Date 1061451467 0 # Node ID d01ba50e3f3ea1879deae985d6aebe858d2979d5 # Parent adf168f002ad8eed37cf0adb3ed43567c3d9a14e [gaim-migrate @ 7070] And the .h file is good too. Some people may want it. committer: Tailor Script diff -r adf168f002ad -r d01ba50e3f3e src/signals.h --- a/src/signals.h Thu Aug 21 07:37:30 2003 +0000 +++ b/src/signals.h Thu Aug 21 07:37:47 2003 +0000 @@ -135,6 +135,28 @@ void *handle, GaimCallback func, void *data); /** + * Connects a signal handler to a signal for a particular object. + * + * The signal handler will take a va_args of arguments, instead of + * individual arguments. + * + * Take care not to register a handler function twice. Gaim will + * not correct any mistakes for you in this area. + * + * @param instance The instance to connect to. + * @param signal The name of the signal to connect. + * @param handle The handle of the receiver. + * @param func The callback function. + * @param data The data to pass to the callback function. + * + * @return The signal handler ID. + * + * @see gaim_signal_disconnect() + */ +gulong gaim_signal_connect_vargs(void *instance, const char *signal, + void *handle, GaimCallback func, void *data); + +/** * Disconnects a signal handler from a signal on an object. * * @param instance The instance to disconnect from.