X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Scheduler%2FScheduler.cti;h=aff6271732af3790a72cb98d849b131fdb643be8;hb=925317c7f45c32b01ab9292023db3f372b74bf0f;hp=c5871e5ede1be9bd08ce503aa527828a0b7c7524;hpb=f73fa16ed5abdce272ac77f8b8b9ef2b9922c266;p=senf.git diff --git a/Scheduler/Scheduler.cti b/Scheduler/Scheduler.cti index c5871e5..aff6271 100644 --- a/Scheduler/Scheduler.cti +++ b/Scheduler/Scheduler.cti @@ -1,8 +1,8 @@ // $Id$ // // Copyright (C) 2006 -// Fraunhofer Institute for Open Communication Systems (FOKUS) -// Competence Center NETwork research (NET), St. Augustin, GERMANY +// Fraunhofer Institute for Open Communication Systems (FOKUS) +// Competence Center NETwork research (NET), St. Augustin, GERMANY // Stefan Bund // // This program is free software; you can redistribute it and/or modify @@ -40,6 +40,13 @@ prefix_ void senf::Scheduler::add(Handle const & handle, FdCallback const & cb, } template +prefix_ void senf::Scheduler::add(std::string const & name, Handle const & handle, + FdCallback const & cb, int eventMask) +{ + do_add(name, retrieve_filehandle(handle),cb,eventMask); +} + +template prefix_ void senf::Scheduler::remove(Handle const & handle, int eventMask) { // retrieve_filehandle is found via ADL