#endif
#endif
+#include "gnunet_util_lib.h"
+
/**
* Process recorded audio data.
*
* @param cls clsoure
* @param rdc function to call with recorded data
* @param rdc_cls closure for @a dc
+ * @return #GNUNET_OK on success, #GNUNET_SYSERR on error
*/
-typedef void (*GNUNET_MICROPHONE_EnableCallback)(void *cls,
- GNUNET_MICROPHONE_RecordedDataCallback rdc,
- void *rdc_cls);
+typedef int (*GNUNET_MICROPHONE_EnableCallback)(void *cls,
+ GNUNET_MICROPHONE_RecordedDataCallback rdc,
+ void *rdc_cls);
/**
* Function that disables a microphone.