|
| AvahiWatch (int aFd, AvahiWatchEvent aEvents, AvahiWatchCallback aCallback, void *aContext, void *aPoller) |
|
|
int | mFd |
| The file descriptor to watch.
|
|
AvahiWatchEvent | mEvents |
| The interested events.
|
|
int | mHappened |
| The events happened.
|
|
AvahiWatchCallback | mCallback |
| The function to be called when interested events happened on mFd.
|
|
void * | mContext |
| A pointer to application-specific context.
|
|
void * | mPoller |
| The poller created this watch.
|
|
◆ AvahiWatch()
AvahiWatch::AvahiWatch |
( |
int |
aFd, |
|
|
AvahiWatchEvent |
aEvents, |
|
|
AvahiWatchCallback |
aCallback, |
|
|
void * |
aContext, |
|
|
void * |
aPoller |
|
) |
| |
|
inline |
The constructor to initialize an Avahi watch.
- Parameters
-
[in] | aFd | The file descriptor to watch. |
[in] | aEvents | The events to watch. |
[in] | aCallback | The function to be called when events happend on this file descriptor. |
[in] | aContext | A pointer to application-specific context. |
[in] | aPoller | The AvahiPoller this watcher belongs to. |
The documentation for this struct was generated from the following file: