gchar* afdal_event_source_arm_signal gchar *  signal_basename,
GSourceFunc  func
 

Arms and associate the given signal name with the given GSourceFunc.

This function simplifies the use of AfDal Event Source module , generating automatically an unique event_name associated with callback func.

Parameters:
signal_basename The base name to be used for the new signal.
func GSourceFunc to be executed when signal is emited.
Returns:
The signal name create for the event source created.