Added SILC Thread Queue API
[silc.git] / lib / silcutil / silcstream.c
index 7b8b08af36bc39ed014b98c59a952a2711261d77..af4789dfeeb495054b71c3f72137a55038b91ba9 100644 (file)
@@ -49,11 +49,11 @@ void silc_stream_destroy(SilcStream stream)
   h->ops->destroy(stream);
 }
 
-void silc_stream_set_notifier(SilcStream stream, SilcSchedule schedule,
-                             SilcStreamNotifier notifier, void *context)
+SilcBool silc_stream_set_notifier(SilcStream stream, SilcSchedule schedule,
+                                 SilcStreamNotifier notifier, void *context)
 {
   SilcStreamHeader h = stream;
-  h->ops->notifier(stream, schedule, notifier, context);
+  return h->ops->notifier(stream, schedule, notifier, context);
 }
 
 SilcSchedule silc_stream_get_schedule(SilcStream stream)