X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=avahi-common%2Fthread-watch.h;h=dec0cf356f7f60d9f50c960a5ff3f3f2c531a056;hb=9c0f9c65093cfa53d45f9b68782321eb8063a032;hp=1d674addafd2c56aa8c49526517037b5cec858ae;hpb=b73aab83cbdaaac40c4bb80b82049dc4452b5f1c;p=catta diff --git a/avahi-common/thread-watch.h b/avahi-common/thread-watch.h index 1d674ad..dec0cf3 100644 --- a/avahi-common/thread-watch.h +++ b/avahi-common/thread-watch.h @@ -1,21 +1,19 @@ #ifndef foothreadedwatchhfoo #define foothreadedwatchhfoo -/* $Id$ */ - /*** This file is part of avahi. - + avahi is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. - + avahi is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. - + You should have received a copy of the GNU Lesser General Public License along with avahi; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 @@ -30,14 +28,14 @@ AVAHI_C_DECL_BEGIN -/** \struct AvahiThreadedPoll A main loop object that runs an AvahiSimplePoll in its own thread. \since 0.6.4 */ +/** A main loop object that runs an AvahiSimplePoll in its own thread. \since 0.6.4 */ typedef struct AvahiThreadedPoll AvahiThreadedPoll; /** Create a new event loop object. This will allocate the internal * AvahiSimplePoll, but will not start the helper thread. \since 0.6.4 */ AvahiThreadedPoll *avahi_threaded_poll_new(void); -/** Free an event loop object. Ths will stop the associated evet loop +/** Free an event loop object. This will stop the associated event loop * thread (if it is running). \since 0.6.4 */ void avahi_threaded_poll_free(AvahiThreadedPoll *p); @@ -46,7 +44,7 @@ void avahi_threaded_poll_free(AvahiThreadedPoll *p); * called. \since 0.6.4 */ const AvahiPoll* avahi_threaded_poll_get(AvahiThreadedPoll *p); -/** Start the event loop helper thread. After the thread has startet +/** Start the event loop helper thread. After the thread has started * you must make sure to access the event loop object * (AvahiThreadedPoll, AvahiPoll and all its associated objects) * synchronized, i.e. with proper locking. You may want to use