linux.c File Reference

#include "config.h"
#include "pnotify.h"
#include "pnotify-internal.h"
#include <sys/epoll.h>
#include <sys/inotify.h>

Go to the source code of this file.

Functions

int _get_inotify_event (struct pnotify_event *evt, struct pnotify_ctx *ctx)
void linux_dump_inotify_event (struct inotify_event *iev)
void * linux_inotify_loop (void *unused)
void * linux_epoll_loop (void *unused)
void linux_init_once (void)
void linux_cleanup (void)
int linux_add_watch (struct pn_watch *watch)
int linux_rm_watch (struct pn_watch *watch)
int linux_trap_signal (struct pnotify_ctx *ctx, int signum)

Variables

pnotify_vtable LINUX_VTABLE


Detailed Description

Linux-specific functions.

Definition in file linux.c.


Variable Documentation

struct pnotify_vtable LINUX_VTABLE

Initial value:

 {
        .init_once = linux_init_once,
        .add_watch = linux_add_watch,
        .rm_watch = linux_rm_watch,
        .cleanup = linux_cleanup,
}

Definition at line 331 of file linux.c.


Generated on Wed Aug 22 23:15:42 2007 for pnotify by  doxygen 1.5.1